During media(image) upload i am getting an error



I am able to create the campaign successfully through Twitter Ads Api, but during media(image) upload i am getting error :

“errors”:[{“code”:220,“message”:“Your credentials do not allow access to this resource.”}]}.

Can you please advise what we need to do here? This isn’t documented anywhere, so we are a little confused why this restriction is placed .



Have you taken a look at our Guidelines for Reporting Issues? Without details, it’s hard for us to identify the exact issue.

I suspect that you’re not using the appropriate access token here. Could you also double check to make sure that you are using OAuth 1.0A with a user access token, instead of app auth?