Skip to main content
SDK errors expose code, message and detail. For support, keep the error, deployment ID and request ID. A timeout does not stop allocation. Use servo deployment show ID before retrying or stopping. A transport failure does not prove whether inference ran. See logs and telemetry.

Catch a prediction error

Use this helper with the session and inputs created in the quickstart:
predict_with_errors.py