Skip to main content
This page helps narrow down API failures quickly.

Common failure categories

  • authentication failure
  • missing parameters or invalid payload shape
  • quota exhaustion or throttling
  • upstream model service failure
  • file upload or media processing failure

Suggested debugging order

  1. verify auth headers, keys, and environment variables
  2. verify payload structure and field types
  3. confirm throttling, quota, or model availability issues
  4. review server logs and request tracing

Integration guidance

  • keep request IDs in all error responses
  • show user-friendly messages in the frontend and keep detailed errors in server logs
  • normalize provider-specific errors into platform-level error codes when using a unified gateway