it's probably grinding at the feeder wheel. decrease the feeder wheel pressure to minimum, also lubricate your filament with some oil to help it slide inside the bowden tube.
I believe the flow sensor just detects when the feeder wheel is still clamping onto the filament, so when it gets ground down, it sets off the flow error