API reliability
Get a stalled API workflow moving again
Start with the error, then choose the smallest recovery step.
Step 01
Classify the failure
Read the HTTP status and provider error. Verify authentication and request shape before retrying. A malformed request needs a correction.
Step 02
Check the conditions
Open the official provider status page. Check the limits for your account and model. Avoid assuming that one failed request means a global outage.
Step 03
Bound the retries
For retryable 429 or 503 responses, wait progressively longer between attempts. Add jitter, respect retry guidance when supplied, and set a maximum attempt count and total deadline.
Step 04
Protect downstream actions
Do not replay a purchase, message, or write blindly. Use idempotency where supported and inspect partial results before continuing.
Step 05
Verify recovery
Run one representative request. Record the outcome and stop retrying when the budget is exhausted. Surface a useful failure message.
An editorial checklist based on provider guidance. Account quota and service capacity still determine whether a retry can succeed.
Google’s troubleshooting guide ↗