Error Handling
Status Code | Name | Description |
---|---|---|
400 | JSON decoding error | LLM call failed. Response is too large to be decoded as a JSON. Try setting array_extract to true |
400 | Invalid URL format | Invalid S3 URL format - must be s3://bucket-name/key |
400 | File download failure | Failed to download file from url. Please check the document url and try again |
403 | Permission error | Access forbidden when downloading file |
403 | PDF processing error | Unable to write to output file |
404 | File access error | Input PDF file not found |
415 | File conversion error | Failed to convert pdf to images. Please check the file format |
415 | General conversion error | Error converting pdf to images |
415 | PDF handling error | Error processing PDF |
422 | Schema validation error | The provided schema is not valid JSON |
422 | Table processing error | Failed to process table after {MAX_ATTEMPTS} attempts |
442 | Document access error | Cannot process password protected document |
500 | Content extraction error | Error extracting content |
500 | Citation extraction error | Error extracting citations |
500 | PDF metadata error | PDF metadata is corrupted, could not read |
502 | LLM service error | LLM provider internal server error |
503 | License logging error | Error logging license key usage |
503 | Table processing error | Error processing table |
504 | LLM timeout error | LLM provider timed out |
504 | Document conversion timeout | Docx conversion timed out after 45 seconds |
Retriable Status Codes
The following codes are retriable.
502, 503, 504, 408, 429
Updated 10 days ago