Errors & troubleshooting
Error code reference, recovery table and ChatWise client notes
Every tool call returns a requestId and is written to usage / audit records. For repeated failures, give the requestId to support / dev to locate the issue quickly; you can also ask the AI to "explain what this error code / requestId means and what to do".
Error code reference
| Code | Meaning | What to do |
|---|---|---|
UNAUTHORIZED / TOKEN_EXPIRED | Not logged in / session expired | Renew or re-authorize |
INSUFFICIENT_SCOPE | Missing permission | Re-authorize, or do it in the dashboard |
BRAND_NOT_FOUND / BRAND_ACCESS_DENIED | Brand missing / no access | Re-select from the brand list, confirm the org |
BRAND_LIMIT_REACHED | Brand slots exhausted | Upgrade or delete old brands |
AI_QUESTION_QUOTA_EXCEEDED | AI analysis quota used up | Upgrade / redeem / wait for reset |
REPORT_QUOTA_EXCEEDED | Not enough credits for data collection | Buy credits and retry |
SUBSCRIPTION_INACTIVE / PAYMENT_REQUIRED | Subscription inactive / payment needed | Renew / re-subscribe |
REFRESH_IN_PROGRESS | Collection running | Wait or check progress, don't re-trigger |
DATA_NOT_READY | Data not ready | Collect before analyzing |
JOB_NOT_FOUND | Refresh job missing / expired | Start a new refresh |
MCP_RATE_LIMIT_EXCEEDED / RATE_LIMITED | Too many calls | Retry later |
ANALYSIS_FAILED / ANALYSIS_EMPTY | Analysis failed / empty | Retry later or add data first |
INVALID_INPUT | Invalid parameters | Fix and retry |
TOOL_TEMPORARILY_UNAVAILABLE / BACKEND_ERROR / INTERNAL_ERROR | System busy / downstream unavailable | Retry later; if persistent, contact support with the requestId |
Symptom → fix
| Symptom | Likely cause | Fix |
|---|---|---|
| Auth page shows a "code / email / name" form | Client used an old internal auth page or cached old metadata | Delete the DataScaler server in the client + clear its OAuth token / metadata cache, re-add with https://app.datascaler.ai/mcp |
The authorization page that opens is not on app.datascaler.ai | Wrong Server URL | Change to https://app.datascaler.ai/mcp and reconnect |
| Verify succeeds but the chat doesn't call tools | Session lacks tool context / model doesn't trigger tools / client subscription limit | Re-Verify to confirm tool cards → switch to a model that reliably calls tools → start a new chat and ask again |
| Brand not found | Brand doesn't exist / not yours / switched org | Re-select from the brand list, confirm the org |
| Space deletion is rejected | Missing brand:write / confirmation name does not exactly match / space is already inactive | Re-list spaces, copy the exact name, and explicitly confirm; an inactive space does not need to be deleted again |
| Data not ready | Brand never collected | Wait for the first collection, check progress first |
| Refresh stuck queued / pending | Collection-side congestion or downstream timeout | This is a collection-side issue (not an MCP connection issue); check later, escalate internally if stuck |
How to tell it really connected
The standard isn't the model saying it connected — it's: the client shows the server connected + tool list appears after Verify + actual "tool call cards" show up in chat. Without tool call cards, don't trust the model's natural-language reply — it may fabricate accounts, brands and quota.
ChatWise notes
- Use ChatWise Desktop.
- Set Server URL to
https://app.datascaler.ai/mcp; do not use any other address. - Use a remote type the client has verified (ChatWise currently works with
SSE Server). - Call one tool per turn: two tool calls in the same reply often trigger client errors.
- Keep only one enabled DataScaler server: multiple servers pointing at the same URL get mixed up by the model.
- If
Upgrade to Pro/Unlimited Tools (MCP)pops up: that's ChatWise's own subscription limit, not a DataScaler issue.

