202 or 200 can still describe a run that later reaches failed.
HTTP status codes
Error bodies have a
detail field. When present, the X-Request-ID response header correlates the request with platform logs.
Retry policy
The SDKs retry transient connection failures,408, 429, and 5xx responses for safe GET requests. The default is two retries with bounded exponential backoff.
Mutation requests are not retried unless run creation includes an idempotency key. Cancellation is idempotent but the SDK sends it once.
SDK errors
Both SDKs expose these subclasses ofInfragridError:
AuthenticationErrorPermissionDeniedErrorNotFoundErrorRateLimitErrorServerErrorAPIConnectionErrorAPITimeoutError
status, a bounded response body, and requestId / request_id when available.
Terminal run failures
Afailed run includes a display-safe error_code and error_message. Do not infer success from an HTTP 200 alone—always inspect the run status.
When opening a support case, include:
- run ID
- request ID, when available
- SDK name and version
- terminal status
error_code