Replies: 3 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.
-
|
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.
-
|
Same thing happens with Shopify api when bad access token is provided. In postman the response is 401 with the Error stack is: |
Beta Was this translation helpful? Give feedback.
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: nullis 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 arrayIs there a way to disable this behavior or go around it somehow? I thought I can use a response middleware to remove the
errorproperty in case it'snullbut the error is thrown before the middleware is called.Beta Was this translation helpful? Give feedback.
All reactions