Skip to content

Error Reference

Every error the system produces includes an error code (e.g. ERR_AI_AUTH_INVALID) displayed in the user-facing message. This directory contains a detailed runbook for each error code.

How to Use

When a user reports an error, find the error code in their message and look up the corresponding document below for root cause analysis and resolution steps.

Error Codes

AI / LLM Errors

CodeNameRetryableDoc
ERR_AI_AUTH_INVALIDAI Authentication FailedNoai-auth-invalid.md
ERR_AI_RATE_LIMITEDAI Rate LimitedYesai-rate-limited.md
ERR_AI_OVERLOADEDAI OverloadedYesai-overloaded.md
ERR_AI_CONTEXT_TOO_LONGAI Context Too LongNoai-context-too-long.md
ERR_AI_PERMISSION_DENIEDAI Permission DeniedNoai-permission-denied.md

External Service Errors

CodeNameRetryableDoc
ERR_MARKER_SUBMIT_FAILEDMarker Submission FailedYesmarker-submit-failed.md
ERR_MARKER_TIMEOUTMarker TimeoutYesmarker-timeout.md
ERR_MARKER_API_KEY_INVALIDMarker API Key InvalidNomarker-api-key-invalid.md
ERR_MATHPIX_SUBMIT_FAILEDMathpix Submission FailedYesmathpix-submit-failed.md
ERR_MATHPIX_TIMEOUTMathpix TimeoutYesmathpix-timeout.md
ERR_EMAIL_SEND_FAILEDEmail Send FailedYesemail-send-failed.md
ERR_STRIPE_ERRORStripe ErrorYesstripe-error.md
ERR_STRIPE_INVALID_SIGNATUREStripe Invalid SignatureNostripe-invalid-signature.md

Storage Errors

CodeNameRetryableDoc
ERR_STORAGE_READ_FAILEDStorage Read FailedYesstorage-read-failed.md
ERR_STORAGE_WRITE_FAILEDStorage Write FailedYesstorage-write-failed.md
ERR_KV_READ_FAILEDKV Read FailedYeskv-read-failed.md
ERR_KV_WRITE_FAILEDKV Write FailedYeskv-write-failed.md

Database Errors

CodeNameRetryableDoc
ERR_DB_CONNECTION_FAILEDDatabase Connection FailedYesdb-connection-failed.md
ERR_DB_QUERY_FAILEDDatabase Query FailedYesdb-query-failed.md
ERR_CREDITS_DEDUCTION_FAILEDCredit Deduction FailedYescredits-deduction-failed.md
ERR_CREDITS_INSUFFICIENTInsufficient CreditsNocredits-insufficient.md

Authentication Errors

CodeNameRetryableDoc
ERR_AUTH_TOKEN_MISSINGAuth Token MissingNoauth-token-missing.md
ERR_AUTH_TOKEN_EXPIREDAuth Token ExpiredNoauth-token-expired.md
ERR_AUTH_JWKS_FETCH_FAILEDAuth JWKS Fetch FailedYesauth-jwks-fetch-failed.md

PDF Processing Errors

CodeNameRetryableDoc
ERR_PDF_CORRUPTPDF CorruptNopdf-corrupt.md
ERR_PDF_PASSWORD_PROTECTEDPDF Password ProtectedNopdf-password-protected.md
ERR_PDF_TOO_LARGEPDF Too LargeNopdf-too-large.md
ERR_CONVERSION_TIMEOUTConversion TimeoutYesconversion-timeout.md
ERR_CONVERSION_EMPTY_OUTPUTConversion Empty OutputYesconversion-empty-output.md

Network Errors

CodeNameRetryableDoc
ERR_NETWORK_OFFLINENetwork OfflineYesnetwork-offline.md
ERR_NETWORK_TIMEOUTNetwork TimeoutYesnetwork-timeout.md
ERR_SERVER_UNAVAILABLEServer UnavailableYesserver-unavailable.md

URL Fetch Errors

CodeNameRetryableDoc
ERR_URL_SSRF_BLOCKEDURL SSRF BlockedNourl-ssrf-blocked.md
ERR_URL_TIMEOUTURL TimeoutYesurl-timeout.md
ERR_URL_FETCH_FAILEDURL Fetch FailedYesurl-fetch-failed.md
ERR_URL_NOT_PDFURL Not PDFNourl-not-pdf.md