Maybe some more info? Impossible to help with what you have provided.
Im submitting a form to the backend and the answer, im getting from backend, is not in the typical way (json) but in xml and the reader or erroReader doesnt work at all.
So the console is saying me that i have a syntax error in the answer which can not be parsed (of course becouse of json). I posted the hold code inside but i regreated