Skip to content

Getting unauthorized error while deploying cloud code #2416

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

Closed
ankushmittal87 opened this issue Jul 28, 2016 · 2 comments
Closed

Getting unauthorized error while deploying cloud code #2416

ankushmittal87 opened this issue Jul 28, 2016 · 2 comments

Comments

@ankushmittal87
Copy link

Hi Team,

I have managed to setup parse server locally. But after changing the "application and master key" in global.json when I tried to deploy my code locally. I got the below error.

D:\Users\mabhalla\Desktop\Parse Server\BidHub\BidHub-CloudCode-master>parse deploy
Uploading source files
Deploy failed with error:
unauthorized
Will retry in 0 seconds.

Uploading source files
Sorry, deploy failed again with same error.
Will retry in 1 seconds.

Uploading source files
unauthorized

Please assist.

Thank you in anticipation,
Ankush Mittal

@hramos
Copy link
Contributor

hramos commented Jul 28, 2016

The parse CLI is only meant to be used with Parse.com hosted apps. If you're using Parse Server, your Cloud Code is loaded from the file specified by the cloud param (usually ./cloud/main.js).

@hramos hramos closed this as completed Jul 28, 2016
@ankushmittal87
Copy link
Author

Thank you for your reply.

I shall be thankful if you can provide more information on it. I want to explain my problem again.

I actually want to deploy BidHub code onto local parse server.

I managed to deploy successfully on parse.com and able to see my populated data at my client side(iPhone and android application).

Thank you,
Ankush MIttal

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants