aip_sdk.DownloadError
aip_sdk.DownloadError(message: str, retry_count: int = 0, last_error: str | None = None, status_code: int | None = None)
Presigned URL download failed — all retry attempts exhausted or non-retryable error.
Attributes
retry_count: Number of retry attempts made after the first failure. 0 means the first attempt failed with a non-retryable error and no retries were performed. N means N retries were attempted after the initial failure before giving up.last_error: String representation of the final exception.status_code: HTTP status code from the presigned URL response, when available. None for network-level errors (timeouts, connection refused, etc.).
aip_sdk.DownloadError.last_error
aip_sdk.DownloadError.last_error = last_error
No docstring is defined in the source.
aip_sdk.DownloadError.retry_count
aip_sdk.DownloadError.retry_count = retry_count
No docstring is defined in the source.
Inherited members
Inherited from libs/aip-sdk/src/aip_sdk/exceptions.py
aip_sdk.DownloadError.body
aip_sdk.DownloadError.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.DownloadError.correlation_id
aip_sdk.DownloadError.correlation_id = current_correlation_id()
No docstring is defined in the source.
Inherited from libs/aip-sdk/src/aip_sdk/exceptions.py
aip_sdk.DownloadError.request_id
aip_sdk.DownloadError.request_id = current_request_id()
No docstring is defined in the source.
Inherited from libs/aip-sdk/src/aip_sdk/exceptions.py
aip_sdk.DownloadError.status_code
aip_sdk.DownloadError.status_code = status_code
No docstring is defined in the source.
Inherited from libs/aip-sdk/src/aip_sdk/exceptions.py
aip_sdk.DownloadError.validation_errors
aip_sdk.DownloadError.validation_errors: list[dict[str, Any]]
RFC 9457 problem+json validation_errors array, or [] when absent.