Skip to main content

For AI agents: docs.octen.ai/resources/error-codes.md

API Errors

Error Response Structure

All error responses follow a consistent structure:

Response Fields

Auto Search endpoints (/v1/chat/completions, /v1/messages, /v1/images/generations, /v1/videos) return errors in the native OpenAI or Anthropic format, which does not include request_id in the body. For those, read the x-request-id response header, which every endpoint returns on error.

Extract: Partial Failures

A request to Extract may return 200 OK overall while individual URLs within the request fail; failed URLs are marked with status: "failed" and include an error_message. Failed URLs are not billed. Example response with partial failures:
Common error_message values returned by Extract:

Monitor Error Codes

Monitor endpoints return a six-digit code for Monitor errors, such as 400107 or 404101. The first three digits are the HTTP status. Handle codes not listed below by their HTTP status; for 400 codes, msg names the invalid field.

Monitor: Failed and Skipped Runs

A run that fails or is skipped doesn’t return an error. Check its status, skip_reason, and error_code with List Monitor Runs.

Getting Help

If you encounter persistent errors or need clarification:
  • API Reference: Check our API Documentation for parameter requirements
  • Rate Limits: Review the Rate Limits page for your plan
  • Status Page: Visit status for real-time system status
  • Contact Support: Email support@octen.ai with your request_id

Last modified on November 24, 2026