API Reference
Error codes
Every error returned by the Aethar API suite, documented with a stable URL. Deep-link any code from logs, Sentry, or your agent runtime straight to this reference. Each page includes an example payload and recovery steps.
31
Codes
11
Categories
9
HTTP statuses
Authentication
04 codes401
MISSING_API_KEYAPI key is missing. The X-API-Key header is required on every request.401INVALID_API_KEYAPI key is invalid or malformed. Check for typos — keys have prefixes like wa_, cl_, sk_, ei_, eu_.401DEACTIVATED_KEYAPI key has been deactivated. Generate a new key in console.aethar.dev.401EXPIRED_KEYAPI key has expired. Generate a new key to continue.Authorization
01 codeRate limiting
01 codeInfrastructure
02 codesValidation
01 codeSalary (WageAPI)
03 codesCompliance (WageAPI)
06 codes200
DIRECTIVE_NOT_TRANSPOSEDWarning: Country has not yet transposed EU Directive 2023/970 on pay transparency — response uses directive defaults.400RANGE_MISSINGInvalid salary range. `min_salary` must be positive and less than `max_salary`.400BELOW_MINIMUM_WAGEMinimum salary is below the national minimum wage for this country.400BELOW_MARKETEntire salary range is below the 25th percentile benchmark.400ABOVE_MARKETEntire salary range is above the 75th percentile benchmark.400RANGE_TOO_WIDESalary range exceeds 100% of the benchmark mean. Narrow it for a realistic posting.Cost of Living (CostAPI)
02 codesSkills (SkillsAPI)
02 codesE-Invoicing (EInvoiceAPI)
07 codes400
UNSUPPORTED_FORMATInvoice format not supported.400CONVERSION_FAILEDInvoice conversion failed. Source document likely missing EN 16931 required fields.400SCHEMATRON_FAILEDInvoice failed regulatory validation (Schematron rules). Response includes the failing rule.400UNANONYMIZED_PII_DETECTEDResidual PII detected after anonymization step. Manually redact before submitting.500ANONYMIZATION_INTEGRITY_ERRORAI output failed deanonymization integrity check. Retry the request.503AI_SERVICE_ERRORAI service unavailable. Retry after a few seconds.404NOT_FOUNDDocument not found or expired. Converted documents have a 24-hour TTL.