A 5xx response or timeout can originate in the gateway, platform, or upstream model provider. Where safe, use bounded exponential backoff and log timestamp, model ID, status, and request ID.
Avoid blindly resubmitting generation tasks that may already be running. Verify support for idempotency keys or job status lookup first.
For persistent failures, provide a redacted, minimal reproduction by email to contact@moduck.ai.