How to fix InternalApiError.UNEXPECTED_INTERNAL_API_ERROR in CustomerSyncService

32 views
Skip to first unread message

DungCoi

unread,
Jul 3, 2011, 9:49:06 PM7/3/11
to adwor...@googlegroups.com
i got a error when try get all changed of campaign from campaignId. i searched but don't get a good answer for this problem. Please help about it.
Thank 

[Jul 04 2011 09:42:42.000000 - INFO] POST /api/adwords/ch/v201101/CustomerSyncService HTTP/1.1
Connection: Keep-Alive
User-Agent: PHP-SOAP/5.2.6, gzip
Accept-Encoding: gzip, deflate
Content-Encoding: gzip
Content-Type: text/xml; charset=utf-8
SOAPAction: ""
Content-Length: 699

<?xml version="1.0" encoding="UTF-8"?>
  <SOAP-ENV:Header>
    <ns2:RequestHeader xmlns:ns1="https://adwords.google.com/api/adwords/cm/v201101" xsi:type="ns1:RequestHeader">
      <ns1:authToken>**********</ns1:authToken>
      <ns1:clientCustomerId>********</ns1:clientCustomerId>
      <ns1:developerToken>**************</ns1:developerToken>
      <ns1:userAgent>**********************</ns1:userAgent>
    </ns2:RequestHeader>
  </SOAP-ENV:Header>
  <SOAP-ENV:Body>
    <ns2:get>
      <ns2:selector xmlns:ns2="https://adwords.google.com/api/adwords/ch/v201101" xsi:type="ns2:CustomerSyncSelector">
        <ns2:dateTimeRange xmlns:ns1="https://adwords.google.com/api/adwords/cm/v201101" xsi:type="ns1:DateTimeRange">
          <ns1:min>20100609 150223 UTC</ns1:min>
          <ns1:max>20110704 090741 184</ns1:max>
        </ns2:dateTimeRange>
        <ns2:campaignIds>85498780</ns2:campaignIds>
      </ns2:selector>
    </ns2:get>
  </SOAP-ENV:Body>
</SOAP-ENV:Envelope>


HTTP/1.1 500 Internal Server Error
Content-Type: text/xml; charset=UTF-8
Content-Encoding: gzip
Date: Mon, 04 Jul 2011 01:43:07 GMT
Expires: Mon, 04 Jul 2011 01:43:07 GMT
Cache-Control: private, max-age=0
X-Content-Type-Options: nosniff
X-Frame-Options: SAMEORIGIN
X-XSS-Protection: 1; mode=block
Content-Length: 418
Server: GSE

<?xml version="1.0"?>
<soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
  <soap:Body>
    <soap:Fault>
      <faultcode>soap:Server</faultcode>
      <faultstring>InternalApiError.UNEXPECTED_INTERNAL_API_ERROR @ [Ljava.lang.StackTraceElement;@109068f</faultstring>
      <detail>
          <message>InternalApiError.UNEXPECTED_INTERNAL_API_ERROR @ [Ljava.lang.StackTraceElement;@109068f</message>
          <ApplicationException.Type>ApiException</ApplicationException.Type>
          <errors xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="InternalApiError">
            <fieldPath/>
            <trigger/>
            <errorString>InternalApiError.UNEXPECTED_INTERNAL_API_ERROR</errorString>
            <ApiError.Type>InternalApiError</ApiError.Type>
            <reason>UNEXPECTED_INTERNAL_API_ERROR</reason>
          </errors>
        </ns2:ApiExceptionFault>
      </detail>
    </soap:Fault>
  </soap:Body>
</soap:Envelope>

Anash P. Oommen

unread,
Jul 5, 2011, 3:04:08 AM7/5/11
to adwor...@googlegroups.com
Hi,

My best guess would be a badly formatted max date. Your xml says, 20110704 090741 184, 184 doesn't look like a valid timezone code to me.

Cheers,
Anash P. Oommen,
AdWords API Advisor.

Reply all
Reply to author
Forward
0 new messages