You will get an error if Flash Fill cannot find the pattern. The first thing to check is that you're using Flash Fill close to the source data (e.g., in the adjacent cell). For instance, it won't work ...
A Massive New Study of 20,000 Adults Says This Is What Happens When You Start Going to Bed Early Dread, tears as Tyson plans ...