Skip to main content

Enumeration: ApiErrorMessages

Defined in: service-core/src/ApiErrors.ts:25

Defines the default message of all common API errors.

Enumeration Members

AUTH_FAILED

AUTH_FAILED: "Invalid or missing authentication token."

Defined in: service-core/src/ApiErrors.ts:39


AUTH_PERMISSION_FAILURE

AUTH_PERMISSION_FAILURE: "User does not have permission to perform this action."

Defined in: service-core/src/ApiErrors.ts:40


AUTH_REQUIRED

AUTH_REQUIRED: "Authorization is required to access this resource."

Defined in: service-core/src/ApiErrors.ts:38


BULK_CREATE_FAILURE

BULK_CREATE_FAILURE: "Failed to create one or more objects."

Defined in: service-core/src/ApiErrors.ts:36


BULK_UPDATE_FAILURE

BULK_UPDATE_FAILURE: "Failed to update one or more objects."

Defined in: service-core/src/ApiErrors.ts:37


IDENTIFIER_EXISTS

IDENTIFIER_EXISTS: "A resource with that identifier already exists."

Defined in: service-core/src/ApiErrors.ts:31


INTERNAL_ERROR

INTERNAL_ERROR: "An internal error has occurred. Please contact the adminstrator."

Defined in: service-core/src/ApiErrors.ts:27


INVALID_OBJECT_VERSION

INVALID_OBJECT_VERSION: "Invalid object version. Do you have the latest version?"

Defined in: service-core/src/ApiErrors.ts:32


INVALID_REQUEST

INVALID_REQUEST: "Invalid message or request."

Defined in: service-core/src/ApiErrors.ts:28


NOT_FOUND

NOT_FOUND: "No resource could be found with the specified identifier."

Defined in: service-core/src/ApiErrors.ts:30


OBJECT_ID_MISMATCH

OBJECT_ID_MISMATCH: "The object provided does not match the identifier given."

Defined in: service-core/src/ApiErrors.ts:33


PAYLOAD_TOO_LARGE

PAYLOAD_TOO_LARGE: "The request body exceeds the maximum allowed size."

Defined in: service-core/src/ApiErrors.ts:29


SEARCH_INVALID_ME_REFERENCE

SEARCH_INVALID_ME_REFERENCE: "Use of the `me` reference requires authentication."

Defined in: service-core/src/ApiErrors.ts:35


SEARCH_INVALID_RANGE

SEARCH_INVALID_RANGE: "Invalid range value: '{{value}}'. Expected 2 arguments, got {{length}}"

Defined in: service-core/src/ApiErrors.ts:34


UNKNOWN

UNKNOWN: "An unknown error has occurred. Please try again."

Defined in: service-core/src/ApiErrors.ts:26