parse-server icon indicating copy to clipboard operation
parse-server copied to clipboard

got "Internal server Error" when trying to query for _User

Open pungme opened this issue 10 years ago • 4 comments

We've set up the parse-server with Heroku & MongoLab and migrate the user successfully. But when we try to query for User, we got the "Internal server error." message.

    var User = Parse.Object.extend("_User");
    var query = new Parse.Query(User);
    query.find( ... ) 

Anyone could give us a hint ?

pungme avatar Feb 03 '16 09:02 pungme

I'm not sure it would make a big difference, but have you tried defining the User var this way:

var User = Parse.User;

natanrolnik avatar Feb 03 '16 10:02 natanrolnik

Hi @natanrolnik thanks a lot for a reply. But unfortunately still got the same error. :-/

pungme avatar Feb 03 '16 13:02 pungme

Please run the server with the environment variable VERBOSE=1 and capture any details you can.

gfosco avatar Feb 06 '16 00:02 gfosco

If you still have issues with the latest version, please open a new issue. Thanks.

gfosco avatar Feb 20 '16 01:02 gfosco