yongjhih/docker-parse-server
View on GitHubUnauthorized error for cloud code requests which should be called with master key
Open
#54 opened on Jul 15, 2016
help wanted
Repository metrics
- Stars
- (474 stars)
- PR merge metrics
- (PR metrics pending)
Description
Hi, I have a problem with calling my cloud code function from REST API. I trying to do something like this:
curl -X POST -H "X-Parse-Application-Id: MY_APP_NAME" \
> -H "X-Parse-Master-Key: MY_MASTER_KEY" \
> -H "Content-Type: application/json" \
> https://MY_DOMAIN/parse/functions/push
And I sure that APP_NAME MASTER_KEY and DOMAIN are correct.
So for this request parse send me follow response:
{
"code": 141,
"error": {
"message": "unauthorized: master key is required"
}
}
So seems that some problems on auth functionality