-
-
Notifications
You must be signed in to change notification settings - Fork 4.8k
Unable to Login using JavaScript / REST API #85
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
This error is being thrown here: https://github.com/ParsePlatform/parse-server/blob/7f5d744ce2eea774a10ab0a8c47bd587941c7775/Schema.js#L294 Can you provide the result from the _SCHEMA collection in mongo for the _User class? |
{ |
Ok, that doesn't tell us much. Can you provide the login code you're using? If you can, set the environment variable VERBOSE=1 and capture that log as well. |
Sorry ok here is the curl request: curl -X GET Heroku LOG: 2016-01-31T00:29:11.502181+00:00 app[web.1]: Uncaught internal server error. bad obj: undefined undefined |
in my case the problem is here : https://github.com/ParsePlatform/parse-server/blob/7f5d744ce2eea774a10ab0a8c47bd587941c7775/users.js#L71 in the user.js file |
@cainoeraabele Thanks! Yes that worked for me too, OH and also, not sure if my JS App or the Parse Server was in fault, but the Schema for Session had "expiresAt" as "number" so that also thru errors. Changing that to "string" corrected the issue. I'm able to Login finally YEAH! |
I think we've got these covered in 2.0.4... Open new issues if you have problems. Thanks. |
Both ways trying to login returns
{"code":1,"message":"Internal server error."}
Set up server with Heroku and the logs state:
2016-01-30T22:23:30.852720+00:00 app[web.1]: Uncaught internal server error. bad obj: undefined undefined
Any help would be appreciated!
The text was updated successfully, but these errors were encountered: