Page 1 of 1

XML Parsing Error

Posted: Sun Mar 02, 2014 4:51 am
by Alex6694044

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


XML Parsing Error

Posted: Sun Mar 02, 2014 4:58 am
by Alena Prykhodko

Hello Alex,

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


XML Parsing Error

Posted: Sun Mar 02, 2014 6:36 am
by Alex6694044

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?


XML Parsing Error

Posted: Sun Mar 02, 2014 11:07 am
by Illya Stepanov

Hi Alex - we'll update on this.


XML Parsing Error

Posted: Mon Mar 03, 2014 5:48 am
by Igor

Hi Alex.

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

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