Hi,
Please post the script and OVF file, as it makes it easier to diagnose. That error likely means you have a typo somewhere in the header file, that doesn't match the OVF formatting.
In general, the quickest way to find this error would be to generate an OVF file (using a script with the same mesh details), and compare the headers. If you happen to be on Windows in particular and nothing seems to be mismatched, be very careful about hidden characters (usually newline) which can cause issues.
Best,
Josh L.