Pusher template pushNotification function invocation causes error #419
Description
Issue by ylac
Thursday Nov 23, 2017 at 10:53 GMT
Originally opened as https://github.com/graphcool/prisma/issues/1320
Current behavior
Trying to send a push notification to my react-native/test web app via the relevant mutation
mutation { pushNotification(channels: ["donuts"], event: "la", message: "yo") { success } }
produces an error in the function log: {"error":"Function returned invalid status code: 0. Raw body: empty.last"}
. Same as in #1031. The notification does appear though, at least for the web app.
Reproduction
Setup Graphcool framework with the Pusher template: https://github.com/graphcool/templates/tree/master/messaging/pusher.
Setup Pusher. Then send a push notification to a mobile app or the test web app as per the template readme.