Skip to content

ErrorCode

An enumeration of error codes that could be returned by the API, providing insight into what kind of error occurred.

See: https://tracker.delivery/docs/error-handling

enum ErrorCode {
UNAUTHENTICATED
FORBIDDEN
INTERNAL
BAD_REQUEST
NOT_FOUND
}

Values

ErrorCode.UNAUTHENTICATED

The request references an expired or invalid access token. The client may repeat the request with a new or corrected token.

See: https://tracker.delivery/docs/authentication

ErrorCode.FORBIDDEN

The server understood the request but refuses to authorize it.

If authentication credentials were provided in the request, the server considers them insufficient to grant access.

ErrorCode.INTERNAL

An unexpected internal error occurred within the server. This could be due to various reasons such as server misconfiguration, operational failures, or other unexpected conditions.

ErrorCode.BAD_REQUEST

The request could not be understood by the server due to malformed syntax. The client should not repeat the request without modifications.

ErrorCode.NOT_FOUND

The requested resource could not be found. Subsequent requests by the client are permissible.