-
-
Notifications
You must be signed in to change notification settings - Fork 4.8k
Closed
Description
Issue Description
Similar to parse-community/Parse-SDK-JS#417
Steps to reproduce
Parse.Cloud.define('returnUndefined', () => {
return undefined;
});
Expected Results
return undefined / null
not throw error
Actual Outcome
Unhandled Promise Rejection: Error: The server returned an invalid response.
Environment Setup
-
Server
- parse-server version (Be specific! Don't say 'latest'.) : 3.0.0
- Operating System: Mac OSX
- Localhost or remote server? (AWS, Heroku, Azure, Digital Ocean, etc): localhost
-
Database
- MongoDB version: Mongo
- Localhost or remote server? (AWS, mLab, ObjectRocket, Digital Ocean, etc): localhost
Logs/Trace
info: Ran cloud function returnUndefined for user undefined with:
Input: {}
Result: undefined functionName= returnUndefined, , user=undefined
verbose: RESPONSE from [POST] /parse/functions/returnVoid: {
"response": {}
} result=undefined
Metadata
Metadata
Assignees
Labels
No labels