Error Codes

Complete reference of 76 error codes across 14 categories returned by the Cypher Service.

Error response formatjson
{
  "error": {
    "code": "ERR_CYPHER_SVC_CONVERSATION_NOT_FOUND",
    "message": "Conversation not found",
    "statusCode": 404
  }
}

Conversation1000-1099

CodeHTTPNameDescriptionResolution
ERR_CYPHER_SVC_CONVERSATION_NOT_FOUND404CONVERSATION_NOT_FOUNDConversation not foundVerify the threadId exists
ERR_CYPHER_SVC_CONVERSATION_ALREADY_EXISTS409CONVERSATION_ALREADY_EXISTSConversation already exists with this thread IDUse a different threadId or resume the existing conversation
ERR_CYPHER_SVC_CONVERSATION_INVALID_STATE422CONVERSATION_INVALID_STATEConversation is in an invalid stateCheck conversation status before performing the action
ERR_CYPHER_SVC_CONVERSATION_STATE_TRANSITION_INVALID422STATE_TRANSITION_INVALIDInvalid state transition attemptedFollow the valid state machine: active -> completed/archived
ERR_CYPHER_SVC_CONVERSATION_MAX_MESSAGES_EXCEEDED422MAX_MESSAGES_EXCEEDEDMaximum messages per conversation exceededStart a new conversation or upgrade subscription tier
ERR_CYPHER_SVC_CONVERSATION_ARCHIVED410CONVERSATION_ARCHIVEDConversation has been archivedStart a new conversation
ERR_CYPHER_SVC_CONVERSATION_EXPIRED410CONVERSATION_EXPIREDConversation has expiredStart a new conversation

Session1100-1199

CodeHTTPNameDescriptionResolution
ERR_CYPHER_SVC_SESSION_NOT_FOUND404SESSION_NOT_FOUNDSession not foundCreate a new session via /command
ERR_CYPHER_SVC_SESSION_EXPIRED401SESSION_EXPIREDSession has expiredCreate a new session
ERR_CYPHER_SVC_SESSION_INVALID401SESSION_INVALIDInvalid sessionVerify session ID and re-authenticate
ERR_CYPHER_SVC_SESSION_MAX_CONCURRENT_EXCEEDED429MAX_CONCURRENT_EXCEEDEDMaximum concurrent sessions exceededClose existing sessions or upgrade tier

Task1200-1299

CodeHTTPNameDescriptionResolution
ERR_CYPHER_SVC_TASK_NOT_FOUND404TASK_NOT_FOUNDTask not foundVerify the taskId exists
ERR_CYPHER_SVC_TASK_ALREADY_EXISTS409TASK_ALREADY_EXISTSTask already existsUse a different idempotency key
ERR_CYPHER_SVC_TASK_EXECUTION_FAILED500TASK_EXECUTION_FAILEDTask execution failedRetry; check task logs for details
ERR_CYPHER_SVC_TASK_INVALID_STATUS422TASK_INVALID_STATUSInvalid task statusVerify task is in a valid state for the operation
ERR_CYPHER_SVC_TASK_MAX_RETRIES_EXCEEDED500MAX_RETRIES_EXCEEDEDMaximum task retries exceededCreate a new task; investigate root cause
ERR_CYPHER_SVC_TASK_TIMEOUT504TASK_TIMEOUTTask execution timeoutReduce task complexity or retry

Nudge1300-1399

CodeHTTPNameDescriptionResolution
ERR_CYPHER_SVC_NUDGE_NOT_FOUND404NUDGE_NOT_FOUNDNudge not foundVerify the nudgeId exists
ERR_CYPHER_SVC_NUDGE_ALREADY_SENT409NUDGE_ALREADY_SENTNudge has already been sentSchedule a new nudge instead
ERR_CYPHER_SVC_NUDGE_SCHEDULING_FAILED500SCHEDULING_FAILEDFailed to schedule nudgeRetry; check notification service availability
ERR_CYPHER_SVC_NUDGE_MAX_SCHEDULED_EXCEEDED422MAX_SCHEDULED_EXCEEDEDMaximum scheduled nudges exceededCancel existing nudges or upgrade tier

Intent & NLU1400-1499

CodeHTTPNameDescriptionResolution
ERR_CYPHER_SVC_INTENT_DETECTION_FAILED500INTENT_DETECTION_FAILEDFailed to detect user intentRetry; AI service may be temporarily unavailable
ERR_CYPHER_SVC_INTENT_UNKNOWN422INTENT_UNKNOWNCould not determine user intentRephrase the message with clearer intent
ERR_CYPHER_SVC_INTENT_CONFIDENCE_TOO_LOW422CONFIDENCE_TOO_LOWIntent confidence is too lowProvide more context in the message
ERR_CYPHER_SVC_ENTITY_EXTRACTION_FAILED500ENTITY_EXTRACTION_FAILEDFailed to extract entitiesRetry; NLU service may be overloaded
ERR_CYPHER_SVC_ENTITY_VALIDATION_FAILED422ENTITY_VALIDATION_FAILEDEntity validation failedCheck extracted entity values and formats
ERR_CYPHER_SVC_ENTITY_MISSING_REQUIRED422ENTITY_MISSING_REQUIREDRequired entities are missingInclude all required entities in the message

