esome
#1
Hi All,
We have a problem when we try to upload a CSV file to ton api. We are getting the 403 error. This is the upload of a signe chunk. This is our request header
POST /1.1/ton/bucket/ta_partner HTTP/1.1\r\nHost: ton.twitter.com\r\nAccept: */*\r\nContent-Type: text/csv\r\nX-TON-Expires: Mon, 18 Apr 2016 15:09:37 +0200\r\nAuthorization: OAuth oauth_consumer_key="XXX", oauth_nonce="1460466577", oauth_signature_method="HMAC-SHA1", oauth_token="XXX-XXXX", oauth_timestamp="1460466577", oauth_version="1.0", oauth_signature="XXXX"\r\nContent-Length: 77\r\n\r\n
We do not have this problem with the ADS Api or with the uplaod API only with TON
Hi @esome! Are you normalizing and hashing the data? Are you setting the data as the raw POST body?
esome
#3
Data is hashed we are sending only one user ID for testing
@esome Hello! Confirmed that your app has the necessary permissions. Can you double check to make sure that you’re using a token that has access to the target ads account?
Once you confirm that, I’m going to call upon the help of my brilliant former colleague @brandonmblack. Here are a few threads where he helps developers troubleshoot similar cases.
https://twittercommunity.com/t/how-to-upload-tailored-audience-list/
https://twittercommunity.com/t/problem-with-audience-manager-trying-to-create-an-audience-through-api
https://twittercommunity.com/t/facing-403-forbidden-error-in-ton-api
esome
#6
@jillblaz Hi Jill. Sorry for the laste responce we have checked all the things that you said and that are in the 3 post you linked and all is there.