aip_sdk.TransportError
aip_sdk.TransportError(message: str, *, attempts: int = 1)
The request never completed: it timed out, or the connection failed.
Raised once the SDK has exhausted its retries. No response arrived, so there is no
status code and no request id — correlation_id is the only identifier, and it
covers every attempt made.
Also inherits the underlying transport exception type, so code written before this error existed keeps catching it.
Attributes
attempts: How many times the request was tried before giving up.
aip_sdk.TransportError.attempts
aip_sdk.TransportError.attempts = attempts
No docstring is defined in the source.
Inherited members
Inherited from libs/aip-sdk/src/aip_sdk/exceptions.py
aip_sdk.TransportError.body
aip_sdk.TransportError.body: dict[str, Any] = body or {}
No docstring is defined in the source.
Inherited from libs/aip-sdk/src/aip_sdk/exceptions.py
aip_sdk.TransportError.correlation_id
aip_sdk.TransportError.correlation_id = current_correlation_id()
No docstring is defined in the source.
Inherited from libs/aip-sdk/src/aip_sdk/exceptions.py
aip_sdk.TransportError.request_id
aip_sdk.TransportError.request_id = current_request_id()
No docstring is defined in the source.
Inherited from libs/aip-sdk/src/aip_sdk/exceptions.py
aip_sdk.TransportError.status_code
aip_sdk.TransportError.status_code = status_code
No docstring is defined in the source.
Inherited from libs/aip-sdk/src/aip_sdk/exceptions.py
aip_sdk.TransportError.validation_errors
aip_sdk.TransportError.validation_errors: list[dict[str, Any]]
RFC 9457 problem+json validation_errors array, or [] when absent.