Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: handle indexer-service error format (#896)
The gateway has been failing to provide indexer errors to consumers (just saying `no attestation`) in some cases because indexer-service is deviating from the expectations of [GraphQL over HTTP](https://graphql.org/learn/serving-over-http/#response). Instead of putting errors in the `errors`, it's using an `error` field. For example: `{"error": "GraphQL server error (client error): Invalid query variables provided"}`
- Loading branch information