-
-
Notifications
You must be signed in to change notification settings - Fork 4.8k
Master key is invalid, you should only use master key to send push #736
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
Hello Everyone, Iam getting Master key is invalid, you should only use master key to send push Please find my cloud code below: Parse.initialize("appid", "javascriptkey", "masterkey");
My index.js code production: false // Prod production: true // Prod } |
Did you set your master key in the environment before starting your server? with: |
Yes.. Master key and App Id i given.. Please help me on this.. |
Pass the third argument as "true" to .send function. |
Its working for me. Thanks a lot for your suggestions. My cloude code finally: Parse.Push.send({ |
@maruthi-wal Did you still have to call If you did, did you just copied and pasted the keys in as strings? |
@AlecKriebel Thanks. Its working for me.. |
@maruthi-wal It is not working for me. Did you still have the initialize call in your Cloud Code. I may need to add it to mine. Thanks. |
@AlecKriebel Yep.. I added Parse.initialize("appid", "javascriptkey", "masterkey"); in my cloud code. Make sure in index.js as below: production: false Production should be false for testing. |
{ params: { id: '45J1QIaKIi' }, PUSH OKAPNS Connection 0 Socket Error how to solve this problem when I send push it performs success but the it also shows these in the console. |
No description provided.
The text was updated successfully, but these errors were encountered: