Graphql-engine: Subscriptions not working. Error message 'no subscriptions exist'

Created on 26 Jul 2019  路  1Comment  路  Source: hasura/graphql-engine

Can't figure out what is wrong:

errors: [{extensions: {path: "$", code: "validation-failed"}, message: "no subscriptions exist"}]
0: {extensions: {path: "$", code: "validation-failed"}, message: "no subscriptions exist"}
extensions: {path: "$", code: "validation-failed"}
message: "no subscriptions exist"
type: "error"

Most helpful comment

Issue resolved by adding auth headers to connectionParams, for some reason them was not setup from setContext in apollo-link-context

>All comments

Issue resolved by adding auth headers to connectionParams, for some reason them was not setup from setContext in apollo-link-context

Was this page helpful?
0 / 5 - 0 ratings