Troubleshooting

Every error the agent prints says whether anything was charged and what to do next. This page collects them, with the reason behind each. The sentences in quotes are the ones the terminal shows.

Updated .

Signing in

"Not signed in, or the stored token isn't valid for this gateway."

Type /login at the agent's prompt, or run clixad login from your shell. The token is usually present but no longer valid, for example after you signed out everywhere from the account page. At the agent's prompt, anything without a leading slash goes to the model, so clixad login typed there does not run.

If the browser did not open for the GitHub step, open github.com/login/device yourself and enter the code the terminal printed. A code is valid for a limited time; run clixad login again for a new one.

A request was blocked

"A security filter in front of the gateway rejected this request"

A filter in front of our server matches request contents against attack patterns, and a conversation about path traversal, SQL or shell commands can look like one. The request never reached Clixad: "Nothing was sent to a model and nothing was charged." The agent first retries with the conversation compressed, which the filter does not read. If that is blocked too, every later turn would be blocked the same way, because each turn resends the whole conversation, so /clear or a new session is the way past it. The message ends with a request id, which helps us if you report it.

The gateway did not answer

"The gateway did not answer that request (503), so it never reached Clixad."

The server was restarting or unreachable. The agent resends the same request by itself for about half a minute first, and Esc stops the waiting. If it still fails: "do not /clear it. Send the message again in a minute." The conversation was never the problem.

"Something in front of the gateway ended that request (502) before an answer came back."

This one may have reached Clixad and been answered and charged before the connection broke, so it is not resent automatically. "Check /wallet, then send the message again. The conversation is intact."

"Can't reach the Clixad gateway"

Your machine could not connect at all, so nothing was sent and nothing was charged. Check the connection, a proxy or a firewall. If the connection broke part way instead, the message says so and asks you to check your balance before sending again.

Not enough credits

"Out of credits (this needs about …)." or "Not enough credits for this turn"

The free limit is spent for today, or the model is not a free one, and the balance does not cover the request. Nothing was charged, and the conversation is kept. If a free model still has turns today, Enter on the notice offers it; otherwise use /earn, /buy, /key or /local; When you run out explains each.

On a premium model, the refusal says it needs credits from an offer wall or a purchase. Bonus credits from before 14 November 2026 pay for budget models only.

Too long for the model

"This conversation is too long for …"

A few models cost more per token past a certain prompt length, and Clixad does not send a prompt that could reach it. The request was refused before it was sent, and "Nothing was charged for this request." What to do depends on what is long:

  • The conversation: /compact summarises it when the agent says that will help, /clear starts over, and /model switches to a model with a longer window.
  • One message: send a shorter one, or attach part of a file instead of all of it.
  • The instructions: "Shorten CLIXAD.md or AGENTS.md, or connect fewer MCP servers."

Clixad is down

"Clixad is currently down due to high demand. Please check again later."

We have paused model calls on our side. Nothing was sent and nothing was charged. Earning credits and your balance are not affected, and the agent works again as soon as we switch calls back on.

Installing and updating

"The update did not go through: npm may not write to its global folder". Run the command the message shows yourself. If npm answers EACCES, see Install with npm.

"permission denied: clixad" from your shell. Versions up to 0.0.1-beta.37 shipped the program file without its executable flag, which showed only where a tool unpacked the package without linking it. Install the newest version.

An old version keeps starting. npx may run a copy it cached; run npx clixad@latest. With several Node versions installed, each has its own global packages, so install Clixad under the version you use.

Local models

"No local model server answered (Ollama on port 11434, LM Studio on 1234)."

/local looks for Ollama and LM Studio at their usual addresses on your machine. Start one of them, or set CLIXAD_LOCAL_URL to the address of another OpenAI-compatible server, and run /local again. The agent edits files and runs commands through tool calls, so pick a model that supports them. The agent assumes a window of 32,768 tokens for a local model; a server set up with a smaller one cuts prompts silently, and Ollama's setting for it is OLLAMA_CONTEXT_LENGTH. If the agent prints a tool call as text instead of acting on it, the model did not return a real tool call; our guide to local models shows how to check.

Reporting a problem

Bug reports and feature requests are read on Discord and in the GitHub issues of the command line tool. A request id from an error message, the version from clixad --version and what you typed help most. Please report a security problem by email to info@clixad.io, not in a public issue.