


This is the default error code returned by any ApolloError instance that doesn't specify a different code.Īpollo Server throws errors of most built-in types automatically when applicable. The server was unauthorized to access a required data source, such as a REST API.Ī client sent the hash of a query string to execute via automatic persisted queries, but the query was not in the APQ cache.Ī client sent the hash of a query string to execute via automatic persisted queries, but the server has disabled APQ. The server failed to authenticate with a required data source, such as a REST API. The GraphQL operation includes an invalid value for a field argument.

The GraphQL operation is not valid against the server's schema. The GraphQL operation string contains a syntax error.
