-
-
Notifications
You must be signed in to change notification settings - Fork 5.4k
Parse Query returns 141 unauthorized error #54
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
No. you missed your application id and master key parse.com below on your code. |
Do you have any client keys set in your server configuration? If you do, you will need to provide one of them in your request. You can also remove the client keys from your server configuration, as they are unnecessary in parse-server. |
@estylehq I did include the app id in the examples I provided. I also just tried including the master key, but it still gave the same error. @drew-gross I don't have any client keys set in the server config. Below you can see my config and constructor. Another reason why I suspect this could be a bug is that the "hello" function works, but not the "getGameScore".
|
I have found the solution here: ParsePlatform/parse-server/issues/356 |
I think the |
strongly agreed @simonbengtsson . it takes me another 15 mins to figure this out. |
Followed the example and finished setting up Heroku and MongoDB. These 3 all worked:
I then wrote a simple query to get the GameScore class data:
... and tried to call the function with this:
... got this error:
{"code":141,"error":{"message":"unauthorized"}}
Am I missing anything, or is this a bug?
The text was updated successfully, but these errors were encountered: