Skip to content
Troubleshooting

Error Handling and Troubleshooting

How to understand and resolve errors from Armbrain MCP tools, and how to diagnose common issues during setup and daily use.


Error Response Format

All Armbrain tool errors return a structured JSON object:

{
  "error": true,
  "code": "NO_ACTIVE_MIND",
  "message": "No active client. Call switch_client first."
}

The code field identifies the error type. The message field provides a human-readable explanation and, in many cases, a suggested action.


Error Code Reference

NO_ACTIVE_MIND

What it means: You tried to use a tool that requires an active client mind, but no client mind is selected.

When you see it: On any tool call except mind, switch_client, and the cross-client daily loop tools (briefing, briefing, memory, briefing).

How to fix:

"Switch to Acme Corp"

The active client mind resets every time the MCP server process restarts (e.g., when you reopen Claude Code). Always switch to your target client at the start of a session.


MIND_NOT_FOUND

What it means: No client mind matches the name you provided, and create_new was not set to true.

When you see it: When calling switch_client with a name that doesn't match any existing client mind.

How to fix: The error response includes a list of all existing client mind names so you can spot typos:

"Switch to Acm Corp"
→ Error: No mind matching 'Acm Corp'. Existing minds: Acme Corp, Bluebell, Julica

Either fix the name or create a new client mind:

"Set up a new client called Acm Corp"

MIND_ARCHIVED

What it means: The client mind you're trying to switch to has been archived.

When you see it: When calling switch_client for an archived client.

How to fix: In the current version, unarchiving requires direct database access:

UPDATE client_minds SET archived_at = NULL WHERE slug = 'acme-corp';

An archive_mind tool with unarchive support is planned for a future release.


VALIDATION_ERROR

What it means: Content failed a guardrail check before storage. This is separate from parameter validation — guardrails check the content itself.

Common causes:

ToolTriggerFix
store_memory, memoryContent exceeds 10,000 charactersShorten the content or split into multiple memories
ingestContent exceeds 50,000 charactersTrim or split the document
ingestTranscript exceeds 150,000 charactersSplit the transcript into multiple meeting entries
Any storage toolInvalid UTF-8 encoding (bad characters)Re-copy the text from the source — the original may have encoding issues
Any storage toolToken budget exceeded (~100,000 tokens)This is a safety limit for extremely large content. Break into smaller pieces

Note: Guardrails also scan content for prompt injection patterns and PII. These are flagged only, never blocked — you won't see a VALIDATION_ERROR for them. PII-containing memories are automatically tagged sensitive. See Memory Storage and Search for details.


INVALID_INPUT

What it means: A parameter is missing, malformed, or out of range.

Common causes:

ToolTriggerFix
store_memoryContent emptyProvide content to store
store_memorySummary exceeds 500 charactersProvide a shorter summary
set_brand_voiceJSON shape doesn't match expected structureSee the Brand DNA field definitions in the Brand DNA guide
mindInvalid cadence or company_info shapeProvide valid JSON with required fields
business_osCSV/JSON parse failure or no valid initiativesCheck your CSV format and column names
business_osStatus not one of the valid valuesUse: on_track, off_track, at_risk, complete, dropped
business_osStatus not one of the valid valuesUse: not_started, in_progress, complete, blocked, cut
memoryDatetime missing timezone infoUse ISO 8601 with timezone: 2026-03-21T10:00:00-05:00

INVALID_BRAND_DNA

What it means: The Brand DNA JSON you provided doesn't match the expected schema.

How to fix: Check the field structures in the Brand DNA guide. Common issues:


SERVICE_UNAVAILABLE

What it means: The embedding service (Voyage AI via the gateway) is unreachable.

When you see it: On search_memory when embeddings can't be generated for the query.

Impact: Semantic search is impossible without embeddings. However:

How to fix: Check your internet connection and API key. The embedding service runs through the gateway at api.armbrain.io.


MEMORY_NOT_FOUND

What it means: The memory ID you're trying to hide doesn't exist, or it belongs to a different client mind.

When you see it: On memory when the UUID is wrong or the memory belongs to another client.

How to fix: Search for the memory first to get the correct ID, or verify you're switched to the right client.


ACCESS_DENIED

What it means: Your API key doesn't have access to the selected client mind.

When you see it: When trying to access a client mind owned by a different customer, or a client mind you haven't been granted access to.

How to fix: Verify you're using the correct API key. If you're trying to access a shared client mind (team feature), confirm that access has been granted.


ACCOUNT_INACTIVE

What it means: Your customer account exists but has been deactivated.

When you see it: During gateway authentication, when your API key is valid but the account's active flag has been set to false.

How to fix: Contact support. This typically happens when a trial expires or an account is suspended. Your data is still there — it just needs to be reactivated.


PROVISIONING_ERROR

What it means: The gateway couldn't identify your account during startup provisioning.

When you see it: When your API key is invalid or the gateway is unreachable.

How to fix: Verify that your API key is entered correctly in your Connector settings. Go to Claude Desktop Settings > Connectors > Armbrain > Configure and confirm the key. If the problem persists, check that you can reach api.armbrain.io in your browser.


MIGRATION_REQUIRED

What it means: A tool requires a database table that hasn't been created yet (migration not applied).

When you see it: On Business OS tools (business_os, get_rocks, etc.), daily loop tools (memory, etc.), or memory (commitment tracking).

How to fix: This is handled automatically by the server. If you see this error, try again in a few minutes or contact support at armbrain@volacci.com.


Connection Issues

Armbrain runs as a remote MCP connector. If your connection fails, Claude Desktop will show an error when you try to use any Armbrain tool.

IssueWhat You SeeFix
No API keyTools fail with authentication errorGo to Claude Desktop Settings > Connectors > Armbrain > Configure, and enter your API key
Invalid API keyProvisioning failureVerify the key is correct in your Connector settings
Server unreachableConnection timeout or failureCheck your internet connection. If the problem persists, the server may be temporarily down -- try again in a few minutes
Embedding service downSearch returns no results, but storage worksThis is temporary. Memories will still be stored and available in meeting prep. Search will resume when the service recovers

Common Issues and Solutions

"My search isn't returning relevant results"

"My meeting brief is missing information"

"I accidentally stored wrong information"

  1. Hide the incorrect memory: "Hide that memory about LinkedIn ads"
  2. Store the corrected version: "Remember: We're resuming LinkedIn ads in Q3"

There's no edit-in-place yet. The pattern is: hide the wrong one, store the right one.

"I can't tell if the client switch worked"

After switching, Armbrain confirms with the client mind name and memory count. If you're unsure:

"Which client am I on?"
"List my clients"

Key Details