Skip to content
On this page

Directus Cloud

Everything you need to start building. Provisioned in 90 seconds. Starting at $15/month.

Get Started

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"

Defined in ​

packages/errors/src/codes.ts:2


ContentTooLarge ​

ContentTooLarge: "CONTENT_TOO_LARGE"

Defined in ​

packages/errors/src/codes.ts:3


Forbidden ​

Forbidden: "FORBIDDEN"

Defined in ​

packages/errors/src/codes.ts:4


IllegalAssetTransformation ​

IllegalAssetTransformation: "ILLEGAL_ASSET_TRANSFORMATION"

Defined in ​

packages/errors/src/codes.ts:5


Internal ​

Internal: "INTERNAL_SERVER_ERROR"

Defined in ​

packages/errors/src/codes.ts:6


InvalidCredentials ​

InvalidCredentials: "INVALID_CREDENTIALS"

Defined in ​

packages/errors/src/codes.ts:7


InvalidForeignKey ​

InvalidForeignKey: "INVALID_FOREIGN_KEY"

Defined in ​

packages/errors/src/codes.ts:8


InvalidIp ​

InvalidIp: "INVALID_IP"

Defined in ​

packages/errors/src/codes.ts:9


InvalidOtp ​

InvalidOtp: "INVALID_OTP"

Defined in ​

packages/errors/src/codes.ts:10


InvalidPayload ​

InvalidPayload: "INVALID_PAYLOAD"

Defined in ​

packages/errors/src/codes.ts:11


InvalidProvider ​

InvalidProvider: "INVALID_PROVIDER"

Defined in ​

packages/errors/src/codes.ts:12


InvalidProviderConfig ​

InvalidProviderConfig: "INVALID_PROVIDER_CONFIG"

Defined in ​

packages/errors/src/codes.ts:13


InvalidQuery ​

InvalidQuery: "INVALID_QUERY"

Defined in ​

packages/errors/src/codes.ts:14


InvalidToken ​

InvalidToken: "INVALID_TOKEN"

Defined in ​

packages/errors/src/codes.ts:15


LimitExceeded ​

LimitExceeded: "LIMIT_EXCEEDED"

Defined in ​

packages/errors/src/codes.ts:16


MethodNotAllowed ​

MethodNotAllowed: "METHOD_NOT_ALLOWED"

Defined in ​

packages/errors/src/codes.ts:17


NotNullViolation ​

NotNullViolation: "NOT_NULL_VIOLATION"

Defined in ​

packages/errors/src/codes.ts:18


OutOfDate ​

OutOfDate: "OUT_OF_DATE"

Defined in ​

packages/errors/src/codes.ts:19


RangeNotSatisfiable ​

RangeNotSatisfiable: "RANGE_NOT_SATISFIABLE"

Defined in ​

packages/errors/src/codes.ts:20


RecordNotUnique ​

RecordNotUnique: "RECORD_NOT_UNIQUE"

Defined in ​

packages/errors/src/codes.ts:21


RequestsExceeded ​

RequestsExceeded: "REQUESTS_EXCEEDED"

Defined in ​

packages/errors/src/codes.ts:22


RouteNotFound ​

RouteNotFound: "ROUTE_NOT_FOUND"

Defined in ​

packages/errors/src/codes.ts:23


ServiceUnavailable ​

ServiceUnavailable: "SERVICE_UNAVAILABLE"

Defined in ​

packages/errors/src/codes.ts:24


TokenExpired ​

TokenExpired: "TOKEN_EXPIRED"

Defined in ​

packages/errors/src/codes.ts:25


UnexpectedResponse ​

UnexpectedResponse: "UNEXPECTED_RESPONSE"

Defined in ​

packages/errors/src/codes.ts:26


UnprocessableContent ​

UnprocessableContent: "UNPROCESSABLE_CONTENT"

Defined in ​

packages/errors/src/codes.ts:27


UnsupportedMediaType ​

UnsupportedMediaType: "UNSUPPORTED_MEDIA_TYPE"

Defined in ​

packages/errors/src/codes.ts:28


UserSuspended ​

UserSuspended: "USER_SUSPENDED"

Defined in ​

packages/errors/src/codes.ts:29


ValueOutOfRange ​

ValueOutOfRange: "VALUE_OUT_OF_RANGE"

Defined in ​

packages/errors/src/codes.ts:30


ValueTooLong ​

ValueTooLong: "VALUE_TOO_LONG"

Defined in ​

packages/errors/src/codes.ts:31