Skip to content

ServiceUnavailableException

Error Class

ServiceUnavailableException dataclass

Bases: ServiceError, _SerdeShape

The service can't handle the request right now. Retry the request. If the response includes retryAfterSeconds, wait that many seconds before you retry.

Attributes

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.

retry_after_seconds class-attribute instance-attribute
retry_after_seconds: int | None = ...

The number of seconds to wait before you retry the request.