Skip to content

Error Codes

Here you can find every possible error code

Based on Hot Chocolate.

🚨 Note that not every error code is relevant. This because we have not implemented everything from Hot Chocolate.


Authentication

  • NotAuthorized = AUTH_NOT_AUTHORIZED
  • NotAuthenticated = AUTH_NOT_AUTHENTICATED
  • NoDefaultPolicy = AUTH_NO_DEFAULT_POLICY
  • PolicyNotFound = AUTH_POLICY_NOT_FOUND

Types

  • ReservedTypeName = HC0061

Execution

  • CannotSerialize = EXEC_BATCH_VAR_SERIALIZE
  • CannotSerializeLeafValue = EXEC_INVALID_LEAF_VALUE
  • CannotResolveAbstractType = EXEC_UNABLE_TO_RESOLVE_ABSTRACT_TYPE
  • ListTypeNotSupported = EXEC_LIST_TYPE_NOT_SUPPORTED
  • AutoMapVarError = EXEC_BATCH_AUTO_MAP_VAR_TYPE

The request exceeded the configured timeout.

  • Timeout = HC0045

The request was canceled.

  • Canceled = HC0049

The operation complexity was exceeded.

  • ComplexityExceeded = HC0047

The analyzer needs a documentId, operationId, document and coerced variables.

  • ComplexityStateInvalid = HC0048

  • NonNullViolation = HC0018

  • MustBeInputType = HC0017
  • InvalidType = HC0016
  • QueryNotFound = HC0015

A persisted query was not found when using the active persisted query pipeline.

  • PersistedQueryNotFound = HC0020
  • TaskProcessingError = HC0008
  • SyntaxError = HC0014
  • CannotCreateRootValue = HC0019

Cannot cast the parent type to the resolver requested type.

  • CannotCastParent = HC0053

The Oneof Input Objects 0 require that exactly one field must be supplied and that field must not be null. Oneof Input Objects are a special variant of Input Objects where the type system asserts that exactly one of the fields must be set and non-null.

  • OneOfNoFieldSet = HC0054

More than one field of the Oneof Input Object 0 is set. Oneof Input Objects are a special variant of Input Objects where the type system asserts that exactly one of the fields must be set and non-null.

  • OneOfMoreThanOneFieldSet = HC0055

null was set to the field "0" of the Oneof Input Object 1. Oneof Input Objects are a special variant of Input Objects where the type system asserts that exactly one of the fields must be set and non-null.

  • OneOfFieldIsNull = HC0056

Value for oneof field field.FieldName must be non-null.

  • OneOfFieldMustBeNonNull = HC0057

Server

  • RequestInvalid = HC0009
  • MaxRequestSize = HC0010
  • SyntaxError = HC0011
  • UnexpectedRequestParserError = HC0012
  • QueryAndIdMissing = HC0013

The multipart form could not be read.

  • MultiPartInvalidForm = HC0033

No 'operations' specified.

  • MultiPartNoOperationsSpecified = HC0034

Misordered multipart fields 'map' should follow 'operations'.

  • MultiPartFieldsMisordered = HC0035

No object paths specified for a key in the 'map'.

  • MultiPartNoObjectPath = HC0037

A key is referring to a file that was not provided.

  • MultiPartFileMissing = HC00038

The variable path is referring to a variable that does not exist.

  • MultiPartVariableNotFound = HC0039

No object paths specified for key in 'map'.

  • MultiPartVariableStructureInvalid = HC0040

Invalid variable path in map.

  • MultiPartInvalidPath = HC0041

The variable path must start with variables.

  • MultiPartPathMustStartWithVariable = HC0042

Invalid JSON in the map multipart field Expected type of.

  • MultiPartInvalidMapJson = HC0043

No map specified.

  • MultiPartMapNotSpecified = HC0044

The type parameter is empty.

  • TypeParameterIsEmpty = HC0058

Invalid type name when requesting the SDL.

  • InvalidTypeName = HC0059

The requested type does not exist.

  • TypeDoesNotExist = HC0060

Schema

  • NoEnumValues = TS_NO_ENUM_VALUES
  • MissingType = TS_MISSING_TYPE
  • NoResolver = TS_NO_FIELD_RESOLVER
  • UnresolvedTypes = TS_UNRESOLVED_TYPES
  • NoName = TS_NO_NAME_DEFINED
  • NoFieldType = TS_NO_FIELD_TYPE
  • ArgumentValueTypeWrong = TS_ARG_VALUE_TYPE_WRONG
  • InvalidArgument = TS_INVALID_ARG
  • NonNullArgument = TS_ARG_NON_NULL
  • InterfaceNotImplemented = SCHEMA_INTERFACE_NO_IMPL

The middleware order of a field pipeline is incorrect.

  • MiddlewareOrderInvalid = HC0050

Type system members are not supported as runtime types.

  • NoSchemaTypesAllowedAsRuntimeType = HC0051

Scalars

The runtime type is not supported by the scalars ParseValue method.

  • InvalidRuntimeType = HC0001

Either the syntax node is invalid when parsing the literal or the syntax node value has an invalid format.

  • InvalidSyntaxFormat = HC0002

Filtering

  • FilterObjectType = FILTER_OBJECT_TYPE
  • FilterFieldDescriptorType = FILTER_FIELD_DESCRIPTOR_TYPE

Stitching

  • HttpRequestException = HC0006

  • UnknownRequestException = HC0007

  • ArgumentNotDefined = STITCHING_ARG_NOT_DEFINED

  • FieldNotDefined = STITCHING_FLD_NOT_DEFINED
  • VariableNotDefined = STITCHING_VAR_NOT_DEFINED
  • ScopeNotDefined = STITCHING_SCOPE_NOT_DEFINED
  • TypeNotDefined = STITCHING_TYPE_NOT_DEFINED
  • ArgumentNotFound = STITCHING_DEL_ARGUMENT_NOT_FOUND

Spatial

The coordinate reference system is not supported by this server.

  • UnknowCrs = HC0029

Coordinates with M values cannot be reprojected.

  • CoordinateMNotSupported = HC0030

Data

  • NonNullError = HC0026
  • ListNotSupported = HC0021
  • MoreThanOneElement = HC0022
  • FilteringProjectionFailed = HC0023
  • SortingProjectionFailed = HC0024
  • NoPaginationProviderFound = HC0025

Type does not contain a valid node field. Only items and nodes are supported.

  • NodeFieldWasNotFound = HC0028

Validation

The introspection is not allowed for the current request.

  • IntrospectionNotAllowed = HC0046

Paging

Unable to infer the element type from the current resolver. This often happens if the resolver is not an iterable type like IEnumerable, IQueryable, IList etc. Ensure that you either explicitly specify the element type or that the return type of your resolver is an iterable type.

  • NodeTypeUnknown = HC0031

The element schema type for pagination must be a valid GraphQL output type (ObjectType, InterfaceType, UnionType, EnumType, ScalarType).

  • SchemaTypeInvalid = HC0032

The maximum allowed items per page were exceeded.

  • MaxPaginationItems = HC0051

You must provide a first or last value to properly paginate the connection.

  • NoPagingBoundaries = HC0052