Skip to content

InternalServerException

Error Class

InternalServerException dataclass

Bases: ServiceError, _SerdeShape

An internal server error occurred. Retry your request.

Attributes

reason class-attribute instance-attribute
reason: str | None = ...

The reason for the exception. If the reason is BEDROCK_MODEL_INVOCATION_SERVICE_UNAVAILABLE, the model invocation service is unavailable. Retry your request.

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.