Skip to Content
Error Codes

Error Codes

When a tool encounters an error, it returns a structured error object that AI agents can parse and act on.

Error response format

{ "success": false, "error": { "message": "Human-readable explanation of what went wrong", "code": "ERROR_CODE", "category": "validation", "severity": "low" } }

Error codes

CodeCategorySeverityDescription
INSUFFICIENT_CREDITSapi_client_errorhighAccount has no remaining credits. Upgrade your plan or wait for renewal.
INVALID_DATAPOINTSvalidationlowNot enough identifying data provided. Add more fields (LinkedIn URL, email, or name + company).
INVALID_REQUESTvalidationlowMalformed request. Check required fields and formatting.
INVALID_FILTERSvalidationlowOne or more search filters are invalid. Check filter names and values.
RATE_LIMIT_EXCEEDEDrate_limitmediumToo many requests. Wait before retrying.
INTERNAL_ERRORapi_server_errorhighProspeo encountered an internal error. Retry the request.
INVALID_API_KEYconfigurationcriticalAPI key is invalid. Check your PROSPEO_API_KEY environment variable.
ACCOUNT_RESTRICTEDapi_client_errorcriticalAccount is restricted. Contact support@prospeo.io.
NETWORK_ERRORapi_server_errorhighCould not reach the Prospeo API. Check network connectivity.
TIMEOUTapi_server_errormediumRequest timed out. Try again or increase PROSPEO_TIMEOUT.
VALIDATION_ERRORvalidationlowTool arguments failed schema validation. Check the parameter types and values.

Categories

CategoryMeaning
validationInput data is wrong — fix the request and retry.
configurationSetup issue (bad API key, missing env var).
api_client_errorAccount-level issue (no credits, restricted).
api_server_errorProspeo API or network issue — retry may help.
rate_limitToo many requests — back off and retry.

Severity levels

SeverityMeaning
lowUser can fix by adjusting input.
mediumTransient issue, retry likely works.
highRequires attention (credits, network).
criticalBlocks all operations (bad key, restricted account).