Hi there,
I just fixed the problem myself!
If you look at the data file you are using, it may be that some of the lines are not actually data points, but just text (perhaps names of axes, for example). When I got rid of those lines, the fit worked!
Hope this helps!
Regards,
Matthew