InvalidRequestError

exception gafaelfawr.exceptions.InvalidRequestError

Bases: OAuthBearerError

The provided Authorization header could not be parsed.

This corresponds to the invalid_request error in RFC 6749 and 6750: “The request is missing a required parameter, includes an unsupported parameter or parameter value, repeats the same parameter, uses more than one method for including an access token, or is otherwise malformed.”

error: ClassVar[str] = 'invalid_request'

The RFC 6749 or RFC 6750 error code for this exception.

message: ClassVar[str] = 'Invalid request'

The summary message to use when logging this error.