AI Credits1500-1599

CodeHTTPNameDescriptionResolution
ERR_CYPHER_SVC_INSUFFICIENT_CREDITS402INSUFFICIENT_CREDITSInsufficient AI creditsPurchase credits or upgrade subscription tier
ERR_CYPHER_SVC_CREDIT_RESERVATION_FAILED500CREDIT_RESERVATION_FAILEDFailed to reserve creditsRetry; wallet service may be unavailable
ERR_CYPHER_SVC_CREDIT_DEDUCTION_FAILED500CREDIT_DEDUCTION_FAILEDFailed to deduct creditsCredits were reserved but deduction failed; contact support
ERR_CYPHER_SVC_CREDIT_CALCULATION_ERROR500CREDIT_CALCULATION_ERRORError calculating credit costRetry; internal pricing error

Rate Limiting1600-1699

CodeHTTPNameDescriptionResolution
ERR_CYPHER_SVC_RATE_LIMIT_EXCEEDED429RATE_LIMIT_EXCEEDEDRate limit exceededImplement exponential backoff; check Retry-After header
ERR_CYPHER_SVC_QUOTA_EXCEEDED429QUOTA_EXCEEDEDQuota exceededWait for quota reset or upgrade tier
ERR_CYPHER_SVC_CONCURRENT_LIMIT_EXCEEDED429CONCURRENT_LIMIT_EXCEEDEDConcurrent request limit exceededReduce parallel requests

Tier & Subscription1700-1799

CodeHTTPNameDescriptionResolution
ERR_CYPHER_SVC_TIER_FEATURE_NOT_AVAILABLE403TIER_FEATURE_NOT_AVAILABLEFeature not available in your subscription tierUpgrade to access this feature
ERR_CYPHER_SVC_TIER_LIMIT_EXCEEDED429TIER_LIMIT_EXCEEDEDSubscription tier limit exceededUpgrade tier for higher limits
ERR_CYPHER_SVC_TIER_INVALID422TIER_INVALIDInvalid subscription tierVerify subscription status
ERR_CYPHER_SVC_UPGRADE_REQUIRED402UPGRADE_REQUIREDSubscription upgrade requiredUpgrade to Pro or Enterprise tier

WhatsApp1800-1899

CodeHTTPNameDescriptionResolution
ERR_CYPHER_SVC_WHATSAPP_WEBHOOK_VERIFICATION_FAILED401WEBHOOK_VERIFICATION_FAILEDWhatsApp webhook verification failedCheck verify token configuration
ERR_CYPHER_SVC_WHATSAPP_MESSAGE_SEND_FAILED500MESSAGE_SEND_FAILEDFailed to send WhatsApp messageRetry; check Meta API status
ERR_CYPHER_SVC_WHATSAPP_INVALID_SIGNATURE401INVALID_SIGNATUREInvalid WhatsApp webhook signatureVerify app secret is correct
ERR_CYPHER_SVC_WHATSAPP_INVALID_PAYLOAD400INVALID_PAYLOADInvalid WhatsApp webhook payloadCheck payload format against Meta docs
ERR_CYPHER_SVC_WHATSAPP_PHONE_NOT_REGISTERED404PHONE_NOT_REGISTEREDPhone number not registered for WhatsAppVerify phone number is registered with WhatsApp

AI Service Integration1900-1999

CodeHTTPNameDescriptionResolution
ERR_CYPHER_SVC_AIBRAIN_SERVICE_UNAVAILABLE503AIBRAIN_SERVICE_UNAVAILABLEAIBrain service is unavailableRetry; ECS Fargate service may be scaling
ERR_CYPHER_SVC_AIBRAIN_REQUEST_FAILED500AIBRAIN_REQUEST_FAILEDAIBrain request failedCheck aibrain-svc logs for details
ERR_CYPHER_SVC_LLM_ORCH_SERVICE_UNAVAILABLE503LLM_ORCH_SERVICE_UNAVAILABLELLM Orchestrator service is unavailableRetry; llm-orch-svc may be scaling
ERR_CYPHER_SVC_RAG_SERVICE_UNAVAILABLE503RAG_SERVICE_UNAVAILABLERAG service is unavailableRetry; rag-svc may be scaling
ERR_CYPHER_SVC_MCP_SERVICE_UNAVAILABLE503MCP_SERVICE_UNAVAILABLEMCP service is unavailableRetry; mcp-svc may be scaling
ERR_CYPHER_SVC_TTS_SERVICE_UNAVAILABLE503TTS_SERVICE_UNAVAILABLEText-to-speech service is unavailableRetry or use text-only response
ERR_CYPHER_SVC_STT_SERVICE_UNAVAILABLE503STT_SERVICE_UNAVAILABLESpeech-to-text service is unavailableRetry or send text input instead
ERR_CYPHER_SVC_VIDEO_PERSONA_SERVICE_UNAVAILABLE503VIDEO_PERSONA_UNAVAILABLEVideo persona service is unavailableRetry or fall back to text/audio

