Error UNKNOWN at CustomerService->get()

97 views
Skip to first unread message

fischi

unread,
Apr 14, 2016, 5:57:04 AM4/14/16
to AdWords API Forum
Hi there,

I receive a strange error (code UNKNOWN) when trying to do a simple get-request to read the CustomerService of an Authenticated User.
The logs show the following error (also the request ID):

[Apr 14 2016 09:47:41.000000 - ERROR] effectiveUser= service=CustomerService method=get operators={} responseTime=167 requestId=0005306ec9144d400ac22a2451037540 operations=0 units= server=adwords.google.com isFault=true faultMessage=[RequestError.UNKNOWN @ ]

The SOAP Request and Response are pasted below.

Is there anything I can do to find out what is wrong with this particular request?

Thanks in advance!
Thomas

[Apr 14 2016 09:47:41.000000 - ERROR] POST /api/adwords/mcm/v201509/CustomerService HTTP/1.1
Connection: Keep-Alive
User-Agent: PHP-SOAP/5.5.33-nmm1, gzip
Accept-Encoding: gzip, deflate
Content-Encoding: gzip
Content-Type: text/xml; charset=utf-8
SOAPAction: ""
Content-Length: 322
Authorization: Bearer ya29..xAIW0MSbaJHj8mzQA-U6JNnJRWfq_iy4v8vHIMXSSq25NoOuurQ21Sra9e5Ci8ltB0g

<?xml version="1.0" encoding="UTF-8"?>
  <SOAP-ENV:Header>
    <ns1:RequestHeader>
      <ns2:developerToken>XXXXX</ns2:developerToken>
      <ns2:userAgent>my.omp-tools.at:OMPTools:V0.1 (AwApi-PHP/7.0.0, Common-PHP/7.0.0, PHP/5.5.33-nmm1)</ns2:userAgent>
    </ns1:RequestHeader>
  </SOAP-ENV:Header>
  <SOAP-ENV:Body>
    <ns1: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: Thu, 14 Apr 2016 09:47:41 GMT
Expires: Thu, 14 Apr 2016 09:47:41 GMT
Cache-Control: private, max-age=0
X-Content-Type-Options: nosniff
X-Frame-Options: SAMEORIGIN
X-XSS-Protection: 1; mode=block
Server: GSE
Transfer-Encoding: chunked

<?xml version="1.0"?>
<soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
  <soap:Header>
      <ns2:requestId>0005306ec9144d400ac22a2451037540</ns2:requestId>
      <ns2:serviceName>CustomerService</ns2:serviceName>
      <ns2:methodName>get</ns2:methodName>
      <ns2:operations>0</ns2:operations>
      <ns2:responseTime>167</ns2:responseTime>
    </ResponseHeader>
  </soap:Header>
  <soap:Body>
    <soap:Fault>
      <faultcode>soap:Server</faultcode>
      <faultstring>[RequestError.UNKNOWN @ ]</faultstring>
      <detail>
          <ns2:message>[RequestError.UNKNOWN @ ]</ns2:message>
          <ns2:ApplicationException.Type>ApiException</ns2:ApplicationException.Type>
          <ns2:errors xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="ns2:RequestError">
            <ns2:fieldPath/>
            <ns2:trigger/>
            <ns2:errorString>RequestError.UNKNOWN</ns2:errorString>
            <ns2:ApiError.Type>RequestError</ns2:ApiError.Type>
            <ns2:reason>UNKNOWN</ns2:reason>
          </ns2:errors>
        </ApiExceptionFault>
      </detail>
    </soap:Fault>
  </soap:Body>
</soap:Envelope>

Umesh Dengale

unread,
Apr 14, 2016, 10:17:41 AM4/14/16
to AdWords API Forum
Hello,

Thanks for providing SOAP XML request and response logs. Most of the time above type of error is transient. Could you please retry above API call? Let us know the requestId if error occurs.

Regards,
Umesh, AdWords API Team.

fischi

unread,
Apr 15, 2016, 10:14:51 AM4/15/16
to AdWords API Forum
HI Umesh,

thank you for taking a look at that.
Unfortunately, the error still persists, (got the same error last week also, but do not have the RequestID anymore)
I will attach the Logs and SOAPs below. The RequestId is 00053086979d98800ac2ec48b6010010

Have a nice Weekend!

Cheers,

Thomas


[Apr 15 2016 14:11:51.000000 - ERROR] effectiveUser= service=CustomerService method=get operators={} responseTime=203 requestId=00053086979d98800ac2ec48b6010010 operations=0 units= server=adwords.google.com isFault=true faultMessage=[RequestError.UNKNOWN @ ]



