Skip to content
GitHubBuy Me A Coffee

Troubleshooting

Fixes for the most common Obsilo issues. If your problem isn't here, check the Debug tab in settings or ask in the community forum.

Model connection issues

Symptom: "Connection failed" or "API key invalid" when testing a model.

CauseSolution
Wrong API keyDouble-check the key in Settings > Models. Regenerate it at the provider's website if unsure.
Expired keySome providers expire keys after inactivity. Generate a new one.
Wrong base URLFor Azure and custom endpoints, verify the full URL including /v1 if required.
Rate limitedWait a few minutes and try again. Consider setting a rate limit in Settings > Loop.
Firewall or proxyObsidian uses Electron's network stack. Check that your firewall allows outbound HTTPS.

Test button

Always use the Test connection button after adding or changing a model. It verifies the key, endpoint, and model name in one step.

Semantic search not working

Symptom: semantic_search returns no results, or the agent says the index is not available.

CauseSolution
No embedding model configuredGo to Settings > Embeddings and set up an embedding model (e.g., OpenAI text-embedding-3-small).
Index not builtClick Rebuild index in Settings > Embeddings. First build can take a few minutes for large vaults.
Embedding API key missingThe embedding model may need its own API key. Check the embeddings settings.
Auto-index disabledIf auto-index is off, new or changed notes won't be indexed. Enable it or rebuild manually.
Vault too largeFor vaults with 10,000+ notes, the initial build may take a while. Let it finish before searching.

Agent stuck in a loop

Symptom: The agent keeps calling tools repeatedly without making progress, or hits the iteration limit.

CauseSolution
Weak modelSmaller or older models sometimes repeat themselves. Switch to a stronger model (Claude Sonnet, GPT-4o).
Consecutive error limit too highLower it in Settings > Loop > Consecutive error limit (default: 3).
Max iterations too highSet a reasonable cap in Settings > Loop > Max iterations (default: 25).
Tool permission denied repeatedlyThe agent asks for approval but you haven't responded. Approve or deny to let it continue.
Context overflowEnable context condensing in Settings > Loop. Lower the condensing threshold if you see 400-errors.

Emergency stop

Click the Stop button in the chat toolbar at any time to halt the agent. You can undo any changes already made via the checkpoint system.

Permission issues

Symptom: The agent says it cannot perform an action, or approvals keep appearing for routine tasks.

CauseSolution
Auto-approve not enabledGo to Settings > Permissions and enable auto-approve for categories you trust.
File is in the ignore listCheck .obsidian-agentignore in your vault root. Remove the path if the agent should access it.
File is protectedCheck .obsidian-agentprotected. The agent can read but not write these files.
Mode restricts toolsThe current mode may not include the needed tool group. Switch to Agent mode or edit the mode's tools.

MCP server not connecting

Symptom: "Failed to connect" or "Server unreachable" when adding or using an MCP server.

CauseSolution
Wrong transport typeOnly SSE and streamable-http are supported. Stdio doesn't work in Obsidian's Electron runtime.
Server not runningVerify the MCP server is running and accessible at the configured URL.
Wrong URLCheck the server URL. Common format: http://localhost:3000/sse or http://localhost:3000/mcp.
CORS issuesIf the MCP server runs locally, it may need CORS headers. Check the server's documentation.
Network timeoutIncrease the connection timeout in the MCP server settings, or check your network.

Performance problems

Symptom: Obsidian feels slow, the agent takes a long time, or the UI lags.

CauseSolution
Large vault indexingThe semantic index build runs in the background. Wait for it to finish.
Too many concurrent sub-agentsLimit subtask depth in Settings > Loop (default: 2).
Large context windowEnable context condensing to keep the conversation from growing too large.
Many MCP serversEach connected server maintains an active connection. Remove unused servers.
Slow modelLocal models on limited hardware can be slow. Try a smaller model or use a cloud provider.

Memory not extracting

Symptom: The agent doesn't remember things from previous conversations.

CauseSolution
Memory extraction disabledEnable it in Settings > Memory > Memory extraction.
Chat history disabledMemory extraction requires saved conversations. Enable Chat history first.
Threshold too highLower the Memory threshold in settings (default: 0.7). A value of 0.5 captures more memories.
Wrong memory modelIf the memory model isn't configured or is offline, extraction silently fails. Check Settings > Memory > Memory model.
Short conversationsVery brief exchanges may not contain extractable facts. This is normal.

Common error messages

ErrorMeaningFix
400: context_length_exceededThe conversation is too long for the model's context window.Enable context condensing. Start a new chat for fresh context.
400: tool_use ids were found without tool_resultAnthropic / Claude-via-Copilot rejected the request because the conversation history had an orphan tool call. Usually caused by an aborted stream or a resumed crashed conversation.v2.5.0 sanitises the history automatically on every API call, so this should no longer surface. If it does, start a new conversation.
400: Unsupported parameter: 'max_tokens' is not supportedOld Copilot code path sending the wrong token-limit parameter.v2.5.0 sends max_completion_tokens for every Copilot model. Update Obsilo.
401: UnauthorizedInvalid or expired API key.Re-enter the key in Settings > Models.
429: Rate limit exceededToo many API calls in a short time.Set a rate limit in Settings > Loop, or wait and retry.
ECONNREFUSEDLocal server (Ollama, LM Studio) isn't running.Start the local server, then retry.
Checkpoint failedCould not create a file snapshot before editing.Check disk space. Increase snapshot timeout in Settings > Vault.
Drawio / Diagrams plugin says "Not a diagram file" when opening a file the agent wroteHand-authored .drawio.svg without a valid mxfile wrapper.Delete the broken file. Ask the agent again. v2.5.0 blocks direct write_file for .drawio.svg and routes to the built-in create_drawio tool, which writes a plugin-compatible format.

Debug tab

The Debug tab in settings shows the agent's internal ring buffer (last 100 log entries), the generated system prompt, and connection status for each provider. Start here when something behaves unexpectedly.