Post api call to import into smartsheets. 502 error

Hi -

 I have an Excel sheet of data that I' m using to convert into json and then import into smartsheet. It is authenticated and runs fine till it has to actually import the data. It errors out at uploading the data with 502 connection was reset by a peer.

I truly appreciate any/all help.