Skip to content
This repository was archived by the owner on Sep 7, 2020. It is now read-only.
This repository was archived by the owner on Sep 7, 2020. It is now read-only.

Pusher template pushNotification function invocation causes error #419

Open
@marktani

Description

@marktani

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.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions