Picnic

Knowledge base

Common errors

What Picnic error codes like device_offline, worktree_gone and plan_required mean, and what to do about each one.

Picnic's errors have a short code and a plain sentence. You'll see the sentence in the apps, and both in the API and MCP server, where errors look like:

{ "error": { "code": "device_offline", "message": "That device isn't connected" } }

Here are the ones you're most likely to meet.

Machines

Code Status Means Do
device_offline 503 The machine isn't connected, and this request needs it live (Picnic answers job lists, repositories and new jobs for offline machines itself) Wait for it to come back, or see A machine is offline
device_timeout 504 The machine is connected but didn't answer within 30 seconds Try again. If it keeps happening, reopen Picnic on that machine
device_disconnected 502 The machine dropped while answering Try again
no_such_device 404 The device id isn't on your account Check the id with list_devices or GET /api/v1/devices

Creating jobs

Code Status Means Do
invalid_repo 400 The repository isn't a git repository on that machine, or isn't in its list Pick one from the machine's repositories. On an offline machine, Picnic checks against the last list it saw
repo_not_found 400 API: no repository on that machine matches the path or name Use a name from GET /api/v1/devices/:id/repos
no_device_available 409 API with "any": no online machine has the repository Name a machine; jobs for an offline machine wait for it
plan_required 402 On the Free plan: adding a 4th machine Upgrade to Pro. See Plans and billing
rate_limited 429 Too many requests: 60 a minute or 10 new jobs a minute per API key, or too many sign-in codes Wait for the Retry-After seconds and try again

Working with a job

Code Status Means Do
not_in_backlog 409 You tried to edit or start a job that's no longer in Backlog Started jobs can't be edited. Send a chat message instead
not_started 409 You sent a message to a job in Backlog Edit the job, or start it
permission_open 409 A permission request is waiting, so a chat message can't be sent Allow or refuse it first. See Permission asks
worktree_gone 409 A follow-up needs the job's worktree, which was removed Start a new job. Mention the branch or pull request if you want it to carry on
no_session 409 A failed or cancelled job never had a session to resume Start a new job
merging 409 The job is waiting on CI or merging, with no live session to message Wait for it to finish, then message it
not_in_review 409 A review action on a job that isn't ready to review Refresh; the job may have moved on
kept_on_box 403 The job is on a metadata-only machine: its files and chat stay there Use Open on that machine to work with it over Screen Sharing

Accounts and keys

Code Status Means Do
no_account 404 Signing in with an email that has no account Sign up at onpicnic.com/signup first
invalid_code 400 The sign-in code is wrong Check it and try again. You get 5 tries
code_expired 400 The code is more than 10 minutes old Ask for a new one
invalid_key 401 API: the key is missing, wrong or revoked Create a new key on the Account page of the console
unauthorized 401 Your session has ended Sign in again

Messages in the apps

Message Means
"Picnic is busy right now. Trying again shortly" The relay is overloaded for a moment. The apps retry on their own
"Can't reach Picnic" The relay can't be reached from this machine. Check the internet connection
"Can't reach " That machine isn't answering. See A machine is offline
"Claude Code isn't logged in on this machine" Run claude auth login in Terminal on that machine
"Codex isn't installed on this machine" Run npm install -g @openai/codex there, then codex login

Still stuck?

The machine's setup checks in the Factory tab catch most problems. See Setup checks.