API data transfer error. HELP!

I am trying to do a transfer of data from a CSV file to an existing smartsheet. Because I need to import 167K rows, I want to do it programmatically. The script seems to work for a bit, but then I get an error that I can't seem to resolve.

Here's the error I am getting:

{"response": {"statusCode": 400, "reason": "Bad Request", "content": {"errorCode": 1008, "message": "Unable to parse request.", "refId": "5fc28681-d5a0-4f02-82dc-0f04ed858217"}}}

I can't seem to find anything wrong with the data. The mapping of the columns and the data types are good.

Any thoughts or suggestions? I am stumped.

Answers