Error Codes

Complete reference of 30 error codes across 11 categories returned by the Taxonomy Service.

Error response formatjson
{
  "error": {
    "code": "TAX_1000",
    "message": "The requested taxonomy was not found",
    "http": 404
  }
}

TaxonomyTAX_1000-1099

CodeHTTPNameDescriptionResolution
TAX_1000404TAXONOMY_NOT_FOUNDThe requested taxonomy was not foundVerify the taxonomy name exists for this tenant
TAX_1001409TAXONOMY_ALREADY_EXISTSA taxonomy with this name already existsUse a different name or update the existing taxonomy
TAX_1002409TAXONOMY_LOCKEDThis taxonomy is currently locked by another userWait for the lock to be released or contact the lock holder
TAX_1003409TAXONOMY_PUBLISHEDCannot modify a published taxonomyUnpublish or create a new version first
TAX_1004404TAXONOMY_VERSION_NOT_FOUNDThe requested taxonomy version was not foundVerify the version number or ID exists

Taxonomy ItemTAX_1100-1199

CodeHTTPNameDescriptionResolution
TAX_1100404TAXONOMY_ITEM_NOT_FOUNDThe requested taxonomy item was not foundVerify the item key exists in the taxonomy
TAX_1101409TAXONOMY_ITEM_ALREADY_EXISTSA taxonomy item with this key already existsUse a different key or update the existing item
TAX_1102400MAX_DEPTH_EXCEEDEDMaximum hierarchy depth exceededReduce nesting depth or increase the taxonomy maxDepth
TAX_1103400CIRCULAR_REFERENCECircular reference detected in taxonomy hierarchyCheck parentKey assignments for cycles
TAX_1104400INVALID_PARENTParent item not found in taxonomyVerify the parentKey exists in the taxonomy

QuotaTAX_1200-1299

CodeHTTPNameDescriptionResolution
TAX_1200429QUOTA_EXCEEDEDQuota limit exceeded for this operationUpgrade subscription tier or wait for quota reset
TAX_1201402INSUFFICIENT_CREDITSInsufficient AI credits to perform this operationPurchase additional AI credits or use non-AI features

Import/ExportTAX_1300-1399

CodeHTTPNameDescriptionResolution
TAX_1300400BULK_IMPORT_FAILEDBulk import operation failedCheck import data format and structure
TAX_1301400INVALID_IMPORT_FORMATInvalid import file formatUse supported formats: json, csv, excel
TAX_1302400IMPORT_VALIDATION_FAILEDImport data validation failedReview validation errors in response and fix data

AuthenticationTAX_1400-1499

CodeHTTPNameDescriptionResolution
TAX_1400401UNAUTHORIZEDAuthentication requiredProvide a valid JWT token in Authorization header
TAX_1401403FORBIDDENInsufficient permissionsRequest required role from admin
TAX_1402401INVALID_TOKENInvalid or expired authentication tokenObtain a fresh JWT token
TAX_1403403MISSING_PERMISSIONSRequired permissions are missingRequest the necessary permissions from admin

ValidationTAX_1500-1599

CodeHTTPNameDescriptionResolution
TAX_1500400VALIDATION_FAILEDRequest validation failedCheck request body against API docs
TAX_1501400INVALID_INPUTInvalid input providedReview field constraints (type, min/max, pattern)
TAX_1502400MISSING_REQUIRED_FIELDRequired field is missingAdd the required field to the request body

AI ServiceTAX_1600-1699

CodeHTTPNameDescriptionResolution
TAX_1600502AI_SERVICE_ERRORAI service encountered an errorRetry; AI service may be temporarily unavailable
TAX_1601502AI_SUGGESTION_FAILEDFailed to generate AI suggestionsCheck AI credits and retry
TAX_1602502AI_COVERAGE_ANALYSIS_FAILEDFailed to analyze taxonomy coverageRetry; ensure taxonomy has items to analyze
TAX_1603502AI_DUPLICATE_DETECTION_FAILEDFailed to detect duplicate itemsRetry; ensure taxonomy has items to compare

Rate LimitingTAX_1700-1799

CodeHTTPNameDescriptionResolution
TAX_1700429RATE_LIMIT_EXCEEDEDRate limit exceededWait and retry after the rate limit window resets
TAX_1701429TOO_MANY_REQUESTSToo many requests in a short time periodImplement exponential backoff in client

External ServiceTAX_1800-1899

CodeHTTPNameDescriptionResolution
TAX_1800502EXTERNAL_SERVICE_ERRORExternal service errorRetry; the downstream service may be temporarily unavailable
TAX_1801502AIBRAIN_SERVICE_ERRORAI Brain service unavailableRetry; aibrain-svc may be restarting on ECS Fargate
TAX_1802502WALLET_SERVICE_ERRORWallet service unavailableRetry; wallet-svc may be temporarily unavailable
TAX_1803502I18N_SERVICE_ERRORInternationalization service unavailableRetry; i18n-svc may be temporarily unavailable
TAX_1804502RAG_SERVICE_ERRORRAG service unavailableRetry; rag-svc may be restarting on ECS Fargate

DatabaseTAX_1900-1999

CodeHTTPNameDescriptionResolution
TAX_1900500DATABASE_ERRORDatabase operation failedRetry; Aurora Serverless may be scaling up
TAX_1901500TRANSACTION_FAILEDDatabase transaction failedRetry the operation
TAX_1902409CONSTRAINT_VIOLATIONDatabase constraint violationCheck for unique constraint conflicts

GeneralTAX_2000-2099

CodeHTTPNameDescriptionResolution
TAX_2000500INTERNAL_SERVER_ERRORInternal server errorRetry; if persistent, contact support with request_id
TAX_2001503SERVICE_UNAVAILABLEService temporarily unavailableRetry with exponential backoff
TAX_2002504TIMEOUTRequest timeoutReduce request complexity or retry