Troubleshooting
| Message | Cause and fix |
|---|---|
Send a Taskgert bot API token as "Authorization: Bearer tgt_live_…". | The client sends no token, or not as a bearer header. Fix the client's configuration (Connect). |
The API token is not valid any more (revoked, expired, or its bot was deleted). | Create a new token on the bot's page and update the client. |
This API token lacks the "tasks:write" scope … Ask the workspace owner for a token with that scope. | The token's scopes do not allow the action. Create a token with the scope named in the message. |
… The bot's role in this project does not allow it; ask a project admin for a higher role. | The bot's role is too low for the action. Raise it in the project's Settings → Members & access. |
No task TGT-99 is visible to this bot. / No project with key "TGT" is visible to this bot. | It does not exist, or the bot is not a member of the project. Add the bot to the project. |
The project has no column "Someday". Its columns are "To do", "Done". | Columns and labels are matched by name: use one of the names listed. |
Someone changed it in the meantime. Read it again and retry with the current version. | The version passed was stale. Read the task again with get_task and retry. |
Too many requests: … | Over the per-token rate limit. Wait and retry; spread bulk work out. |
The request was not valid: … | An input is wrong; the lines after it name each field. A project's key cannot be changed at all (Concepts). |
assign_task does not take "assignees". Its arguments are "task", "add", "remove". | The agent passed an argument the tool does not take. Tools refuse unknown arguments instead of ignoring them: use the ones listed. |
Input validation error: … Example: add_decision {"task":"TGT-12",…} | An argument has the wrong shape. The errors name each field, and the example shows a valid call with the agent's own valid values kept: retry like it. |
| The client lists no tools | Check that the URL ends in /mcp and the transport is Streamable HTTP; then call whoami. |
opencode: SSE error: Non-200 status code (405) | The token did not reach the server (e.g. TASKGERT_TOKEN not exported where opencode.json uses {env:TASKGERT_TOKEN}), so opencode fell back to the old SSE transport. Fix the header and run opencode mcp list. |
! not posted to Taskgert: No token for the Taskgert MCP… (after tg <check> --task) | The kit found no token: register the taskgert MCP for this project, or set TASKGERT_MCP_URL and TASKGERT_MCP_TOKEN. The run's report is still in .taskgert/out/<kind>-<time>/. |
<branch> is not on origin: push it first / HEAD (abc1234) is not pushed | tg <check> --remote runs the pushed commit on a runner, which only sees origin. Push the branch, then run it again (or --local). |
No runner of this project is online: run the check locally (--local). | No runner of the project is connected. Run it here, or start a runner (Agents page). A setting of remote falls back to here by itself; only an explicit --remote stops. |
No e2e suite "nightly" in taskgert.yml. Suites: … | --suite (or a suite chosen on the task, Taskgert or project) must be one of quality.suites. Add it there, or pick one of the list. |
3 failed attempts of tg e2e on TGT-12: stop, and ask_person … | The check failed three times in a row on the task. Stop fixing blindly: ask_person with the run (get_quality_run) and what was tried. A pass resets the count. |
✖ tg e2e · could not run | An ERROR run, not an attempt: the check was refused or the stack did not come up. Its excerpt and run.log say why. |
Still stuck? Call whoami: it shows the bot, its workspace and the token's scopes and expiry.
New tools do not show up
MCP clients load the tool list when they connect and keep it. After a new version of the server is deployed, a client that was already connected keeps the old list: the new tools are not there, and the agent may try to work around what it believes is missing.
- Check: call
whoami. It says the server's version, how many tools it has (server.tools) and a shortcatalogfingerprint. If your client lists fewer taskgert tools, or the fingerprint changed since you last looked, its list is out of date. - Fix: reconnect the MCP server. In Claude Code, run
/mcpand reconnecttaskgert; in other clients, restart the session or reload the server.
The server is stateless, so it cannot tell a connected client that its tools changed: the check has to come from the agent.
Project checks
The usual ✖ and ⚠ of Settings → Checks (each line also says its own Fix:). Taking a repository through all of it step by step: Taskgertize a git project.
| Check | Fix |
|---|---|
| ✖ No repository | Set it in Settings → Repository & contract. |
| ✖ Cannot read the repository | Check the URL and the deploy key or token. A host behind Cloudflare Access needs Through Cloudflare Access. |
| ✖ Cannot push | Give the deploy key or token write access on the git host. |
| ⚠ Branch develop not found | git push origin main:develop. |
| ✖ No runner works on this project | Pair a runner and give it the project (Agents). |
| ✖ cloudflared missing | The runner's image has it: its updater brings it (Updates). |
| ⚠ Never synced / ✖ taskgert.yml not found | Push taskgert.yml to the default branch, then Sync in Settings → Repository & contract → Way of working. |
| ✖ taskgert.yml is not valid | The Way of working card lists every error with its line; tg --validate shows the same locally. |
| ✖ Services without a healthcheck | Give each service of docker-compose.yml a healthcheck. |
| ⚠ Host bind mounts / Services with container_name | Use named volumes and drop container_name: the stack runs inside the runner's Docker-in-Docker. |
| ⚠ Credentials missing | The sync made the environment from taskgert.yml: in Settings → Environments, open its Credentials and add only the Coolify URL and API token. |
| ⚠ No longer in taskgert.yml | The file stopped declaring it: delete it in Settings → Environments, or declare it again. |
| ✖ No API token / API token rejected | Store a Coolify API token (with deploy and write) in the environment. |
| ⚠ Credentials embedded in the git URL | Use a deploy key or a GitHub App source in Coolify, and revoke the embedded token. |
| ⚠ Autonomy read from the develop branch | Make main the repository's default branch (and in Settings → Repository & contract), then sync. |