ionic-parse-starter icon indicating copy to clipboard operation
ionic-parse-starter copied to clipboard

XMLHttpRequest failed: {statusText":Not Found","status::404

Open vocalviews opened this issue 9 years ago • 2 comments

Hi,

I have been trying to work this out for a while now. I have been working on an ionic + parse login,register,forgot password app. That being said Ionic is the front end and parse.com as the database.

The functions work perfectly from local host in the web broswer when using Ionic serve from command line, but when I build the app for android (ionic build android) or emulate (ionic emulate android) or test it on on an android device I get a range of error messages:

When I attempt to login in; An unexpected error has occurred please try again

when I attempt to reset my password; An unexpected error has occurred please try again

When I attempt to register I am shown this error message:

XMLHttpRequest failed: {statusText":Not Found","status::404,"responseURL":https://api.parse.com/1/users","response":""resp onseType":""."responseXML":null,"responseText":"","upload":{loadend":null,"onload":null,"onprogress":null,"onloadstart":null,"onloadend":null,:onload":null,"onerror":null"onabort":null},"withCredentials":false,"readyState":4"timeout":0,"ontimeout":null,"onprogress":null,"onloadstart":null,:onloadend":null,"onload":null,"onerror":null,:onabort":null}

vocalviews avatar May 23 '15 19:05 vocalviews

If you didn't solve this yet you need to get the cordova plugin called whitelist.

CDandu16 avatar Jun 15 '15 03:06 CDandu16

"cordova plugin add cordova-plugin-whitelist" solved the issue for me

grantgumina avatar Jun 16 '15 00:06 grantgumina