Skip to main content
When things go wrong, these playbooks help you recover quickly. Each entry includes the error, root cause, and exact recovery steps.

Error Taxonomy


Authentication Errors

401 Unauthorized / auth_required

Cause: OAuth token expired or session invalid. Example response:
Recovery: Most MCP clients handle token refresh automatically. If you get a persistent 401:
  1. Reconnect: Disconnect and reconnect the MCP server in your client
  2. Re-authorize: Your browser will open for OAuth sign-in
  3. Retry: The failed tool call should work after re-auth
If using OpenClaw, click Disconnect then re-pair from the dashboard.
OAuth tokens are refreshed transparently by your MCP client. Persistent 401s usually mean the refresh token has expired — just reconnect.

Workspace Errors

workspace_not_set

Cause: No active workspace selected for this session. Example response:
Recovery:
Most tool calls require an active workspace. Call workspace action=set early in your session.

Entity Errors

entity_not_found

Cause: The entity ID doesn’t exist or you don’t have access. Example response:
Recovery:
Common causes:
  • Typo in entity ID
  • Entity was deleted or archived
  • Entity belongs to a different workspace

hierarchy_incomplete

Cause: Attempting to complete an entity with unfinished child work. Example response:
Recovery:
Using force: true skips hierarchy verification. Only use when you’re sure incomplete children are acceptable.

stale_version

Cause: Another process modified the entity between your read and write. Example response:
Recovery:
  1. Re-read the entity with orgx_search (with id parameter)
  2. Apply your changes to the fresh data
  3. Retry the update

Agent Errors

spawn_blocked

Cause: Trust level insufficient for the requested action, or budget exhausted. Example response:
Recovery:
If trust is insufficient:
  • Escalate to a human for approval
  • Use orgx_spawn to understand what’s needed
  • Build trust by completing supervised tasks first

budget_exhausted

Cause: Autonomous session hit its max_cost_usd limit. Example response:
Recovery:
  • Review the morning brief: orgx_recommend
  • Start a new session with adjusted budget if needed
  • The hard stop is intentional — no overspend is possible

Rate Limiting

429 Too Many Requests

Cause: Exceeded rate limits. Example response:
Recovery: Check response headers:
Wait until X-RateLimit-Reset timestamp, then retry. For batch operations, use batch_create_entities instead of multiple orgx_write calls.

Permission Errors

403 permission_denied

Cause: The authenticated user does not have the required scopes or role for this action. Example response:
Recovery:
  1. Check your current scopes via your MCP client or the get_my_trust_context tool
  2. Disconnect and reconnect the MCP server, selecting broader scopes during OAuth
  3. If using a tool profile, verify the profile grants the required permissions
  4. Ask a workspace admin to elevate your role if needed

Validation Errors

400 invalid_input

Cause: Request validation failed due to missing or malformed fields. Example response:
Recovery:
  1. Read the details.errors array to identify which fields failed validation
  2. Correct the parameter types and values — refer to the tool catalog for expected schemas
  3. Ensure all required fields are present before retrying

Internal Errors

500 server_error

Cause: An unexpected internal error occurred on the server. Example response:
Recovery:
  1. Retry the request after a short delay (start with 1 second, use exponential backoff)
  2. If the error persists after 3 retries, note the request_id from the response
  3. Contact support with the request_id for investigation
  4. Check the Orgx status page for any ongoing incidents

Connection Issues

MCP connection refused

Checklist:
  1. Verify the hosted MCP URL is https://mcp.useorgx.com/mcp for normal client setup
  2. Use https://mcp.useorgx.com/sse only if your client explicitly asks for legacy SSE
  3. Verify network access to mcp.useorgx.com
  4. Reconnect to trigger fresh OAuth flow
  5. Check that npx mcp-remote is installed and up to date

Tools not appearing after config change

  1. Restart your IDE completely (not just reload)
  2. Verify mcp.json has valid JSON syntax
  3. Check that the args array is correctly formatted
  4. If using a profile, verify the profile name: ?profile=memory or ?profile=commander

Realtime voice connect fails

  1. Confirm the browser has microphone permission for useorgx.com
  2. Start the connection from a user gesture, such as clicking Connect
  3. Sign in to an OrgX workspace before retrying; the app uses short-lived realtime session credentials
  4. If realtime remains unavailable, continue with text input and capture the request ID for support

Linear or billing actions fail

  1. For Linear auth errors, reconnect Linear from Settings → Integrations
  2. Retry the original action after the reconnect completes
  3. For Stripe checkout or billing portal errors, retry once and contact support with the request ID if it persists

Quick Reference


Next Steps

Agent Quickstart

Start from scratch with a working connection.

Tool Profiles

Reduce surface area and token usage.