Skip to content
On this page

This is an auto-generated document to support extension builders understand the internal packages they can utilize. To find our written guides, tutorials, and API/SDK reference, check out our main docs .

Directus / @directus/errors / ErrorCode

Enumeration: ErrorCode

Enumeration Members

ContainsNullValues

ContainsNullValues: "CONTAINS_NULL_VALUES"

Source

packages/errors/src/codes.ts:2


ContentTooLarge

ContentTooLarge: "CONTENT_TOO_LARGE"

Source

packages/errors/src/codes.ts:3


Forbidden

Forbidden: "FORBIDDEN"

Source

packages/errors/src/codes.ts:4


IllegalAssetTransformation

IllegalAssetTransformation: "ILLEGAL_ASSET_TRANSFORMATION"

Source

packages/errors/src/codes.ts:5


InvalidCredentials

InvalidCredentials: "INVALID_CREDENTIALS"

Source

packages/errors/src/codes.ts:6


InvalidForeignKey

InvalidForeignKey: "INVALID_FOREIGN_KEY"

Source

packages/errors/src/codes.ts:7


InvalidIp

InvalidIp: "INVALID_IP"

Source

packages/errors/src/codes.ts:8


InvalidOtp

InvalidOtp: "INVALID_OTP"

Source

packages/errors/src/codes.ts:9


InvalidPayload

InvalidPayload: "INVALID_PAYLOAD"

Source

packages/errors/src/codes.ts:10


InvalidProvider

InvalidProvider: "INVALID_PROVIDER"

Source

packages/errors/src/codes.ts:11


InvalidProviderConfig

InvalidProviderConfig: "INVALID_PROVIDER_CONFIG"

Source

packages/errors/src/codes.ts:12


InvalidQuery

InvalidQuery: "INVALID_QUERY"

Source

packages/errors/src/codes.ts:13


InvalidToken

InvalidToken: "INVALID_TOKEN"

Source

packages/errors/src/codes.ts:14


MethodNotAllowed

MethodNotAllowed: "METHOD_NOT_ALLOWED"

Source

packages/errors/src/codes.ts:15


NotNullViolation

NotNullViolation: "NOT_NULL_VIOLATION"

Source

packages/errors/src/codes.ts:16


RangeNotSatisfiable

RangeNotSatisfiable: "RANGE_NOT_SATISFIABLE"

Source

packages/errors/src/codes.ts:17


RecordNotUnique

RecordNotUnique: "RECORD_NOT_UNIQUE"

Source

packages/errors/src/codes.ts:18


RequestsExceeded

RequestsExceeded: "REQUESTS_EXCEEDED"

Source

packages/errors/src/codes.ts:19


RouteNotFound

RouteNotFound: "ROUTE_NOT_FOUND"

Source

packages/errors/src/codes.ts:20


ServiceUnavailable

ServiceUnavailable: "SERVICE_UNAVAILABLE"

Source

packages/errors/src/codes.ts:21


TokenExpired

TokenExpired: "TOKEN_EXPIRED"

Source

packages/errors/src/codes.ts:22


UnexpectedResponse

UnexpectedResponse: "UNEXPECTED_RESPONSE"

Source

packages/errors/src/codes.ts:23


UnprocessableContent

UnprocessableContent: "UNPROCESSABLE_CONTENT"

Source

packages/errors/src/codes.ts:24


UnsupportedMediaType

UnsupportedMediaType: "UNSUPPORTED_MEDIA_TYPE"

Source

packages/errors/src/codes.ts:25


UserSuspended

UserSuspended: "USER_SUSPENDED"

Source

packages/errors/src/codes.ts:26


ValueOutOfRange

ValueOutOfRange: "VALUE_OUT_OF_RANGE"

Source

packages/errors/src/codes.ts:27


ValueTooLong

ValueTooLong: "VALUE_TOO_LONG"

Source

packages/errors/src/codes.ts:28