FeedItem throw exception because of invalid charater

17 views
Skip to first unread message

Caihua Du

unread,
Jul 23, 2017, 1:28:27 AM7/23/17
to AdWords API Forum
Hi there,

We have found server instance of the following error when calling FeedItem server. We reported the issue to AdWords end of last year and AdWords team has fixed this. However this issue seems shows up again, can you please investigate?

System.Xml.XmlException: ' ', hexadecimal value 0x19, is an invalid character. Line 1, position 71660.
   at System.Xml.XmlTextReaderImpl.Throw(Exception e)
   at System.Xml.XmlTextReaderImpl.ParseText(Int32& startPos, Int32& endPos, Int32& outOrChars)
   at System.Xml.XmlTextReaderImpl.ParseText()
   at System.Xml.XmlTextReaderImpl.ParseElementContent()
   at System.Xml.XmlLoader.LoadNode(Boolean skipOverWhitespace)
   at System.Xml.XmlLoader.LoadDocSequence(XmlDocument parentDoc)
   at System.Xml.XmlDocument.Load(XmlReader reader)
   at Google.Api.Ads.Common.Util.XmlUtilities.CreateDocument(Stream stream)
   at Google.Api.Ads.Common.Util.XmlUtilities.CreateDocument(String contents)
   at Google.Api.Ads.Common.Lib.SoapListenerExtension.CallListeners(SoapMessageDirection direction)
   at Google.Api.Ads.Common.Lib.SoapListenerExtension.ProcessMessage(SoapMessage message)
   at System.Web.Services.Protocols.SoapMessage.RunExtensions(SoapExtension[] extensions, Boolean throwOnException)
   at System.Web.Services.Protocols.SoapHttpClientProtocol.ReadResponse(SoapClientMessage message, WebResponse response, Stream responseStream, Boolean asyncCall)
   at System.Web.Services.Protocols.SoapHttpClientProtocol.Invoke(String methodName, Object[] parameters)
   --- End of inner exception stack trace ---
   at System.Web.Services.Protocols.SoapHttpClientProtocol.Invoke(String methodName, Object[] parameters)
   at Google.Api.Ads.Common.Lib.AdsSoapClient.MakeApiCall(String methodName, Object[] parameters)
   at Google.Api.Ads.AdWords.v201702.FeedItemService.get(Selector selector)

Peter Oliquino

unread,
Jul 24, 2017, 12:06:57 AM7/24/17
to AdWords API Forum
Hi Caihua,

Could you provide additional details such as your clientCustomerId and the SOAP request and response generated when this error occurred? You may reply using Reply privately to author.

Thanks and regards,
Peter
AdWords API Team

Peter Oliquino

unread,
Aug 14, 2017, 5:25:37 AM8/14/17
to AdWords API Forum
Hi Caihua,

Just wanted to follow up regarding your issue. Could you confirm if you still need assistance? 

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