An error has occurred: [QuotaCheckError.INVALID_TOKEN_HEADER @ ; trigger:'440-277-8356']

52 views
Skip to first unread message

d...@pocketsun.net

unread,
Nov 18, 2016, 9:07:18 AM11/18/16
to AdWords API Forum
Hello!
I try to play with test account with library for php.
But always got this error in the Subject.

I tried Test Manager Account ID ( 338-638-2011) also.

developerToken = "440-277-8356"

clientCustomerId = "440-277-8356"

HTTP/1.1 500 Internal Server Error
Content-Type: text/xml; charset=UTF-8
Content-Encoding: gzip
Date: Thu, 17 Nov 2016 20:46:45 GMT
Expires: Thu, 17 Nov 2016 20:46:45 GMT
Cache-Control: private, max-age=0
X-Content-Type-Options: nosniff
X-Frame-Options: SAMEORIGIN
X-XSS-Protection: 1; mode=block
Server: GSE
Alt-Svc: clear
Transfer-Encoding: chunked

<?xml version="1.0"?>
<soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
<soap:Header>
<ResponseHeader xmlns="https://adwords.google.com/api/adwords/cm/v201609">
<requestId>0005418549aab7b10a3766957f09ecfb</requestId>
<serviceName>CampaignService</serviceName>
<methodName>get</methodName>
<operations>1</operations>
<responseTime>30</responseTime>
</ResponseHeader>
</soap:Header>
<soap:Body>
<soap:Fault>
<faultcode>soap:Server</faultcode>
<faultstring>[QuotaCheckError.INVALID_TOKEN_HEADER @ ; trigger:'440-277-8356']</faultstring>
<detail>
<ApiExceptionFault xmlns="https://adwords.google.com/api/adwords/cm/v201609">
<message>[QuotaCheckError.INVALID_TOKEN_HEADER @ ; trigger:'440-277-8356']</message>
<ApplicationException.Type>ApiException</ApplicationException.Type>
<errors xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="QuotaCheckError">
<fieldPath/>
<trigger>440-277-8356</trigger>
<errorString>QuotaCheckError.INVALID_TOKEN_HEADER</errorString>
<ApiError.Type>QuotaCheckError</ApiError.Type>
<reason>INVALID_TOKEN_HEADER</reason>
</errors>
</ApiExceptionFault>
</detail>
</soap:Fault>
</soap:Body>
</soap:Envelope>

Anthony Madrigal

unread,
Nov 18, 2016, 9:21:21 AM11/18/16
to AdWords API Forum
Hello,

440-277-8356 is not a developer token. In order to find your developer token, you must log into your production manager account then go to Account settings -> AdWords API Center. The developer token will be displayed there.

Regards,
Anthony
AdWords API Team

d...@pocketsun.net

unread,
Nov 18, 2016, 9:56:40 AM11/18/16
to AdWords API Forum
Hello!
Thank You for fast answer.
But I don't have AdWords API Center 

Here is the screenshot from my test manager account:
http://prntscr.com/d8vvjc

And production manager account:

Anthony Madrigal

unread,
Nov 18, 2016, 10:50:06 AM11/18/16
to AdWords API Forum
Hello,

The "production manager account" you provided is a client account, not manager account. The production manager account is the account that you applied for API access with. If you do not have a production manager account, you can create one by following this guide.
Reply all
Reply to author
Forward
0 new messages