Skip to main content
When a SmartAlex tool call fails, your AI app gets a plain-language message that says what went wrong and what to do. Most errors come from your sign-in, your role, your plan or the 100-requests-a-minute limit, and each has a simple fix. Find the message or status below.
In SmartAlex: check your role under Settings → Workspace → Team and your add-ons under Settings → Billing. Check your connected apps under Settings → Security → Where you’re signed in.

Which error is it?

This diagram sorts the common errors by where they come from.

Status codes at a glance

Sign-in errors

”Invalid or expired token” (401)

The sign-in is missing, expired or was signed out.
  • Sign in again from your AI app. In Claude Code run claude mcp login smartalex, or type /mcp, choose smartalex and sign in. In Codex run codex mcp login smartalex. In Gemini CLI run /mcp auth smartalex.
  • Straight after signing up? Open SmartAlex in your browser, finish setting up your workspace, then sign in again.
  • Local npm package only: check the SMARTALEX_API_KEY variable is set and starts with sa_live_.

”You are no longer a member of this SmartAlex workspace”

You were removed from the workspace the app was using. Ask its owner to add you back, or ask the app to list your workspaces and switch to another one.

”SmartAlex could not check your access to this tool just now”

Your access could not be checked for a moment, so nothing was done. Try again in a minute.

Permission and plan errors

”Insufficient permissions” (403)

Your role does not allow this action. A signed-in AI app has exactly your role’s permissions, so ask a workspace owner or admin to change your role. Signing in again does not change it.

”This action requires the … add-on” (402)

The tool belongs to an add-on your workspace does not have. Campaign tools need Outbound Campaigns; HTTP tools and creating or deleting webhooks need Power Tools, so add it in SmartAlex, then reload the AI app. Add-ons and prices.

”Your plan includes … agents” (402)

Creating an agent needs a free agent slot. Buy an extra slot in SmartAlex, or delete an agent you no longer use.

”This subscription is no longer active” (402)

The workspace’s subscription has ended. Reactivate it in SmartAlex to use this feature.

”API key does not have write permission” or “This route needs an API key made with its scope” (403)

These come from API keys, used by the local npm package and the REST API. Connect your AI app by signing in instead, which uses your role’s permissions. For keys, see REST API authentication.

Confirmation code errors

Actions that ask first need a one-time code from the preview. When the code is refused the reply starts with “Not done.” and nothing is changed.

Input errors

”Invalid request body” (400) or a validation message (422)

A required field is missing or a value is the wrong type. The message names the field. For example:
Common cases: a contact needs first_name, a deal needs deal_name, and a webhook needs url and event_types. Every ID must be a valid UUID.

”Contact not found” and other 404s

The ID does not exist, or it belongs to another workspace. Ask the app to list the items first, and check which workspace it is in.

Rate limit

”Too many requests” (429)

The limit is 100 requests a minute for each workspace. The response carries these headers, and most AI apps wait and retry by themselves:

Connection errors

406 “Not Acceptable”

The request did not come from an MCP client. Use an MCP app or library, or send Accept: application/json, text/event-stream.

”No route found”

Only the local npm package sees this, when it is out of date. Update it with npx @smartalex/mcp-server@latest.

500 “Internal server error”

Try again. If it keeps happening, email support@getsmartalex.com with what you asked and when.

Questions people ask

The tool belongs to an add-on your workspace does not have yet. Campaign tools need Outbound Campaigns, and HTTP tools and webhook changes need Power Tools. Add it in SmartAlex, then reload the AI app.
The confirmation code was refused, usually because it expired after 10 minutes, was already used, or the details changed. Nothing was changed. Ask the AI app for a fresh preview and approve that one.
Your workspace is not set up yet. Open SmartAlex in your browser, finish setting up your workspace, then sign in again from the AI app.

Troubleshooting

Fixes app by app.

Security and permissions

Roles, add-ons and actions that ask first.

Authentication

How sign-in works, and the rate limit.

REST API errors

Status codes for your own code.
Last modified on November 27, 2026