TOKEN_INVALID_HEADER Error
izaidsanchez opened this issue · 3 comments
Hi!
I trying to connect to adrword api trough your library, i have my CLIENT_ID, CLIENT_SECRET of an Oauth 2 Credentials generated from Google API Console, and my DEVELOPER_TOKEN from Adwords API Developer Center and written all these data in a .env file in root, but when i execute the "example.js" script, shows the following:
Error, status code 400
And the body of the response have the following:
<?xml version="1.0" encoding="UTF-8" standalone="yes"?> <reportDownloadError> <ApiError> <type>QuotaCheckError.INVALID_TOKEN_HEADER</type> <trigger></trigger> <fieldPath></fieldPath> </ApiError> </reportDownloadError>
I've verified the developer token is the same that adwords developer api center gives me, and the version used is 'v201702'
Maybe it's something that i've made wrong, hope your help. Thanks.
Have you made sure it is none of the things mentioned under this error message in the API core documentation?
Also, could you paste the structure of your .env
file here with all sensitive information xxx-ed out please?
Closing due to no activity.