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

Popular posts from this blog

java - How to set log4j.defaultInitOverride property to false in jboss server 6 -

c - GStreamer 1.0 1.4.5 RTSP Example Server sends 503 Service unavailable -

Using ajax with sonata admin list view pagination -