Skip to content

Signin  >  Enums  >  OAuth2ErrorCode

OAuth2ErrorCode

Enum Class

OAuth2ErrorCode

Bases: UnknownEnumMixin, StrEnum

OAuth 2.0 error codes returned by the server Standard OAuth 2.0 error codes used in error responses to indicate the specific type of error that occurred during token operations.

Attributes

AUTHCODE_EXPIRED class-attribute instance-attribute
AUTHCODE_EXPIRED = 'AUTHCODE_EXPIRED'

Authorization code has expired

CONFLICT class-attribute instance-attribute
CONFLICT = 'CONFLICT'

Request conflicts with current state of the resource

INSUFFICIENT_PERMISSIONS class-attribute instance-attribute
INSUFFICIENT_PERMISSIONS = 'INSUFFICIENT_PERMISSIONS'

Insufficient permissions to perform this operation

INVALID_REQUEST class-attribute instance-attribute
INVALID_REQUEST = 'INVALID_REQUEST'

The request is missing a required parameter, includes an invalid parameter value, or is otherwise malformed

RESOURCE_NOT_FOUND class-attribute instance-attribute
RESOURCE_NOT_FOUND = 'RESOURCE_NOT_FOUND'

Requested resource was not found

SERVER_ERROR class-attribute instance-attribute
SERVER_ERROR = 'server_error'

Internal server error occurred

SERVICE_QUOTA_EXCEEDED class-attribute instance-attribute
SERVICE_QUOTA_EXCEEDED = 'SERVICE_QUOTA_EXCEEDED'

Request would cause a service quota to be exceeded

TOKEN_EXPIRED class-attribute instance-attribute
TOKEN_EXPIRED = 'TOKEN_EXPIRED'

Token has expired and needs to be refreshed

USER_CREDENTIALS_CHANGED class-attribute instance-attribute
USER_CREDENTIALS_CHANGED = 'USER_CREDENTIALS_CHANGED'

User credentials have been changed