StoreSalesOffline | offlineDataUploadService fails with UNEXPECTED_INTERNAL_API_ERROR

26 views
Skip to first unread message

Ergin Demirel

unread,
Mar 18, 2022, 4:22:36 PM3/18/22
to Google Ads API and AdWords API Forum
Hello Google Ads Team, 

We are getting UNEXPECTED_INTERNAL_API_ERROR with one of our customers as of March 13th when we make a call to offlineDataUploadService.mutate. As suggested by the documentation, retrying doesn't help. The same code is working fine for the rest of our customers. You can find the stack trace below. Please let me know if you need further information. 

Thanks, 

Java library versions

"com.google.api-ads", "ads-lib", "4.2.0"
"com.google.api-ads", "adwords-axis", "4.2.0"

{code}

// Upload offline data on the server and print some information.


OfflineDataUploadReturnValue returnValue =


offlineDataUploadService.mutate(operations.toArray(new OfflineDataUploadOperation[0]));

{code}




2022-03-15 22:39:51,218 INFO [Thread-20] com.google.api.ads.adwords.lib.client.A dWordsServiceClient.soapXmlLogger: SOAP response: <?xml version="1.0" encoding="UTF-8" standalone="no& quot;?> <soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/&quo t;> <soap:Header> <ns2:ResponseHeader xmlns="https://adwords.google.com/api/adword s/cm/v201809" xmlns:ns2="https://adwords.google.com/api/adwords/rm/v20 1809"> <requestId>0005da497652aa720a81c9045d07da2a</requestId> <serviceName>OfflineDataUploadService</serviceName> <methodName>mutate</methodName> <operations>2000</operations> <responseTime>8701</responseTime> </ns2: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.<init>( InternalApiErro]</faultstring> <detail> <ns2:ApiExceptionFault xmlns="https://adwords.google.com /api/adwords/cm/v201809" xmlns:ns2="https://adwords.google.com/api/adw ords/rm/v201809"> <message>[InternalApiError.UNEXPECTED_INTERNAL_API_ERR OR @ com.google.ads.api.services.common.error.InternalApiError.<init& gt;(InternalApiErro]</message> <ApplicationException.Type>ApiException</Applicatio nException.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& gt; <reason>UNEXPECTED_INTERNAL_API_ERROR</reason&g t; </errors> </ns2:ApiExceptionFault> </detail> </soap:Fault> </soap:Body> </soap:Envelope> 2022-03-15 22:39:51,220 ERROR [Thread-20] com.agilone.aif.impl.GoogleAdsOfflineO utputConnector: Request failed due to ApiException. Underlying ApiErrors: Error 0: InternalApiError{apiErrorType=InternalApiError, errorString=InternalApiError. UNEXPECTED_INTERNAL_API_ERROR, fieldPath=, reason=UNEXPECTED_INTERNAL_API_ERROR, trigger=} AxisFault faultCode: {http://schemas.xmlsoap.org/soap/envelope/}Server faultSubcode: faultString: [InternalApiError.UNEXPECTED_INTERNAL_API_ERROR @ com.google.ads.a pi.services.common.error.InternalApiError.<init>(InternalApiErro] faultActor: faultNode: faultDetail: {https://adwords.google.com/api/adwords/rm/v201809}ApiExceptionFault:&lt ;message>[InternalApiError.UNEXPECTED_INTERNAL_API_ERROR @ com.google.ads.api .services.common.error.InternalApiError.<init>(InternalApiErro]&lt ;/message><ApplicationException.Type>ApiException</ApplicationExcept ion.Type><errors xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance " xsi:type="InternalApiError"><fieldPath/><trigger/&g t;<errorString>InternalApiError.UNEXPECTED_INTERNAL_API_ERROR</errorStr ing><ApiError.Type>InternalApiError</ApiError.Type><reason> UNEXPECTED_INTERNAL_API_ERROR</reason></errors> ApiException{applicationExceptionType=ApiException, errors=[InternalApiError{api ErrorType=InternalApiError, errorString=InternalApiError.UNEXPECTED_INTERNAL_API _ERROR, fieldPath=, reason=UNEXPECTED_INTERNAL_API_ERROR, trigger=}]} at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstruct orAccessorImpl.java:62) at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingC onstructorAccessorImpl.java:45) at java.lang.reflect.Constructor.newInstance(Constructor.java:423) at java.lang.Class.newInstance(Class.java:442) at org.apache.axis.encoding.ser.BeanDeserializer.<init>(BeanDeseri alizer.java:104) at org.apache.axis.encoding.ser.BeanDeserializer.<init>(BeanDeseri alizer.java:90) at com.google.api.ads.adwords.axis.v201809.cm.ApiException.getDeserializ er(ApiException.java:165) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl. java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces sorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) at org.apache.axis.encoding.ser.BaseDeserializerFactory.getSpecialized(B aseDeserializerFactory.java:154) at org.apache.axis.encoding.ser.BaseDeserializerFactory.getDeserializerA s(BaseDeserializerFactory.java:84) at org.apache.axis.encoding.DeserializationContext.getDeserializer(Deser ializationContext.java:464) at org.apache.axis.encoding.DeserializationContext.getDeserializerForTyp e(DeserializationContext.java:547) at org.apache.axis.message.SOAPFaultDetailsBuilder.onStartChild(SOAPFaul tDetailsBuilder.java:157) at org.apache.axis.encoding.DeserializationContext.startElement(Deserial izationContext.java:1035) at org.apache.xerces.parsers.AbstractSAXParser.startElement(Unknown Sour ce) at org.apache.xerces.impl.XMLNSDocumentScannerImpl.scanStartElement(Unkn own Source) at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl$FragmentContent Dispatcher.dispatch(Unknown Source) at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(Un known Source) at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source) at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source) at org.apache.xerces.parsers.XMLParser.parse(Unknown Source) at org.apache.xerces.parsers.AbstractSAXParser.parse(Unknown Source) at org.apache.xerces.jaxp.SAXParserImpl$JAXPSAXParser.parse(Unknown Sour ce) at org.apache.xerces.jaxp.SAXParserImpl.parse(Unknown Source) at org.apache.axis.encoding.DeserializationContext.parse(Deserialization Context.java:227) at org.apache.axis.SOAPPart.getAsSOAPEnvelope(SOAPPart.java:696) at org.apache.axis.Message.getSOAPEnvelope(Message.java:435) at org.apache.axis.handlers.soap.MustUnderstandChecker.invoke(MustUnders tandChecker.java:62) at org.apache.axis.client.AxisClient.invoke(AxisClient.java:206) at org.apache.axis.client.Call.invokeEngine(Call.java:2784) at org.apache.axis.client.Call.invoke(Call.java:2767) at org.apache.axis.client.Call.invoke(Call.java:2443) at org.apache.axis.client.Call.invoke(Call.java:2366) at org.apache.axis.client.Call.invoke(Call.java:1812) at com.google.api.ads.adwords.axis.v201809.rm.OfflineDataUploadServiceSo apBindingStub.mutate(OfflineDataUploadServiceSoapBindingStub.java:903) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl. java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces sorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) at com.google.api.ads.common.lib.soap.SoapClientHandler.invoke(SoapClien tHandler.java:100) at com.google.api.ads.common.lib.soap.axis.AxisHandler.invokeSoapCall(Ax isHandler.java:234) at com.google.api.ads.common.lib.soap.SoapServiceClient.callSoapClient(S oapServiceClient.java:63) at com.google.api.ads.common.lib.soap.SoapServiceClient.invoke(SoapServi ceClient.java:93) at com.sun.proxy.$Proxy39.mutate(Unknown Source) at 

Google Ads API Forum Advisor

unread,
Mar 21, 2022, 5:25:24 AM3/21/22
to ergin....@acquia.com, adwor...@googlegroups.com
Hi Ergin,

Thank you for reaching out and for the details you provided.

So our team can investigate further the cause of the UNEXPECTED_INTERNAL_API_ERROR you encountered, could you also provide the complete SOAP request and response logs, and the requestId, generated when the error occurred?

You may then send the requested information via the Reply privately to author option. If this option is not available, you may send the details directly to our googleadsa...@google.com alias instead.

Please note as well that the AdWords API is deprecated and will be sunset on April 27, 2022. We strongly recommend that you migrate to the Google Ads API as soon as possible. When using the Google Ads API, you can refer to this guide for uploading store sales conversions.

Best regards,

Google Logo
Peter Laurence
Google Ads API Team
 


ref:_00D1U1174p._5004Q2YpMaI:ref
Reply all
Reply to author
Forward
0 new messages