Error Codes
When the Extend API returns an error, the response includes an error object with a code, message, and retryable field to help you understand what went wrong and how to handle it. A requestId is also included when available. For validation errors, a docUrl field may also be present with a link to relevant documentation.
Error Response Structure
General Error Codes
These error codes are returned across all endpoints:
Domain-specific error codes (e.g. for parse runs, extract runs) are also returned — use the retryable field to determine if a request can be retried, and the message field for debugging.
Handling Errors
Recommended Approach
- Check
retryableto determine if the request can be retried - Use the
codefor specific programmatic handling - Log the
requestIdfor debugging and support requests - Display the
messageto users when appropriate - Check
docUrlfor a link to documentation that can help resolve the error
Example Error Handling
Getting Help
When contacting support about an error, always include:
- The
requestIdfrom the error response - The timestamp of when the error occurred
- The endpoint you were calling
- The error
code
This information helps us quickly identify and resolve issues.