Inter-Service2000-2099

CodeHTTPNameDescriptionResolution
ERR_CYPHER_SVC_WALLET_SERVICE_UNAVAILABLE503WALLET_SERVICE_UNAVAILABLEWallet service is unavailableRetry; wallet-svc may be scaling
ERR_CYPHER_SVC_EVENT_SERVICE_UNAVAILABLE503EVENT_SERVICE_UNAVAILABLEEvent service is unavailableRetry; event-svc Lambda may be cold starting
ERR_CYPHER_SVC_USER_SERVICE_UNAVAILABLE503USER_SERVICE_UNAVAILABLEUser service is unavailableRetry; user-svc Lambda may be cold starting
ERR_CYPHER_SVC_NOTIFY_SERVICE_UNAVAILABLE503NOTIFY_SERVICE_UNAVAILABLENotification service is unavailableRetry; notify-svc Lambda may be cold starting
ERR_CYPHER_SVC_INTEGRATION_HUB_UNAVAILABLE503INTEGRATION_HUB_UNAVAILABLEIntegration Hub service is unavailableRetry; integration-hub-svc Lambda may be cold starting

Validation2100-2199

CodeHTTPNameDescriptionResolution
ERR_CYPHER_SVC_VALIDATION_FAILED400VALIDATION_FAILEDValidation failedCheck request body against API docs
ERR_CYPHER_SVC_INVALID_INPUT400INVALID_INPUTInvalid input providedReview field constraints
ERR_CYPHER_SVC_INVALID_PHONE_NUMBER400INVALID_PHONE_NUMBERInvalid phone number formatUse E.164 format (e.g., +1234567890)
ERR_CYPHER_SVC_INVALID_MESSAGE_FORMAT400INVALID_MESSAGE_FORMATInvalid message formatCheck supported message types
ERR_CYPHER_SVC_INVALID_CHANNEL400INVALID_CHANNELInvalid communication channelUse: WEB, MOBILE, WHATSAPP, SMS, VOICE, API
ERR_CYPHER_SVC_MESSAGE_TOO_LONG400MESSAGE_TOO_LONGMessage exceeds maximum lengthShorten message to under 4096 characters

Infrastructure2200-2599

CodeHTTPNameDescriptionResolution
ERR_CYPHER_SVC_IDEMPOTENCY_KEY_CONFLICT409IDEMPOTENCY_KEY_CONFLICTIdempotency key conflictUse a different idempotency key
ERR_CYPHER_SVC_DUPLICATE_REQUEST409DUPLICATE_REQUESTDuplicate request detectedRequest already processed; check previous response
ERR_CYPHER_SVC_CACHE_ERROR500CACHE_ERRORCache operation errorRetry; Redis may be temporarily unavailable
ERR_CYPHER_SVC_DATABASE_ERROR500DATABASE_ERRORDatabase error occurredRetry; Aurora Serverless may be scaling
ERR_CYPHER_SVC_DATABASE_CONNECTION_FAILED503DATABASE_CONNECTION_FAILEDDatabase connection failedRetry after a few seconds
ERR_CYPHER_SVC_KAFKA_PUBLISH_FAILED500KAFKA_PUBLISH_FAILEDFailed to publish Kafka eventEvent may be retried via outbox pattern

General9000-9099

CodeHTTPNameDescriptionResolution
ERR_CYPHER_SVC_INTERNAL_SERVER_ERROR500INTERNAL_SERVER_ERRORInternal server errorRetry; if persistent, contact support with request_id
ERR_CYPHER_SVC_SERVICE_UNAVAILABLE503SERVICE_UNAVAILABLEService temporarily unavailableRetry with exponential backoff
ERR_CYPHER_SVC_TIMEOUT504TIMEOUTRequest timeoutReduce request complexity or retry
ERR_CYPHER_SVC_UNAUTHORIZED401UNAUTHORIZEDUnauthorized accessProvide a valid JWT token
ERR_CYPHER_SVC_FORBIDDEN403FORBIDDENAccess forbiddenCheck required roles/permissions
ERR_CYPHER_SVC_NOT_FOUND404NOT_FOUNDResource not foundVerify the resource ID and path
ERR_CYPHER_SVC_CONFLICT409CONFLICTResource conflictResolve the conflict and retry
ERR_CYPHER_SVC_UNPROCESSABLE_ENTITY422UNPROCESSABLE_ENTITYUnprocessable entityCheck request body format and values