"code": "UNAUTHORIZED_ACCESS",


#1

i got UNAUTHORIZED_ACCESS
after try to connect to stats and try to get data for the LINE_ITEM
https://ads-api.twitter.com/1/stats/accounts/
and i got this error
the authentication with no stats work will!!
{
“errors”: [
{
“code”: “UNAUTHORIZED_ACCESS”,
“message”: “This request is not properly authenticated”
}
],
“request”: {
“params”: {}
}
}


#2

Hi @elirezek! This usually happens when some of the request parameters merge with the request HTTP headers, invalidating the OAuth headers. This is the reason for the UNAUTHORIZED_ACCESS error.

If you can post here your raw HTTP request maybe we can point out what the problem is.