Skip to main content

Enumeration: ApiErrorMessages

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

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:45


AUTH_PERMISSION_FAILURE

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

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


AUTH_REQUIRED

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

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


AUTH_REQUIRES_ELEVATION

AUTH_REQUIRES_ELEVATION: "This operation requires elevation."

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


AUTH_REQUIRES_TRUSTED_ROLE

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

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


BULK_CREATE_FAILURE

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

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


BULK_UPDATE_FAILURE

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

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


IDENTIFIER_EXISTS

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

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


INTERNAL_ERROR

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

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


INVALID_OBJECT_VERSION

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

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


INVALID_REQUEST

INVALID_REQUEST: "Invalid message or request."

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


NOT_FOUND

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

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


OBJECT_ID_MISMATCH

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

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


PAYLOAD_TOO_LARGE

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

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


SEARCH_INVALID_ME_REFERENCE

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

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


SEARCH_INVALID_RANGE

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

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


UNKNOWN

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

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