-
-
Notifications
You must be signed in to change notification settings - Fork 4.8k
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
{"code":1,"message":"Internal server error."} #174
Comments
i create new site and it work |
I get the same thing when going to classes/_User and attempting to POST a new user: Body : { When I look in the parse-server logs, I am getting: Uncaught internal server error. bad obj: undefined undefined |
@WahdanZ |
Also, on my end, problem was with express version. I had 3.x with the project originally ;-) |
@tiraeth could you, please, provide some details? I had to update Parse SDK to use Parse Server, and now I get the same error. |
If you use express 3.x in the project, you need to create app for Parse Server using 4.x version that is available under the module's Instead of: var express = require('express'); Use: var express = require('parse-server/node_modules/express'); |
@tiraeth thanks, solved! |
when I try to do the same thing using JS SDK it gives me the error. How to solve this ? |
@mahabubakram check server logs, to get more details of why the error takes place. if running Heroku, |
EDIT:.. found my stoopid issue, in cut and paste of the request the quotes changed from " to “ in the where clause..
I just ran into this error when trying to do a CURL GET request to return an object.. CURL request
In Heroku I'm seeing this in the logs..
|
i get this when i try curl post or get
{"code":1,"message":"Internal server error."}
ex : for get
curl -X GET
-H "X-Parse-Application-Id:XXXXXXXXXXXXXXXXXXXXX"
-H "X-Parse-Master-Key: XXXXXXXXXXXX"
http://XXXXXXX.azurewebsites.net/parse/classes/user
ex for post
curl -X POST
-H "X-Parse-Application-Id: XXXXXXXXXXXXXXXX"
-H "Content-Type: application/json"
-d '{"score":1337,"playerName":"Sean Plott","cheatMode":false}'
http://XXXXXXX.azurewebsites.net/parse/classes/GameScore
*when it try post it notice that the "GameScore" class create but no data on it
*
and when it try on android sdk
i get this log
V/com.parse.ParseRequest: Request failed. Waiting 5020 milliseconds before attempt #3
The text was updated successfully, but these errors were encountered: