Skip to content

AccessDeniedException

Error Class

AccessDeniedException dataclass

Bases: ServiceError, _SerdeShape

You do not have sufficient access to perform this action.

Attributes

error instance-attribute
error: str

One of TOKEN_EXPIRED, AUTHCODE_EXPIRED, USER_CREDENTIALS_CHANGED, or INSUFFICIENT_PERMISSIONS.

response_metadata class-attribute instance-attribute
response_metadata: ResponseMetadata = ...

Metadata about the response that produced this output. Use this to recover the request identifiers a service's support team needs in order to investigate a call. Members of the metadata are individually optional.