We keep on getting UNEXPECTED_INTERNAL_API_ERROR when calling 
getCustomers() when using a specific client's token. All other API calls 
using this token are coming through fine and the getCustomers() call is 
coming through fine using all of our other clients' tokens.

This error keeps on occurring over the past 24 hours. We also asked the 
client to re-authorize access, which generated a new token, but the error 
persists.

There are plenty of requests, but one example is request 
ID 0005d8b20c07869f091d40971e015762.

The request body is as follows:

[Feb 23 2022 16:35:01.000000 - ERROR] POST 
/api/adwords/mcm/v201809/CustomerService HTTP/1.1
Host: adwords.google.com
Connection: Keep-Alive
User-Agent: PHP-SOAP/7.2.34, gzip
Accept-Encoding: gzip, deflate
Content-Encoding: gzip
Content-Type: text/xml; charset=utf-8
SOAPAction: ""
Content-Length: 312
Authorization: Bearer [refreshtoken]

<?xml version="1.0" encoding="UTF-8"?>
<SOAP-ENV:Envelope 
xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/"; 
xmlns:ns1="https://adwords.google.com/api/adwords/mcm/v201809"; 
xmlns:ns2="https://adwords.google.com/api/adwords/cm/v201809";>
  <SOAP-ENV:Header>
    <ns1:RequestHeader>
      <ns2:developerToken>[devtoken]</ns2:developerToken>
      <ns2:userAgent>Outleads (AwApi-PHP/8.3.0, Common-PHP/8.3.0, 
PHP/7.2.34)</ns2:userAgent>
    </ns1:RequestHeader>
  </SOAP-ENV:Header>
  <SOAP-ENV:Body>
    <ns1:getCustomers/>
  </SOAP-ENV:Body>
</SOAP-ENV:Envelope>

The response is as follows:

HTTP/1.1 500 Internal Server Error
Content-Type: text/xml; charset=UTF-8
Content-Encoding: gzip
Date: Wed, 23 Feb 2022 16:35:01 GMT
Expires: Wed, 23 Feb 2022 16:35:01 GMT
Cache-Control: private, max-age=0
X-Content-Type-Options: nosniff
X-Frame-Options: SAMEORIGIN
Content-Security-Policy: frame-ancestors 'self'
X-XSS-Protection: 1; mode=block
Server: GSE
Alt-Svc: h3=":443"; ma=2592000,h3-29=":443"; ma=2592000,h3-Q050=":443"; 
ma=2592000,h3-Q046=":443"; ma=2592000,h3-Q043=":443"; 
ma=2592000,quic=":443"; ma=2592000; v="46,43"
Transfer-Encoding: chunked

<?xml version="1.0"?>
<soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/";>
  <soap:Header>
    <ResponseHeader 
xmlns:ns2="https://adwords.google.com/api/adwords/cm/v201809"; 
xmlns="https://adwords.google.com/api/adwords/mcm/v201809";>
      <ns2:requestId>0005d8b20c07869f091d40971e015762</ns2:requestId>
      <ns2:serviceName>CustomerService</ns2:serviceName>
      <ns2:methodName>getCustomers</ns2:methodName>
      <ns2:operations>1</ns2:operations>
      <ns2:responseTime>342</ns2:responseTime>
    </ResponseHeader>
  </soap:Header>
  <soap:Body>
    <soap:Fault>
      <faultcode>soap:Server</faultcode>
      <faultstring>[InternalApiError.UNEXPECTED_INTERNAL_API_ERROR @ 
com.google.ads.api.services.common.error.InternalApiError.&lt;init&gt;(InternalApiErro]</faultstring>
      <detail>
        <ApiExceptionFault 
xmlns="https://adwords.google.com/api/adwords/mcm/v201809"; 
xmlns:ns2="https://adwords.google.com/api/adwords/cm/v201809";>
          <ns2:message>[InternalApiError.UNEXPECTED_INTERNAL_API_ERROR @ 
com.google.ads.api.services.common.error.InternalApiError.&lt;init&gt;(InternalApiErro]</ns2:message>
          
<ns2:ApplicationException.Type>ApiException</ns2:ApplicationException.Type>
          <ns2:errors xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"; 
xsi:type="ns2:InternalApiError">
            <ns2:fieldPath/>
            <ns2:trigger/>
            
<ns2:errorString>InternalApiError.UNEXPECTED_INTERNAL_API_ERROR</ns2:errorString>
            <ns2:ApiError.Type>InternalApiError</ns2:ApiError.Type>
            <ns2:reason>UNEXPECTED_INTERNAL_API_ERROR</ns2:reason>
          </ns2:errors>
        </ApiExceptionFault>
      </detail>
    </soap:Fault>
  </soap:Body>
</soap:Envelope>

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog:
https://googleadsdeveloper.blogspot.com/
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

You received this message because you are subscribed to the Google
Groups "AdWords API and Google Ads API Forum" group.
To post to this group, send email to adwords-api@googlegroups.com
To unsubscribe from this group, send email to
adwords-api+unsubscr...@googlegroups.com
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 
"Google Ads API and AdWords API Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to adwords-api+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/edf2f3ed-d81d-43db-a253-f84eb72252bcn%40googlegroups.com.
  • UN... outleads
    • ... Outleads Team
      • ... 'Google Ads API Forum Advisor' via Google Ads API and AdWords API Forum
        • ... 'Hugo Luna' via Google Ads API and AdWords API Forum
          • ... paco...@webrepublic.ch
            • ... 'Google Ads API Forum Advisor' via Google Ads API and AdWords API Forum
              • ... 'Google Ads API Forum Advisor' via Google Ads API and AdWords API Forum
                • ... 'Google Ads API Forum Advisor' via Google Ads API and AdWords API Forum
                • ... Ergin Demirel
                • ... Ngon Nguyen
                • ... Ergin Demirel

Reply via email to