javascript - Error in script '/api/register.js'. Error: Error loading the api -
javascript - Error in script '/api/register.js'. Error: Error loading the api -
i have followed this tutorial in custom authentication using azure mobile services. service , running while started implementing client side info repository now.
so while testing ios client custom api register.js couldn't create work logs appearing next error.
i don't since register.js in place. utilize git source command edit custom api files remotely sometimes.
my xamarin client code following.
public async task<string> registeruser (string email, string password) { seek { jobject registerjobject = new jobject(); registerjobject.add("email", email); registerjobject.add("password", password); jtoken response = await mobileservice.invokeapiasync("register", registerjobject, httpmethod.post, null); string status = response["status"].value<string>(); if (status == fail) { // failed, } else if (status == success) { string token = response["token"].value<string>(); // token } homecoming status; } grab (mobileserviceinvalidoperationexception ex) { throw; } }
still working in reporting error etc problem, it's internal 500 error , can see logs in above screenshot.
the error: "error in script ... error loading api" typically indicates there syntax issue needs fixed within the specified javascript file.
javascript xamarin azure-mobile-services internal-server-error custom-authentication
Comments
Post a Comment