-
-
Notifications
You must be signed in to change notification settings - Fork 4.8k
Closed
Labels
type:questionSupport or code-level questionSupport or code-level question
Description
I am receiving {"code":141,"error":"Error: undefined unauthorized"} for any Parse Cloud function, even for the simple "hello" function below ( I receive {"error":"unauthorized"}):
My parser-server is hosted in Heroku and using MongoLab.
My cloud/main.js file:
// from https://github.com/ParsePlatform/parse-server/issues/13
var port = process.env.PORT || 1337;
Parse.serverURL = 'https://localhost:' + port + '/parse';
Parse.Cloud.define('hello', function(req, res) {
res.success('Hi');
});
// Other methods like beforeSave and afterSave ...
Metadata
Metadata
Assignees
Labels
type:questionSupport or code-level questionSupport or code-level question