Alex6694044
Posts: 0
Joined: Wed Feb 26, 2014 5:45 am

XML Parsing Error

I am getting a "Parse Error on line 1" when trying to connect to my API.
Image

I am not sure what is causing this. I believe all of my Request information is correct.

Image

It seems to load all of the response information just fine, however when I set it up as a search service in my app and test it:

Image
Image

I get a console error:

XMLHttpRequest cannot load http://www.thetvdb.com/api/GetSeries..... No 'Access-Control-Allow-Origin' header is present on the requested resource. Origin 'http://appery.io' is therefore not allowed access.

I am not 100% sure if the parse error is the cause, but I thought it would help if I gave as much detail as possible. (I am trying to search the API for a series name so I can add it to a list of my shows)

**It is worth mentioning, if I try this in "Echo" mode, I get an error:
Error XML Parser could not be instantiated

Alena Prykhodko
Posts: 0
Joined: Tue Apr 09, 2013 7:36 am

XML Parsing Error

Hello Alex,

Please let us know if this post https://getsatisfaction.com/apperyio/... helps.

Alex6694044
Posts: 0
Joined: Wed Feb 26, 2014 5:45 am

XML Parsing Error

Thanks for the help, Alena. I disabled my chrome security settings using the recommended "--disable-web-security flag". Now I can search for series

Also, I am still getting an "Error XML Parser could not be instantiated" when using echo mode. Do you know if there is a way to fix this so I am not spamming the API while testing?

Illya Stepanov
Posts: 0
Joined: Mon Mar 18, 2013 8:48 am

XML Parsing Error

Hi Alex - we'll update on this.

Igor
Posts: 0
Joined: Tue Apr 02, 2013 12:05 pm

XML Parsing Error

Hi Alex.

Please tick "Use Appery.io Proxy" in you service settings tab

http://docs.appery.io/documentation/s...

Return to “Issues”