[Apr 15 2016 14:11:51.000000 - ERROR] POST /api/adwords/mcm/v201509/CustomerService HTTP/1.1
Connection: Keep-Alive
User-Agent: PHP-SOAP/5.5.33-nmm1, gzip
Accept-Encoding: gzip, deflate
Content-Encoding: gzip
Content-Type: text/xml; charset=utf-8
SOAPAction: ""
Content-Length: 322
Authorization: Bearer ya29..xQKMDwXdvobRPmG12Xaq9Al0LOoJtyeiLkRZuLkhDnMZahwwUgVecWBFkQKB_hBjx74

<?xml version="1.0" encoding="UTF-8"?>
  <SOAP-ENV:Header>
    <ns1:RequestHeader>
      <ns2:developerToken>XXXXX</ns2:developerToken>
      <ns2:userAgent>my.omp-tools.at:OMPTools:V0.1 (AwApi-PHP/7.0.0, Common-PHP/7.0.0, PHP/5.5.33-nmm1)</ns2:userAgent>
    </ns1:RequestHeader>
  </SOAP-ENV:Header>
  <SOAP-ENV:Body>
    <ns1: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: Fri, 15 Apr 2016 14:11:51 GMT
Expires: Fri, 15 Apr 2016 14:11:51 GMT
Cache-Control: private, max-age=0
X-Content-Type-Options: nosniff
X-Frame-Options: SAMEORIGIN
X-XSS-Protection: 1; mode=block
Server: GSE
Transfer-Encoding: chunked

<?xml version="1.0"?>
<soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
  <soap:Header>
      <ns2:requestId></ns2:requestId>
      <ns2:serviceName>CustomerService</ns00053086979d98800ac2ec48b60100102:serviceName>
      <ns2:methodName>get</ns2:methodName>
      <ns2:operations>0</ns2:operations>
      <ns2:responseTime>203</ns2:responseTime>
    </ResponseHeader>
  </soap:Header>
  <soap:Body>
    <soap:Fault>
      <faultcode>soap:Server</faultcode>
      <faultstring>[RequestError.UNKNOWN @ ]</faultstring>
      <detail>
          <ns2:message>[RequestError.UNKNOWN @ ]</ns2:message>
          <ns2:ApplicationException.Type>ApiException</ns2:ApplicationException.Type>
          <ns2:errors xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="ns2:RequestError">
            <ns2:fieldPath/>
            <ns2:trigger/>
            <ns2:errorString>RequestError.UNKNOWN</ns2:errorString>
            <ns2:ApiError.Type>RequestError</ns2:ApiError.Type>
            <ns2:reason>UNKNOWN</ns2:reason>
          </ns2:errors>
        </ApiExceptionFault>
      </detail>
    </soap:Fault>
  </soap:Body>
</soap:Envelope>


Michael Cloonan (AdWords API Team)

unread,
Apr 15, 2016, 10:53:32 AM4/15/16
to AdWords API Forum
Hello,

Thanks for the logs. Since this seems to be happening to you consistently, I've contacted our engineering team to see if they're able to take a look at what might be going wrong. I'll let you know when I hear something.

Regards,
Mike, AdWords API Team

fischi

unread,
Apr 26, 2016, 3:37:07 AM4/26/16
to AdWords API Forum
Hi Mike,

do not mean to bother, but is there any update on this case? I still get the same Error for this client (and this client alone)..

Thank you in Advance!

Cheers,
Thomas

Michael Cloonan (AdWords API Team)

unread,
Apr 26, 2016, 8:59:53 AM4/26/16
to AdWords API Forum
Hello,

It's no bother. Unfortunately there is no update yet, but have escalated the issue internally so hopefully we will have some news soon.

Regards,
Mike, AdWords API Team

fischi

unread,
May 2, 2016, 4:40:05 AM5/2/16
to AdWords API Forum
Hello again,

I got some good news and we found the source of the error.
When we tried to do the request, the account was not finished in setting up. So the UNKNOWN_ERROR seems to be caused after the NOT_ADS_USER error, as this is not thrown.

Thank you very much for your cooperation, and apologies for not being able to provide further information about the AdWordsaccount of the customer - just ten minutes ago we found out about that after having a video conference where we saw the AdWords account..

Have a nice day!

Cheers,
Thomas

Michael Cloonan (AdWords API Team)

unread,
May 2, 2016, 9:06:47 AM5/2/16
to AdWords API Forum
Hello,

Glad to hear you found a solution! I'm still going to follow up with engineering because the UNKNOWN error could definitely be more descriptive, which would have saved everyone a lot of time.

Regards,
Mike, AdWords API Team
Reply all
Reply to author
Forward
0 new messages