Open ben-elsen opened 4 years ago
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.
Having the same issue
Same the error makes it hard to understand what's going on.
If you're seeing this error - make sure the instance of Error
type is being thrown. That fixed the issue for me.
Problem
I am using AWS Appsync as my graphQL server and when I trigger/return an error from the api, the relay useLazyLoadQuery crashes.
Environment
Query and response
{"data":{"niche":null},"errors":[{"path":["niche"],"data":{"tagline":null},"errorType":"400","errorInfo":null,"locations":[{"line":2,"column":3,"sourceName":null}],"message":"UnknownNiche"}]}