error code : UNEXPECTED_INTERNAL_API_ERROR

189 views
Skip to first unread message

vii step

unread,
Jan 24, 2018, 4:15:43 AM1/24/18
to AdWords API Forum
 I recevied the error code : UNEXPECTED_INTERNAL_API_ERROR , when I request API : CampaignServiceInterface.

SOAP data like :

[24 一月 2018 16:55:04,065-soapXmlLogger:INFO:main] SOAP request:
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
    <soapenv:Header>
        <ns1:RequestHeader xmlns:ns1="https://adwords.google.com/api/adwords/cm/v201710" soapenv:mustUnderstand="0">
            <ns1:clientCustomerId>916-654-2244</ns1:clientCustomerId>
            <ns1:developerToken>REDACTED</ns1:developerToken>
            <ns1:userAgent>unknown (AwApi-Java, AdWords-Axis/3.10.0, Common-Java/3.10.0, Axis/1.4, Java/1.7.0_71, maven, SelectorBuilder, SelectorField)</ns1:userAgent>
            <ns1:validateOnly>false</ns1:validateOnly>
            <ns1:partialFailure>false</ns1:partialFailure>
        </ns1:RequestHeader>
    </soapenv:Header>
    <soapenv:Body>
        <get xmlns="https://adwords.google.com/api/adwords/cm/v201710">
            <serviceSelector>
                <fields>Id</fields>
                <fields>Name</fields>
                <ordering>
                    <field>Name</field>
                    <sortOrder>ASCENDING</sortOrder>
                </ordering>
                <paging>
                    <startIndex>0</startIndex>
                    <numberResults>100</numberResults>
                </paging>
            </serviceSelector>
        </get>
    </soapenv:Body>
</soapenv:Envelope>

[24 一月 2018 16:55:04,066-soapXmlLogger:INFO:main] SOAP response:
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
    <soap:Header>
        <ResponseHeader xmlns="https://adwords.google.com/api/adwords/cm/v201710">
            <requestId>00056381d194eb500a62e40868091f9e</requestId>
            <serviceName>CampaignService</serviceName>
            <methodName>get</methodName>
            <operations>1</operations>
            <responseTime>499</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/cm/v201710">
                    <message>[InternalApiError.UNEXPECTED_INTERNAL_API_ERROR @ com.google.ads.api.services.common.error.InternalApiError.&lt;init&gt;(InternalApiErro]</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>
                </ApiExceptionFault>
            </detail>
        </soap:Fault>
    </soap:Body>
</soap:Envelope>

Exception in thread "main" AxisFault
 faultCode: {http://schemas.xmlsoap.org/soap/envelope/}Server
 faultSubcode: 
 faultString: [InternalApiError.UNEXPECTED_INTERNAL_API_ERROR @ com.google.ads.api.services.common.error.InternalApiError.&lt;init&gt;(InternalApiErro]
 faultActor: 
 faultNode: 
 faultDetail: 
{https://adwords.google.com/api/adwords/cm/v201710}ApiExceptionFault:<message>[InternalApiError.UNEXPECTED_INTERNAL_API_ERROR @ com.google.ads.api.services.common.error.InternalApiError.&lt;init&gt;(InternalApiErro]</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>
 

I don`t have any idea for that.

Milind Sankeshware (AdWords API Team)

unread,
Jan 24, 2018, 10:35:32 AM1/24/18
to AdWords API Forum
Hi,

The InternalApiError.UNEXPECTED_INTERNAL_API_ERROR that you are encountering could be due to an intermittent issue in the AdWords API servers. Could you please wait for some time and retry your request to see if the issue persists?

Thanks,
Milind, AdWords API Team.

vii step

unread,
Jan 24, 2018, 11:45:52 PM1/24/18
to AdWords API Forum
Hi  Milind Sankeshware (AdWords API Team)
   I had try two days. It still the same error. Can you please check : <requestId>000563926dc623310a623d8301086ee5</requestId> .

Thanks
vii step

Nadine Sundquist (AdWords API Team)

unread,
Jan 25, 2018, 5:53:10 PM1/25/18
to AdWords API Forum
Hello,

I've tried running your same request against your account with my code, and everything seems to work fine, so I'm wondering if there's something in your header that may be causing this. I've been able to narrow down what may be causing this, but it's not clear at this point what the root cause may be. Thanks for providing the request ID as I was at least able to pull the stack trace to get this investigation started. I'm pulling in someone else to also take a look. I'll get back to you when we have more information.

Best,
Nadine, AdWords API Team
Reply all
Reply to author
Forward
0 new messages