Claude Code issues
"detrics already exists" error
"detrics already exists" error
This happens when you try to add the Detrics MCP server but it is already registered.Fix: Remove the existing server first, then re-add it.
"DETRICS_API_KEY is required" error
"DETRICS_API_KEY is required" error
The MCP server started but could not find your API key in the environment.Causes:
- The API key was not passed correctly when adding the server
- The environment variable name was misspelled
-e DETRICS_API_KEY=... flag is included with your full API key."Unauthorized" or invalid key error
"Unauthorized" or invalid key error
Claude Web OAuth issues
"Authorization failed" or stuck on login page
"Authorization failed" or stuck on login page
"Connection error" when adding the MCP server URL
"Connection error" when adding the MCP server URL
The server URL was entered incorrectly.Fix: The URL must be exactly:No trailing slash, no
/sse suffix, no /mcp path. Just the base URL.Claude cannot access Detrics tools
Claude cannot access Detrics tools
The MCP connection may have expired or been removed.Fix:
- Go to Claude Settings > Connections
- Remove the existing Detrics connection
- Reconnect from app.detrics.io/mcp/claude
Data query issues
"No connections found" response
"No connections found" response
Claude can reach Detrics, but there are no platforms connected in your workspace.Fix:
- Go to app.detrics.io and connect at least one data source
- Or ask Claude: “Connect my Facebook Ads account” — it will generate an OAuth link for you
"Unknown platform_api" error
"Unknown platform_api" error
The platform identifier used in the query does not match any supported platform.Fix: Use the exact platform identifiers. Ask Claude: “List my connections” to see the correct
platform_api values for your connected platforms.Common identifiers include: facebook_ads, google_ads, tiktok_ads, shopify, google_analytics_4, linkedin_ads, pinterest_ads, bing_ads, stripe.Fields not found or invalid field error
Fields not found or invalid field error
The metric or dimension name used in a query does not exist for that platform.Fix: Ask Claude to list available fields first:This calls
list_fields and returns all valid field names for the platform.Still need help?
Chat with Support
Reach out to our support team for help with any issues not covered here.