Documentation / Errors

Errors

HTTP status patterns and debugging guidance.

Common Status Codes

  • 400 Bad Request: malformed or invalid payload.
  • 401 Unauthorized: missing/invalid API key or credentials.
  • 429 Too Many Requests: starter-tier quota reached.
  • 500 Internal Server Error: unexpected server/database issue.
  • 502 Bad Gateway: backend tool execution failed.

Example Error

{
  "error": "Invalid API key"
}

Troubleshooting Checklist

  1. Verify endpoint path and method.
  2. Check JSON body shape and field names.
  3. Confirm X-API-Key header is present and current.
  4. Inspect response status before parsing body assumptions.