Unauthorized_access


#1

Hi, i have testing access to Ads APi, and in this call https://ads-api.twitter.com/2/accounts i get:
{
“errors”: [
{
“code”: “UNAUTHORIZED_ACCESS”,
“message”: “This request is not properly authenticated”
}
],
“request”: {
“params”: {}
}
}

This is my application id: 567418

Thank you.


Guidance for UNAUTHORIZED_ACCESS issues
#2

Hi,

Thanks for including your app ID. I’ve confirmed that your app ID has been granted access to the Ads API.

Typically, the UNAUTHORIZED_ACCESS response points to missing or incorrect authentication credentials. We strongly recommend reading the Guidance for UNAUTHORIZED_ACCESS issues page as well as using twurl to help debug authentication issues.

Once you are able to successfully make the request using twurl, you can be fairly certain that there was an issue with your authentication credentials and not with access to the Ads API. If you need further assistance, please visit the OAuth category.

Thanks!