I'm using the C# API, application is in development hitting a test ad account.I'm receiving an INVALID_TOKEN_HEADER error on some requests, but the same request works about 30% of the time. I'm only seeing this with the UserListService, other requests with the same credentials are working consistently. Request log is below if anyone can help. Thanks.
Request ------- POST /api/adwords/rm/v201802/AdwordsUserListService Authorization: REDACTED Accept-Encoding: gzip, deflate TimeStamp: Tue, 10 Apr 2018 01:19:54 GMT <?xml version="1.0" encoding="utf-16"?> <s:Envelope xmlns:s="http://schemas.xmlsoap.org/soap/envelope/"> <s:Header> <RequestHeader xmlns="https://adwords.google.com/api/adwords/rm/v201802"> <clientCustomerId>8764919315</clientCustomerId> <developerToken>REDACTED</developerToken> <userAgent>unknown (AwApi-DotNet/23.2.0, Common-Dotnet/9.0.0, .NET CLR/4.0.30319.42000, Logging, OAuthApplicationFlow, SelectorBuilder, SelectorField, gzip)</userAgent> </RequestHeader> </s:Header> <s:Body xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema"> <get xmlns="https://adwords.google.com/api/adwords/rm/v201802"> <serviceSelector> <fields xmlns="https://adwords.google.com/api/adwords/cm/v201802">Id</fields> <fields xmlns="https://adwords.google.com/api/adwords/cm/v201802">Name</fields> <fields xmlns="https://adwords.google.com/api/adwords/cm/v201802">Description</fields> <fields xmlns="https://adwords.google.com/api/adwords/cm/v201802">Status</fields> <fields xmlns="https://adwords.google.com/api/adwords/cm/v201802">IntegrationCode</fields> <fields xmlns="https://adwords.google.com/api/adwords/cm/v201802">MembershipLifeSpan</fields> <fields xmlns="https://adwords.google.com/api/adwords/cm/v201802">Size</fields> <fields xmlns="https://adwords.google.com/api/adwords/cm/v201802">ListType</fields> <fields xmlns="https://adwords.google.com/api/adwords/cm/v201802">IsEligibleForDisplay</fields> <fields xmlns="https://adwords.google.com/api/adwords/cm/v201802">IsEligibleForSearch</fields> <paging xmlns="https://adwords.google.com/api/adwords/cm/v201802"> <startIndex>0</startIndex> <numberResults>500</numberResults> </paging> </serviceSelector> </get> </s:Body> </s:Envelope> Response -------- Content-Encoding: X-Content-Type-Options: nosniff X-Frame-Options: SAMEORIGIN X-XSS-Protection: 1; mode=block Alt-Svc: hq=":443"; ma=2592000; quic=51303432; quic=51303431; quic=51303339; quic=51303335,quic=":443"; ma=2592000; v="42,41,39,35" Transfer-Encoding: chunked Cache-Control: private, max-age=0 Content-Type: text/xml; charset=UTF-8 Date: Tue, 10 Apr 2018 05:19:54 GMT Expires: Tue, 10 Apr 2018 05:19:54 GMT Server: GSE TimeStamp: Tue, 10 Apr 2018 01:19:54 GMT <?xml version="1.0" encoding="utf-16"?> <soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/"> <soap:Header> <ns2:ResponseHeader xmlns:ns2="https://adwords.google.com/api/adwords/rm/v201802" xmlns="https://adwords.google.com/api/adwords/cm/v201802"> <requestId>00056977ac3698080a813e1bdf097343</requestId> <serviceName>AdwordsUserListService</serviceName> <methodName>get</methodName> <operations>1</operations> <responseTime>43</responseTime> </ns2:ResponseHeader> </soap:Header> <soap:Body> <soap:Fault> <faultcode>soap:Client</faultcode> <faultstring>[QuotaCheckError.INVALID_TOKEN_HEADER @ ]</faultstring> <detail> <ns2:ApiExceptionFault xmlns="https://adwords.google.com/api/adwords/cm/v201802" xmlns:ns2="https://adwords.google.com/api/adwords/rm/v201802"> <message>[QuotaCheckError.INVALID_TOKEN_HEADER @ ]</message> <ApplicationException.Type>ApiException</ApplicationException.Type> <errors xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="QuotaCheckError"> <fieldPath></fieldPath> <trigger></trigger> <errorString>QuotaCheckError.INVALID_TOKEN_HEADER</errorString> <ApiError.Type>QuotaCheckError</ApiError.Type> <reason>INVALID_TOKEN_HEADER</reason> </errors> </ns2:ApiExceptionFault> </detail> </soap:Fault> </soap:Body> </soap:Envelope> -- -- =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ Also find us on our blog and Google+: https://googleadsdeveloper.blogspot.com/ https://plus.google.com/+GoogleAdsDevelopers/posts =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ You received this message because you are subscribed to the Google Groups "AdWords API Forum" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/adwords-api?hl=en --- You received this message because you are subscribed to the Google Groups "AdWords API Forum" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. Visit this group at https://groups.google.com/group/adwords-api. To view this discussion on the web visit https://groups.google.com/d/msgid/adwords-api/384be280-954b-477a-8ec2-341f3645bc82%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
