Skip to main content
Save the HTTP status and redacted response body. Keep the X-Maxx-Request-ID response header when present. Errors may include error.message, error.type, error.code, and retryable, but interfaces do not all return the same structure or every field.
APIONE request logs error troubleshooting entry

Locate failure records in request details first, then troubleshoot using status, latency, model, and request ID.

Handle the status code

This table follows APIONE’s error documentation. Read the actual response body. Model parameter queries may also return {"error":"model not found"}, so do not rely on error.code alone.

Diagnose in order

  1. Confirm the HTTPS destination is api.apione.ai and check URL composition against API addresses.
  2. Send a minimal text request with the same protocol. Check the model ID, key permissions, and balance.
  3. Once it succeeds, restore optional parameters individually to find incompatible fields.
  4. If cURL works but the application fails, check environment variables, the SDK’s actual URL, duplicate /v1, and proxy settings. See SDK setup.

Common identifiers

Retries

Correct configuration, permission, and balance errors first. Retry recoverable errors within a limit and account for SDK retries to avoid multiplying requests. A stream can fail after HTTP 200. Keep the output already received and its error rather than silently replaying the request, which can duplicate generation. See streaming.

Before contacting support

Include the time and time zone, protocol and endpoint, model ID, HTTP status, request ID, SDK or client version, redacted error body, and number of retries. Do not include full keys or sensitive business content. Use the report template.