InvalidTokenError#

exception controller.exceptions.InvalidTokenError(message, location=None, field_path=None)#

Bases: ClientRequestError

The delegated user token is invalid.

Parameters:
error: ClassVar[str] = 'invalid_token'#

Used as the type field of the error message.

Should be overridden by any subclass.

status_code: ClassVar[int] = 401#

HTTP status code for this type of validation error.