It wasn’t intended to fix the error you’re having. You need to internalize the data before you upload your grasshopper file so people trying to help you can see the same thing you are seeing.
The error message explains what is wrong. You are feeding the Edges output (curves) of the Deconstruct Brep component into the Surface (S) input of the Flip component. Try using the Faces output (surfaces) of the Deconstruct Brep component instead.
If you’re still having problems, re-upload your grasshopper file with internalsed geometry.