Troubleshooting

If you can't connect, find the symptom in the first table. If a tool fails, check the status and details.code.

Connection problems

SymptomCauseFix
The browser never opensAn old Authorization header in your config blocks OAuth discoveryRemove the header and reconnect.
Authorization expiredMore than 30 minutes passed since the authorization window openedReconnect from the client. Your account and workspace are kept, so you only authorize.
Cursor lists the server without an authentication buttonCursor doesn't offer sign-in in that listIn a new chat, choose + → MCP, find platic and choose Needs Authorization or Sign in. See Cursor.
Claude says a connector with this URL already existsYou added Platic before, on the web or in the appSearch Plugins for Platic, choose the api.platic.ai result and use Add or Connect on its page.
The server appears but the assistant doesn't use its toolsIt is saved but not authorized, or its tools are off in the chatComplete sign-in from the client and enable the server's tools. A saved server is not an authorized connection.
401 right after adding the serverMissing, expired or revoked credentialWith OAuth, remove and re-add the server. With a key, check it starts with pl_key_ and is active in Settings → API Keys.
403 with insufficient_scopeThe token is read-only and the tool writesRe-authorize and accept platica:write.
403 with Missing … permissionYour role in that workspace does not cover the moduleUse an account with access, or an API key.
400 asking for workspaceThe credential covers several workspacesCall list_workspaces and pass workspace: "<id>".
GET or DELETE on /mcp failsThe server only accepts POSTUse a Streamable HTTP client.

The initial 401 lets the client start OAuth through WWW-Authenticate. If it persists after authorization, check the credential.

Two kinds of error

KindWhat you see
Tool errortools/call returns isError: true with a message the assistant can read and retry.
Protocol errorA JSON-RPC error with a code and message.

Tool errors

If the API responds with a status outside 2xx, the tool returns an error. By default, it includes Markdown with the status, details.code and message. With X-Platica-MCP-Format: json, it returns the API body: { code, error, details: { code, message } }.

details.code is the stable value to act on. It is the same as in API errors.

Statusdetails.codeCauseFix
400INVALID_REQUESTInvalid arguments. details.issues says which.Correct the fields it lists.
400INVALID_REQUESTworkspace missing or not covered. details.available lists valid ids.Pass one of them, or call list_workspaces.
401UNAUTHENTICATEDMissing, invalid, revoked or expired credentialLet the client refresh or re-authorize. For a key, regenerate it.
402PAYMENT_REQUIREDThe workspace reached its credit limitCheck the plan or usage before retrying.
403INSUFFICIENT_SCOPEThe token lacks platica:writeRe-authorize with that scope.
403FORBIDDENNo access to the workspace, module or resourceUse an account that has it, or an API key.
404NOT_FOUND or a resource code such as CHANNEL_NOT_FOUNDThe resource is not in that workspaceCheck the id; pass workspace if the credential covers several.
409CONFLICT or a resource codeThe resource is busy or its state forbids the operationRead details.code. If a conversation is processing (CONVERSATION_BUSY, AGENT_STOPPING), retry with backoff and the same requestId.
412VERSION_MISMATCHThe conversation changed since the expectedVersion you sentRead it again and repeat with its new version.
422UNPROCESSABLE_ENTITY or a resource codeWell-formed request with invalid contentFix what details points to.
500INTERNAL_ERRORInternal errorCheck the resource before repeating a write. Contact support if it persists.
502 / 504UPSTREAM_ERROR / UPSTREAM_TIMEOUTAn internal service failed or timed outCheck the resource first: the operation may have finished.
503TEMPORARILY_UNAVAILABLETemporarily unavailableRetry with backoff.

If the API does not respond, the MCP server generates the message without details.code. When the request times out, the operation may have completed. Check its status before retrying.

Example

{
  "jsonrpc": "2.0",
  "id": 7,
  "result": {
    "isError": true,
    "content": [
      {
        "type": "text",
        "text": "**Error 409 · `CHANNEL_TYPE_NOT_AVAILABLE`**\n\nA Telegram channel can't be connected yet.\n\n- **type**: telegram"
      }
    ]
  }
}

Argument validation

If a tool's arguments do not match its inputSchema, the server does not call the API. It answers with a tool error that lists each problem as path: message:

Invalid arguments:
  - expiresInMinutes: Number must be greater than or equal to 15

The text is in the client's language (Spanish, English or Portuguese). In send_chat_message, delay and scheduleAt are mutually exclusive.

Protocol errors

CodeMeaning
-32001Unauthorized: the Bearer is missing or is not a valid pl_at_ or pl_key_ credential. The 401 carries WWW-Authenticate so the client can start OAuth.
-32000A GET or DELETE was sent. Only POST is accepted.
-32602The JSON-RPC call has invalid parameters.
-32603Internal server error. Retry.