Hi all,
I’m trying to use the TON api to upload an audience list, but I’m getting a 400 Bad Request error when trying to make the initialization request for the multipart upload. No other information is included with the error.
Sample twurl request:
twurl -t -H ton.twitter.com /1.1/bucket/ta_partner?resumable=true -X POST -A “Content-Type: text/csv” -A “Content-Length: 0” -A “x-ton-expires: Fri, 25 May 2018 18:59:16 UTC” -A “x-ton-content-type: text/csv” -A “x-ton-content-length: 6”
In the http module of the official twitter_ads python SDK there is a class called TONUpload, which is essentially making the same request and has the same problem. I’ve also referenced the example ruby gem referenced in the TON docs, same issue.