> ## Documentation Index
> Fetch the complete documentation index at: https://sleekplan.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Troubleshooting Sleekcode

> What Sleekcode's messages mean and how to fix them: sign-in, agents that aren't found, work items that aren't picked up, failed runs and updates.

Find the message Sleekcode shows, or the problem you see, and follow the steps.

## Sign-in

### "Sign-in timed out. Start it again from Sleekcode."

A sign-in has to be finished within 5 minutes. Click **Sign in with Sleekplan** again.

### "Sleekcode could not open your browser."

Sleekcode opens your default browser to sign in. Set a default browser in your system settings, then try again.

### "The sign-in code is invalid or expired. Start the sign-in again."

The code from the browser works once and only for 5 minutes. Click **Sign in with Sleekplan** again and finish in the browser that opens.

### "This link is not valid. Start the sign-in again from Sleekcode."

The **Connect Sleekcode** page only works when Sleekcode opened it. Start the sign-in from Sleekcode rather than from a saved link.

### "You need the Developer or Admin role in this workspace to connect Sleekcode."

Connecting Sleekcode needs the **Owner**, **Admin** or **Developer** role. Ask an owner or admin to change your role in [**Settings → Administration → Team**](https://app.sleekplan.com/settings/team), or choose another workspace.

### "Work items need the Starter plan or higher."

Sleekcode takes work items, which are part of the **Starter** plan and above. An owner can upgrade in [**Settings → Administration → Billing**](https://app.sleekplan.com/settings/billing).

### "You were signed out of Sleekplan. Sign in again."

Sleekplan ended this device's session. That happens when you sign out, when your password is changed or reset, when you're removed from the workspace, after 4 days without contact, and when your account or the workspace is deleted. Work items the device was running went back to **Ready**. Sign in again to continue.

### "Your system has no keyring. Sign in again after each restart."

On Linux, Sleekcode stores its session in your keyring, such as GNOME Keyring or KWallet. Without one, it keeps the session in memory only, so you sign in again after each restart. Install and unlock a keyring for your desktop, then restart Sleekcode.

On macOS and Windows, the same problem reads **Sleekcode cannot use your system keychain. Sign in again after each restart.**

## Agents

### An agent is not found

Sleekcode shows **Claude Code was not found on this computer.** (or the same for Codex or OpenCode).

1. Make sure the agent is installed: run `claude --version`, `codex --version` or `opencode --version` in a terminal.
2. In Sleekcode's **Settings**, under **Agents**, click **Check again**.
3. If it's still not found, enter the full path to the agent's program under **Path**. To find it, run `which claude` on macOS or Linux, or `where claude` on Windows.

Apps you open from the Dock, the Start menu or an app launcher don't see everything your terminal sets up. On macOS and Linux, Sleekcode reads the `PATH` from your login shell, and **Check again** reads it again. An agent added to your `PATH` in a file your login shell doesn't read needs the **Path** field.

### "There is no program at the path you set."

The **Path** field needs the full path to the agent's program file, for example `/Users/alex/.local/bin/claude`. Clear the field to let Sleekcode search again.

### An agent is not signed in

Sleekcode shows **Claude Code is not signed in. Run claude in a terminal and sign in.** or **Codex is not signed in. Run codex login in a terminal.**

Sign in to the agent in a terminal, on the same computer and the same user account, then click **Check again**.

### "This Claude Code version cannot run in Sleekcode. Update Claude Code."

Your Claude Code is too old for the way Sleekcode talks to it. Update Claude Code and click **Check again**.

### "Claude Code does not allow everything when it runs as root."

Claude Code refuses **Allow everything** for the root user. Run Sleekcode as a normal user, or switch Claude Code's permission mode to **Auto**.

## Work items aren't picked up

### Sleekcode doesn't take a work item

Go through these, in order:

1. In Sleekplan, the work item is **Ready**. A work item needs a stage, so someone clicked **Start** on it.
2. Sleekcode isn't paused. Its status reads **Paused** when it is.
3. A session is free. **Running 2 of 2** means every session is busy. Raise **Parallel sessions** in **Settings** if your computer can take more.
4. The work item's stage is switched on under **Stages**, with an agent that's installed and signed in.
5. With **Only my work items** on, you own the work item or are a member of it.
6. You didn't stop this work item on this device in the last 24 hours.
7. No other device took it. The **Run** section of the work item shows who's working on it.

Sleekcode looks at the 20 **Ready** work items with the highest priority. A work item further down waits until those are taken.

### "Your role in this workspace cannot take work items."

Taking a work item needs the **Owner**, **Admin** or **Developer** role. Sleekcode shows this when it tries to take one. Ask an owner or admin to change your role in [**Settings → Administration → Team**](https://app.sleekplan.com/settings/team).

### "Sleekplan is not reachable. Sleekcode keeps trying."

Sleekcode can't reach `api.sleekplan.com`. Check your internet connection, VPN, proxy or firewall. [Network connections](https://sleekplan.com/help/sleekcode/security.md#network-connections) lists the hosts to allow. Sleekcode tries again on its own and waits longer each time, up to 5 minutes.

## Runs

### A run failed

Open the run in Sleekcode. The reason is at the top, and the work item's activity log in Sleekplan has it too. You can start the work item again in Sleekplan.

| Reason | What happened |
| - | - |
| **Stopped after 4 hours.** | The run reached its time limit. Split the work item, or start it again. |
| **The agent ended without opening a pull request.** | The build ended without a pull request. Any branch the agent pushed is named in the report. |
| **The agent ended without delivering the spec.** | The agent stopped before it delivered. The same happens for a plan. |

### The agent couldn't open a pull request

The agent opens pull requests with the GitHub CLI (`gh`) or the GitLab CLI (`glab`). Without one, it pushes its branch and reports a failure that names the branch. Install the tool for your git host, sign in with `gh auth login` or `glab auth login`, and open the pull request for that branch yourself.

### The agent worked on old code

Before a run, Sleekcode fetches your repository's remote. If the fetch fails, it starts from what your own folder fetched last. Sleekcode never answers a password prompt for git, so make sure `git fetch` works in that repository without asking for anything, for example with a credential helper or an SSH agent.

### A run stopped on its own

| Message | What happened |
| - | - |
| **The work item moved on while the agent waited for an answer.** | Someone released, closed or held back the work item before answering. |
| **The work item left Review and merge.** | The work item moved out of Review and merge in Sleekplan, for example because someone closed it. |
| **The pull request was closed without merging.** | The work item now shows **Needs decision** with the reason **Pull request closed**. |
| **The work item was deleted.** | The work item no longer exists. |
| **Sleekcode restarted while the agent was working.** | Sleekcode quit during the run and handed the work item back to Sleekplan. |

### The work item stays in Review and merge after the merge

Sleekcode checks pull requests every 10 minutes, with the GitHub CLI or the GitLab CLI. Make sure one of them shows **Found** under **Pull requests** in Sleekcode's **Settings**, and that you're signed in to it. Or click **Complete** on the work item in Sleekplan yourself.

## Updates

### "Sleekcode can't replace itself where it is. Move it to your Applications folder."

On macOS, Sleekcode runs from a place it isn't allowed to change, such as the disk image. Quit it, drag **Sleekcode** into **Applications** and start it from there.

### "This copy can't update itself. Download the current version from Sleekplan."

Click **Download** in Sleekcode's **Settings** and install the new version over the old one.

### "You can restart once no agent is running."

An update is ready, but Sleekcode restarts only when no agent is running, so no run is cut off. Wait for the runs to finish, or click **Restart to update** later. A run that waits for an answer doesn't block the restart.

## Your device shows Unhealthy

[**Settings → My Account → Sleekcode**](https://app.sleekplan.com/settings/sleekcode) shows a device as **Unhealthy** when Sleekplan hasn't heard from it in the last 3 minutes. Sleekcode is closed, the computer is asleep, or it's offline. After 4 days without contact, the device disappears from the list and you sign in again on it.

## Related

> [card] [Install and connect](https://sleekplan.com/help/sleekcode/install.md)
>
> Set up Sleekcode from the start.

> [card] [Get help](https://sleekplan.com/help/getting-started/get-help.md)
>
> Contact Sleekplan support.


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.