Null Data Received from GraphQL Query

I’m trying to send a GET request to a GraphQL endpoint, but our query data is null. We’re using AWS Amplify and have the following subscription format:

subscription MySubscription {
  onCreateDrink {
    description
    id
    name
    alcohol
  }
}

However, we get this in n8n:

image

Any help would be appreciated!

Welcome to the community @Rick10101221!

I am sadly in no way a GraphQL expert but did you already check out the example workflows here?

If that does not help can you please post an example that we can run to reproduce the problem. Thanks!