We have a process that creates a shipping file and then uploads it via a POST to the file exchange service - it suddenly has stopped working despite nothing changing with a message of : The message received was unexpected or badly formatted I was wondering though if it's Token related? Do they still only last a year - I cannot for the life of me find the option to request another one to see if that is the case? A sample of our POST : --THIS_STRING_SEPARATES Content-Disposition: form-data; name="token" TOKEN_GOES_HERE**************** --THIS_STRING_SEPARATES Content-Disposition: form-data; name="file"; filename="listings.csv" Content-Type: text/csv *Action(SiteID=UK|Country=GB|Currency=GBP|Version=403|CC=ISO-8859-1),ItemID,TransactionID,ShippingStatus,ShippingCarrierUsed,ShipmentTrackingNumber Status,"162192919216","1451136056006",1,"Parcelforce Worldwide","AG3435695" Status,"131930184979","1264945392003",1,"Parcelforce Worldwide","AG3435718" Status,"162178783362","1451151772006",1,"Royal Mail","Not Available" Status,"142017599573","1310005316004",1,"Royal Mail","Not Available" --THIS_STRING_SEPARATES Please help! Where on earth do I go now to get a token for File Exchange to see if it is that? If not any other ideas because until a few days ago this was working for years!
OK I think it's to do with TLS so I am now running it on a Win 10 PC and getting a little further - it's not token related as the same token works for API and the order download is working with that - the response I get now is : An unknown problem interrupted the file transfer. Please try again This process hadn't changed for about 2 years so what is suddenly wrong with it?!
Edit to add that the file itself can be uploaded successfully through the File Exchange interface. Everything seemed to break on the 15th I guess because of TLS? I fixed the order import running it on Win 10 machine, but this I cannot fix - as I say running it on Win 10 gets a Status 200, but also the error : An unknown problem interrupted the file transfer. Please try again I am using VBA to upload via WinHttpRequest - I have tried telling it to use TLS1.2 for the connection also.