Skip to content

undefined response from Cloud Function error #417

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
tclain opened this issue Mar 16, 2017 · 0 comments
Closed

undefined response from Cloud Function error #417

tclain opened this issue Mar 16, 2017 · 0 comments

Comments

@tclain
Copy link

tclain commented Mar 16, 2017

Hi guys,

We're working on a app based on a Parse Backend. We are using web, ios and android sdk.

When a cloud function return a void success response

Parse.Cloud.define('returnVoid', function(request, response){ response.success() })

The Ios and android sdk are processing this response fine but not the javascript sdk.

I've setup a minimal repository to demonstrate this : https://github.com/tclain/issue-parsejs-undefined (npm install; node server)

We get "malformed json response" error. The js sdk thinks that something went wrong.

Is it an issue for someone else or is it the normal behaviour ? Thanks

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