Can you please post the offending (first couple of) lines from the CSV file?

I suspect that we’re looking at a problem where a HEX string is not being parsed correctly as an integer. Or it could be that, owing to some file format nonsense prepended to the data itself, your first line includes some spurious formatting information.