UNAUTHORIZED_ACCESS - Ads API


#1

I have got approval mail of my Ads Account and already had an app created for Rest client with access token generated. Now I am trying to https://ads-api.twitter.com/2/accounts get this api using the access token but I am getting the below error message.
“code”: “UNAUTHORIZED_ACCESS”,
“message”: “This request is not properly authenticated”

I guess I’m missing something, can anybody help?


Guidance for UNAUTHORIZED_ACCESS issues
#2

Hi,

Typically, this 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!