Replies: 2 comments 1 reply
-
Did you ever find a solution to this? I'm struggling with the same thing sending a mutation to an api |
Beta Was this translation helpful? Give feedback.
1 reply
-
Checking in that I am also seeing this error; not sure why as raw graphql queries seem to work just fine with the API I am using and I can see that all of my data is in the "got" field and is valid JSON. would love to know why this happens so I can resolve it. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hello, I'm using your library to query CloudFlare's GraphQL Analytics API. There, if a request if successful,
errors: null
is returned in the response, you can see an example on this page https://developers.cloudflare.com/analytics/graphql-api/getting-started/querying-basics/The library automatically throws an error:
Error: Invalid execution result: errors is not plain object OR array
Is there a way to disable this behavior or go around it somehow? I thought I can use a response middleware to remove the
error
property in case it'snull
but the error is thrown before the middleware is called.Beta Was this translation helpful? Give feedback.
All reactions