Error codes
From version 0.7.0, every error the vibecommit command prints carries a code on its own line, just above the fix, such as NOT_A_REPO · vibecommit.ai/docs/errors#not-a-repo. The code names the condition. The sentence next to it is wording and can change; the code is what to search for, and what a script should match on.
A code is never renamed, and never reused for another condition. A code that is retired stays on this page, marked as retired. A --json failure writes one document to stdout with the code at error.code.
Commands are written as vibecommit …. On a machine that has only the plugin, the block prints the same fix as node <path> ….
70 codes, listed in the order the client registers them. Each anchor is the code in lower case with hyphens, so NOT_A_REPO is #not-a-repo.
The process
INTERNAL_ERROR
VibeCommit stopped on an unexpected error.
- Cause
- An error the command did not anticipate reached the top of the program, either in VibeCommit or in something it called.
- Fix
- Run the same command again with
VIBECOMMIT_DEBUG=1in front of it. That prints the error detail after the block.
NODE_TOO_OLD
The Node runtime is older than this version supports.
- Cause
connectfound Node older than 22.15, the lowest version this release supports, or could not read the version string.- Fix
- Upgrade Node to 22.15 or newer, then run
vibecommit connectagain.vibecommit connect
UNKNOWN_COMMAND
The first argument is not a vibecommit command.
- Cause
- The first argument is not one of the nine commands,
help,--help,-h,--versionor-v. Orhelpwas followed by a word that is not a command; the block then names that word. An argument that looks like a credential is refused first, asCREDENTIAL_IN_ARGV. - Fix
- List the commands, then use one of them.
vibecommit --help
UNRECOGNIZED_ARGUMENT
An argument the command does not take.
- Cause
- The command was given an argument it does not take: a flag it does not have, a value on a flag that takes none, an agent id that
connect --agent=<id>does not know, or, forscan,finalize,report,statusorbackfill, any word that is not a flag.connecttakes repository names written asowner/repoorowner/, andofftakes one written asowner/repo; a repository on a host other than GitHub can be written with its host first, ashost/owner/repo, orhost/owner/for a whole owner inconnect. A name written in none of these forms is refused, and so is a second name foroff. A whole owner given tooffis refused asOFF_OWNER_NEEDS_PICKERinstead. No session was read or uploaded. - Fix
- See what the command takes in its own help, then run it again with only those arguments. The block prints that help command. For
connectandoff, when it can tell what was meant, it prints a corrected command to run instead.
ARGUMENT_NEEDS_VALUE
An argument that needs a value was given without one.
- Cause
report --sinceor--ref, orfinalize --session, was given no value: nothing after it, an empty=, or another flag next. Orconnect --agentwas not written as--agent=followed by an id. Nothing is read, asked or uploaded first.- Fix
- Give the flag its value, then run the command again:
report --sincetakes a date as YYYY-MM-DD,--refa branch or commit,finalize --sessiona session id, andconnect --agentone ofclaude-code,codex-cliorcursor, written--agent=<id>. The block prints the command's help.
The repository and the machine
NOT_A_REPO
The command was run outside a git work tree.
- Cause
- The folder the command ran in is not inside a git work tree.
whyandreportalways need one.finalizeneeds one unless--sessionnames a session it can close from any folder. - Fix
- Run the command again from inside a git repository.
NOT_CONNECTED
This repository is not allowed to be captured.
- Cause
finalizefound that nothing admits this repository: no consent or grant covers it, or it is turned off or refused. When~/.vibecommitcannot be read, or~/.vibecommit/grants.jsoncannot be read in a repository that has a remote,finalizenames that fault instead of this one.- Fix
- Run
vibecommit connectin this repository to turn capture on.vibecommit connect
NO_CREDENTIAL
This machine has no ingest credential.
- Cause
- No credential was found: VIBECOMMIT_TOKEN is unset or blank, and there is no
~/.vibecommit/credentials.json. A credentials file that exists but cannot be read isCREDENTIAL_FILE_UNREADABLEorCREDENTIAL_FILE_INSECUREinstead. - Fix
- Run
vibecommit connectto give this machine a credential, then run the command again.vibecommit connect
GRANTS_UNREADABLE
The grants file exists but cannot be read, so capture is stopped.
- Cause
~/.vibecommit/grants.jsonexists but cannot be read or parsed, or one of its fields has the wrong form. While it is unreadable, capture is stopped for repositories that have a remote.- Fix
- Repair the file or move it aside, then run the command the block prints. After
connect, it isconnectwith the arguments that were given, orvibecommit backfillwhen the stop came whileconnectoffered earlier sessions. Afterfinalize, it is the command as it was typed, without any--no-color, orvibecommit finalize --session <id>when it cannot be shown as typed. Afterbackfillit isvibecommit backfill, and afteroffit isvibecommit off, with the repository's name whenoffwas given one.
CONSENT_NEEDS_TTY
Consent needs a person at a terminal.
- Cause
connectreached a consent question or the choice of repositories without a terminal to ask on: standard input or standard output is not a terminal.backfillraises it too when its standard input is a terminal and its standard output is not; when its standard input is not a terminal,backfillgivesBACKFILL_NEEDS_TTYinstead. No session was read or uploaded, and no consent was recorded.- Fix
- A person has to run the command in a terminal, with neither its input nor its output redirected. Run the command the block prints: the same command, with the names and flags that were given, in the folder the block names when it names one.
BACKFILL_NEEDS_TTY
Backfill asks a question that needs a person at a terminal.
- Cause
backfillhas a usable credential, but standard input is not a terminal, so the question before anything is uploaded cannot be asked.- Fix
- Run
vibecommit backfillin an interactive terminal.vibecommit backfill
OFF_NEEDS_REPO
`off` was run outside a repository.
- Cause
offwas run with no repository name, and the folder it ran in is not inside a git work tree. Without a name,offturns off the repository it is run in.- Fix
- To turn off one repository from any folder, name it:
vibecommit off owner/repo, with its real owner and name. Or runvibecommit offfrom inside it. To stop capturing a whole owner, untick it in the picker thatvibecommit connectopens.vibecommit connect
OFF_OWNER_NEEDS_PICKER
`off` was given a whole owner, which is removed in the picker.
- Cause
offwas given a whole owner, writtenowner/, instead of one repository.offturns off one repository at a time. Nothing was turned off.- Fix
- To stop capturing a whole owner, untick it in the picker that
vibecommit connectopens. To turn off one repository, runvibecommit offwith its name asowner/repo.vibecommit connect
Credentials
CREDENTIAL_IN_ARGV
A credential was passed as a command-line argument.
- Cause
- An argument looks like a credential: it starts with
vcik_, or hasvcik_right after its first=. Any command refuses it.authalso refuses any argument that does not start with-, and any argument that containsvcik_. The check runs before anything is read, so the value is not saved or sent. A value typed on a command line may be recorded by the shell and visible to other programs. - Fix
- Paste the credential at the prompt
vibecommit auth --pasteshows, or pipe it in from a variable that holds it. The block also says to treat a credential that was typed as an argument as exposed and to revoke it.vibecommit auth --pasteprintf %s "$TOKEN" | vibecommit auth --stdin
CREDENTIAL_EMPTY
No credential was given to `auth`.
- Cause
authread its input, from standard input or the prompt, and the result was empty.- Fix
- Create an ingest credential under Machines in Settings (the block prints the address), then pipe it into
vibecommit auth --stdin, or runvibecommit auth --pasteand paste it at the prompt.printf %s "$TOKEN" | vibecommit auth --stdinvibecommit auth --paste
CREDENTIAL_NOT_INGEST
The credential given to `auth` is not an ingest credential.
- Cause
- The value
authread does not start withvcik_, the prefix of an ingest credential. - Fix
- Create an ingest credential under Machines in Settings (the block prints the address), then pipe it into
vibecommit auth --stdin, or runvibecommit auth --pasteand paste it at the prompt.printf %s "$TOKEN" | vibecommit auth --stdinvibecommit auth --paste
STORED_CREDENTIAL_NOT_INGEST
The credential stored for this machine is not an ingest credential.
- Cause
- The credential this machine holds, from VIBECOMMIT_TOKEN or the credentials file, does not start with
vcik_, or contains a character that cannot go in an Authorization header. - Fix
- If the block names VIBECOMMIT_TOKEN, correct the variable or unset it. It takes precedence over the credentials file, so saving a new credential does not replace it. If it names the credentials file, save a fresh credential: the block prints
vibecommit auth, or theconnectcommand whenconnectraised it. At a terminal,connectreplaces the file itself.unset VIBECOMMIT_TOKENvibecommit auth
CREDENTIAL_FILE_INSECURE
The credential file is readable by other accounts.
- Cause
- A file VibeCommit keeps credentials in, or the
~/.vibecommitfolder that holds it, is open to other accounts: its group or other permission bits are set. The block names which one: the credentials file, the folder, or~/.vibecommit/pending-revoke.json, the record of credentials waiting to be revoked. It was not read. - Fix
- Restore the mode of the one the block names, then run the command again. The block prints the command: the first for the credentials file, the second for the folder, the third for the record.
chmod 600on a file does not clear an open folder.chmod 600 ~/.vibecommit/credentials.jsonchmod 700 ~/.vibecommitchmod 600 ~/.vibecommit/pending-revoke.json
CREDENTIAL_FILE_UNREADABLE
The credential file could not be read.
- Cause
- The credentials file could not be used. The block names one of these: the file was read but does not hold a credential in the expected form; permission to read it was refused; the
~/.vibecommitfolder cannot be opened or could not be checked; something other than a file, such as a folder, is where the credentials file goes; or reading it failed for another reason. A sign-in also stops with this code when something other than a file is where it would save the new credential. - Fix
- Do what the block's fix line says for the cause it names, then run the command again. For a file without a credential in the expected form, save a fresh credential: the block prints
vibecommit auth, or theconnectcommand whenconnectraised it, and at a terminalconnectreplaces the file itself. When permission was refused, restore the mode of the file or the folder. For the other causes, check or move aside what the block names; the block prints no command.vibecommit authchmod 600 ~/.vibecommit/credentials.jsonchmod 700 ~/.vibecommit
CREDENTIAL_FOLDER_UNWRITABLE
The folder that holds the credential cannot be written to.
- Cause
- Before a sign-in, the command checks that a new credential can be saved in
~/.vibecommit, and the check failed. Either~/.vibecommitis not writable by this user; or it does not exist yet and the folder it would be created in is not writable, and the block names that folder; or something other than a folder, such as a file or a link to nothing, is at~/.vibecommit.connectchecks this when it starts, andauthbefore a browser or code sign-in. The sign-in did not start. - Fix
- Fix what the block names, then run the command again. For
~/.vibecommititself, make it writable by you; the block printschmod 700 ~/.vibecommit. For the folder it would be created in, make that folder writable by you; the block prints no command. For something other than a folder, move it aside. If another user on this computer owns the folder, that user or an administrator must change it.chmod 700 ~/.vibecommit
CREDENTIAL_FOLDER_UNREADABLE
The folder that holds this machine's consent files cannot be read.
- Cause
finalizecould not read~/.vibecommit, the folder that holds this machine's consent, so it could not tell whether this repository may be captured. Permission to open the folder was refused, the folder could not be checked, or something other than a folder is at that path. This code is used when the credential in use comes from VIBECOMMIT_TOKEN; without it, the same fault isCREDENTIAL_FILE_UNREADABLE. Nothing was closed.- Fix
- Restore the folder's mode if permission was refused, check the folder if it could not be checked, or move aside what is at
~/.vibecommitif it is not a folder. Then run the command again. If another user on this computer owns the folder, that user or an administrator must change it.chmod 700 ~/.vibecommit
PENDING_REVOKE_UNREADABLE
The record of credentials waiting to be revoked could not be read.
- Cause
connectwas about to sign in, which can make a new credential, and could not read the record of credentials waiting to be revoked,~/.vibecommit/pending-revoke.json. The file could not be read, or it is not in the expected form. A new credential is made only when it can be recorded there, so none was made. A record open to other accounts isCREDENTIAL_FILE_INSECUREinstead.- Fix
- Check that file, then run the command again. The block names the file and prints no command.
PENDING_REVOKE_FULL
This machine already has the maximum number of credentials waiting to be revoked.
- Cause
connectwas about to sign in, which can make a new credential, and the record of credentials waiting to be revoked already holds 8, the most it keeps. No new credential is made until the record has room.- Fix
- Run
vibecommit status. Like most vibecommit commands, it first tries again to revoke the credentials that are waiting. Then run the command again. If the service is slow or cannot be reached, one run may not clear them all.vibecommit status
PENDING_REVOKE_BUSY
The record of credentials waiting to be revoked is in use by another command.
- Cause
connectwas about to sign in, which can make a new credential, and the record of credentials waiting to be revoked was not free within the two seconds it waits: another vibecommit command was using it, or its lock could not be taken. A new credential is made only when the record is free, so none was made.- Fix
- Run the command again in a moment. The block prints no command.
CREDENTIAL_REJECTED
The server no longer accepts this machine's credential.
- Cause
- The credential loaded locally, and the server refused it:
connect's check of it came back unauthorized, orbackfillorfinalizewas told to stop sending for it.vibecommit statusshows the same stop as a warning, without this code. - Fix
- If the credential comes from VIBECOMMIT_TOKEN, give the variable a credential the server accepts, or unset it. Otherwise replace the credential: the block prints
vibecommit auth, or theconnectcommand whenconnectraised it. At a terminal,connectsigns in again itself. Afterbackfillstopped, runvibecommit backfillagain to resume.unset VIBECOMMIT_TOKENvibecommit authvibecommit backfill
WORKSPACE_UNCONFIRMED
A new credential could not be confirmed with the server.
- Cause
- The new credential's first check with the server got no answer, and the command would not save it unconfirmed: in sign-in by code when the approval carried no organization name to show, and whenever
connectwas replacing a credential file that is no longer accepted or cannot be used. No credential was saved. The command stops rather than guess. - Fix
- Run the command the block prints:
vibecommit auth --deviceafterauth, or theconnectcommand with the arguments that were given.
Signing in
NOT_SIGNED_IN
This machine has never signed in.
- Cause
- There is no stored sign-in, or the stored sign-in cannot be used, or the record service answered 401 after one refresh and one retry.
- Fix
- Sign in, then run the original command again.
vibecommit connect --sign-in
SIGNIN_ENDED
This machine's sign-in has ended.
- Cause
- A stored sign-in was found, and the service refused to renew it.
- Fix
- Sign in again, then run the original command again.
vibecommit connect --sign-in
SIGNIN_BUSY
Another command is renewing this machine's sign-in.
- Cause
- Another VibeCommit process held the renewal lock for longer than a healthy renewal takes, so this run could not renew the sign-in.
- Fix
- Run the same command again in a moment. The fix line shows it as it was typed, or in its general form when it cannot be shown as typed.
SIGNIN_SERVICE_NOT_FOUND
The sign-in service could not be found.
- Cause
- One of three things: VIBECOMMIT_MCP_URL is set to an address that is neither https nor http on this machine; discovery of the sign-in service got no answer; or discovery got a document this version cannot use.
- Fix
- Check the service address and the connection, then run the command named in the fix line again. If VIBECOMMIT_MCP_URL is the cause, correct it or unset it.
SIGNIN_DENIED
Sign-in was declined.
- Cause
- In the browser flow, the sign-in came back with an error instead of a code. In sign-in by code, the request was denied.
- Fix
- Run the command the block prints to try again. After
authit isvibecommit auth, orvibecommit auth --devicefor sign-in by code. Afterconnectit is theconnectcommand with the arguments that were given. After a browser sign-in there, the block may also print that command with--device, to sign in with a code instead.
SIGNIN_TIMED_OUT
Sign-in did not finish in time.
- Cause
- In the browser flow, the redirect did not arrive before the deadline. In sign-in by code, the code expired before it was approved.
- Fix
- Run the command the block prints to try again. After
authit isvibecommit auth, orvibecommit auth --devicefor sign-in by code. Afterconnectit is theconnectcommand with the arguments that were given. After a browser sign-in there, the block may also print that command with--device, to sign in with a code instead.
SIGNIN_CLIENT_REFUSED
The sign-in service refused this client.
- Cause
- In the browser flow, the sign-in code was received and the service refused to exchange it.
- Fix
- Report the problem with the command that was run. The block also lists the command to run again.
SIGNIN_UNREACHABLE
The sign-in service could not be reached.
- Cause
- In the browser flow, the request to exchange the code failed at the network level. In sign-in by code, the request got no response, or the check for approval failed three times in a row.
- Fix
- Check the network connection, then run the command named in the fix line again.
SIGNIN_ANSWER_UNUSABLE
The sign-in service answered in a way this version cannot use.
- Cause
- The service's answer could not be parsed, or in sign-in by code it was an error this version does not recognise.
- Fix
- Report the problem with the command that was run. The block also lists the command to run again.
SIGNIN_CODE_NEEDS_TTY
Sign-in by code needs a terminal.
- Cause
- Sign-in by code was asked for without a terminal to answer on:
connect --devicewith standard input that is not a terminal, orauth --devicewith--stdinor with standard input that is not a terminal. - Fix
- For
connect, runvibecommit connect --devicein a terminal. Forauth, save a credential without a terminal by piping one intovibecommit auth --stdin.vibecommit connect --devicevibecommit auth --stdin
SIGNIN_CODE_UNSUPPORTED
The server does not offer sign-in by code.
- Cause
- The sign-in service's discovery document names no device authorization endpoint.
- Fix
- The block names no command.
vibecommit auth --pastesaves a credential without sign-in by code.vibecommit auth --paste
SIGNIN_CODE_REFUSED
The service refused to start a sign-in by code.
- Cause
- The request to start a sign-in by code got an error response other than a rate limit.
- Fix
- Run the command the block prints to start a new sign-in by code:
vibecommit auth --deviceafterauth, or theconnectcommand with the arguments that were given.
SIGNIN_CODE_INVALID
The service no longer recognises the sign-in code.
- Cause
- While waiting for approval, the service answered that the code is not valid.
- Fix
- Run the command the block prints to get a new code:
vibecommit auth --deviceafterauth, or theconnectcommand with the arguments that were given.
SIGNIN_CODE_DISABLED
Sign-in by code is turned off for the account.
- Cause
- The service answered that sign-in by code is off for this account.
- Fix
- Turn on "Allow approving machines with a code" under Machines in Settings, then run the command the block prints:
vibecommit auth --deviceafterauth, or theconnectcommand with the arguments that were given.
SIGNIN_RATE_LIMITED
Too many sign-in attempts from this network.
- Cause
- The request to start a sign-in by code got HTTP 429, or the check for approval got 429 five times.
- Fix
- Wait until the time the block shows, or a few minutes when it shows none, then run the command the block prints:
vibecommit auth --deviceafterauth, or theconnectcommand with the arguments that were given.
AUTH_FLAGS_CONFLICT
Two `auth` flags that cannot be combined were given.
- Cause
authwas given both--deviceand--paste.- Fix
- Use only one of the two flags.
vibecommit authvibecommit auth --paste
CONNECT_ARGS_CONFLICT
`connect` was given names and `--typed`, which cannot be combined.
- Cause
connectwas given one or more repository names and--typed. The names are the whole choice, so the typed prompt has nothing to ask. Nothing was granted.- Fix
- Run the command the block prints: the same command with its names and without
--typed. To choose at the typed prompt instead, runvibecommit connect --typedwith no names.vibecommit connect --typed
MINT_FAILED
No usable credential was created.
- Cause
- Creating the credential failed after sign-in: the sign-in could not be used for the request, the request was refused for a reason other than membership or a rate limit, the service did not answer or answered unreadably, or the new credential was refused when first checked.
- Fix
- Run the command the block prints, when it prints one:
vibecommit auth --deviceafter sign-in by code inauth, or theconnectcommand with the arguments that were given. The block prints no command after a browser sign-in inauth, when the service refused the request ofconnect's browser sign-in (rather than leaving it unanswered or failing on its own side), or when the service created a credential and then refused it. Afterauth, the block is followed by an offer to paste a credential instead.
MINT_NOT_A_MEMBER
The signed-in account is not a member of the organization.
- Cause
- The request for a credential was refused because the account that signed in is not a member of the organization its sign-in names. This happens in the browser flow and in sign-in by code.
- Fix
- The block names no command. Ask an owner of the organization to add the account that signed in, then run the command again. After
auth, the block is followed by an offer to paste a credential instead.
MINT_RATE_LIMITED
Too many credential requests; the service asked to wait.
- Cause
- The request for a credential was refused with a rate limit.
- Fix
- Wait, then run the command again. After
connect, the block says how long to wait and prints theconnectcommand with the arguments that were given. After sign-in by code inauth, it printsvibecommit auth --device. After a browser sign-in inauth, it prints no command. Afterauth, the block is followed by an offer to paste a credential instead.
The command on PATH
PATH_COMMAND_FOREIGN
Another program owns the `vibecommit` command.
- Cause
- At the end of
connect, an executable namedvibecommiton PATH resolves to a different program than the one running. - Fix
- Replace the other package, or run this program directly by its path.
npm uninstall -g vibecommit && npm i -g @vibe-commit/capturenode ~/.claude/plugins/vibecommit/bin/index.js connect
PATH_COMMAND_ABSENT
The `vibecommit` command is not on PATH.
- Cause
- At the end of
connect, no executable namedvibecommitwas found on any PATH entry, or PATH is unset or empty. - Fix
- Install the package globally, or run this program directly by its path.
npm i -g @vibe-commit/capturenode ~/.claude/plugins/vibecommit/bin/index.js connect
Finalize and delivery
FINALIZE_NEEDS_TARGET
`finalize` was given no session to close.
- Cause
finalizewas given both--sessionand--latest, or--forcewithout--sessionor--latest.- Fix
- Give
--sessionfollowed by one session's id, or--latest, but not both.--forceneeds one of them.vibecommit finalize --latest
FINALIZE_BAD_SESSION_ID
The value given is not a session id.
- Cause
- The value after
--sessionis not 1 to 128 letters, digits, dots, dashes or underscores. - Fix
- The block names no command. Pass an id made only of those characters.
FINALIZE_NO_RECENT_SESSION
No session in this repository delivered anything recently.
- Cause
finalizewas asked to pick a session and found none. With--latest, no session in this repository delivered anything in the last 24 hours. Plainfinalizealso counts the sessionsstatusnames for this repository: ones that ended with their last turn still open, and ones holding data not yet sent. It leaves out the session named by CLAUDE_CODE_SESSION_ID.- Fix
- Name a session:
finalize --sessionfollowed by its id.
FINALIZE_SEVERAL_RECENT
More than one recent session; one must be named.
- Cause
- More than one session could be picked, and
finalizecannot ask which. Either--latestwas used and more than one session in this repository delivered something in the last 24 hours, or plainfinalizefound several sessions and standard input or standard output is not a terminal. The block lists them. - Fix
- Name one of the listed sessions. After plain
finalize, the block prints a command for each one.
FINALIZE_UNKNOWN_SESSION
This repository has no captured session with that id.
- Cause
- No record of a session with that id exists for this repository on this machine.
- Fix
- The block names no command.
vibecommit finalize --latestpicks a session this repository captured in the last 24 hours.vibecommit finalize --latest
FINALIZE_TRANSCRIPT_MISSING
The transcript for the session could not be found.
- Cause
- The session has a record on this machine, but its transcript file was not found under any agent's transcript folders.
- Fix
- The block names no command.
FINALIZE_AMBIGUOUS_SESSION
More than one Codex transcript has that session id.
- Cause
vibecommit finalize(with--session <id>,--latest, or on its own) looked for a Codex session's transcript, and more than one Codex transcript under$CODEX_HOME/sessions(by default~/.codex/sessions) has that session's id.finalizecloses one transcript and does not choose between them, so nothing was closed.- Fix
- To list the matching transcripts, run this, with
<id>replaced by the session id in the message:find -H "${CODEX_HOME:-$HOME/.codex}/sessions" -mindepth 4 -maxdepth 4 -type f -name 'rollout-*' -name '*-<id>.jsonl'If one of them is a copy you made, move that copy out of thesessionsfolder (don't delete it), then runvibecommit finalize --session <id>again. If you can't tell which file Codex is using, leave them all where they are:finalizecan't close this session.
FINALIZE_STILL_WRITING
The session's transcript changed a moment ago.
- Cause
--forcewas not given and the transcript was modified less than 5 seconds ago.- Fix
- Wait for the session to finish. If it is over, close it anyway with the command the block prints, which names the session and adds
--force.
FINALIZE_REFUSED
The server declined to close the session on this attempt.
- Cause
- The delivery was accepted, and the server refused the request to close the session.
- Fix
- Run the command the block prints, which names the session.
DELIVERY_FAILED
The session could not be delivered; nothing was closed.
- Cause
- The session's transcript was not delivered, so nothing was closed. The server asked to retry later, could not be reached, or refused the data for good; no repository identity was available; another vibecommit command was using the session for longer than
finalizewaits, or took it over while it was closing; data recorded earlier for the session could not be sent first; or the session was never captured on this machine. - Fix
- Run the command the block prints. It names the session when it is known; otherwise put the session's id in place of
<id>.
INGEST_URL_UNAVAILABLE
The ingest address from the environment is unusable.
- Cause
- VIBECOMMIT_INGEST_URL is set to a value that is not a URL, or is neither https nor http on this machine. No session was sent.
- Fix
- Correct it, or remove it to use the default address.
unset VIBECOMMIT_INGEST_URL
Why and report
RECORD_SERVICE_UNREACHABLE
The record service could not be reached.
- Cause
- The request to the record service failed at the network level, or renewing the stored sign-in could not reach the sign-in service.
- Fix
- Run the same command again, and report the problem if it continues.
RECORD_SERVICE_ERROR
The record service could not answer.
- Cause
- The service answered with an error.
- Fix
- Run the same command again, and report the problem if it continues.
RECORD_ANSWER_UNREADABLE
The record service answered in a way this version cannot read.
- Cause
- The service's answer, or the sign-in renewal's answer, was not in the form this version expects.
- Fix
- Run the same command again, and report the problem if it continues.
WHY_NEEDS_FILE_AND_LINE
`why` needs a file and a line number.
- Cause
- The arguments are not exactly one
<file>:<line>with a file, a colon and a line number of 1 or more. - Fix
- Name the file and the line as
<file>:<line>. The block prints an example:vibecommit why src/auth/session.ts:47.
BLAME_FAILED
`git blame` could not attribute the line.
- Cause
git blamefailed for that file and line, its output could not be parsed, the line is not committed yet, or the commit has no usable author time.- Fix
- Check the path and the line number, then run the command again. The block prints it as it was typed, or as
vibecommit why <file>:<line>when the typed command cannot be shown as typed.
REPORT_NEEDS_SINCE
`report` needs a start date. (retired)
- Cause
- Retired in 0.16.0, and never reused. Versions before 0.16.0 raise it when
reportgets no--since,--sinceor--refwith no value, or a bare argument. From 0.16.0reportreports the last 7 days without--since, a flag with no value isARGUMENT_NEEDS_VALUE, and an argument it does not take isUNRECOGNIZED_ARGUMENT. - Fix
- On a version before 0.16.0, give a start date with
--since, written as YYYY-MM-DD. From 0.16.0 nothing is needed.
REPORT_SINCE_UNREADABLE
The start date could not be read.
- Cause
- The
--sincevalue is not a calendar date written as YYYY-MM-DD: four digits, a dash, two digits, a dash and two digits, naming a day that exists. A value such as 2026-13-45 is refused. - Fix
- Write the start date as YYYY-MM-DD. The block prints
vibecommit report --since <YYYY-MM-DD>, with any--refthat was given, or--ref <ref>when that ref cannot be shown as typed; put your values in place of the placeholders.
REPORT_REF_UNNAMEABLE
`report` needs a ref it can name.
- Cause
- No
--refwas given and HEAD is detached or the branch cannot be read; or listing the commits since the start date on the chosen ref failed; or the ref names no single commit, such as a range likeHEAD~1..HEAD. - Fix
- Name, with
--ref, a branch, tag or commit that exists. The block prints an example:vibecommit report --ref main.
REPORT_REACHABILITY_UNKNOWN
Whether a captured commit is reachable could not be determined.
- Cause
- Git could not say whether every recorded commit is reachable from the ref. Either some recorded commits are not in this clone, or git did not answer, for example because it failed or took too long. A ref that names no single commit is
REPORT_REF_UNNAMEABLEinstead. - Fix
- When the block says some recorded commits are not in this clone, fetch from the remote, then run the report again. A fetch cannot bring in a commit that was never pushed, was rewritten and has since been removed, or was left only on a branch deleted before this clone fetched it. Otherwise run the command the block prints: the command as it was typed, or
vibecommit report --since <YYYY-MM-DD> --ref <ref>when it cannot be shown as typed.git fetch
SHALLOW_CLONE
The clone is shallow, so the answer cannot be trusted.
- Cause
- The clone is shallow, or git could not say whether it is. The check treats an unknown answer as shallow.
- Fix
- Fetch the full history, then run the command again.
git fetch --unshallow
CLIENT_TOO_OLD
The server sent an answer this version is too old to show.
- Cause
whyreceived a well-formed answer in a state this version does not know.- Fix
- Update the client, then run the command again. On a plugin install, reinstall the plugin with the first command. On any other install, update the package with the second.
/plugin install vibecommit@vibecommit-capturenpm install -g @vibe-commit/capture@latest
Server error codes
The web API and the MCP server answer a failure with { error: { code, message, ref } } and the status below. ref is the request id the server logs; the page prints its first 8 characters as Ref. Anchors here are the code with hyphens, so reserved_org_name is #reserved-org-name.
- reserved_org_name
- trial_in_use
- checkout_open
- stripe_unavailable
- setup_in_progress
- setup_op_closed
- setup_retry_exhausted
- org_erase_started
- connect_refused
- github_not_configured
- github_oauth_expired
- github_oauth_failed
- github_oauth_cancelled
- github_permission_pending
- refresh_cooldown
- routing_unavailable
- stream_belongs_to_another_capturer
- duplicate_content_pending
- org_read_only
- not_a_member
- unauthenticated
- cross_site_refused
- invalid_json
- invalid_name
- not_found
- server_error
- webhook_not_configured
- signature_missing
- signature_invalid
- webhook_failed
- billing_not_configured
- forbidden_role
- lifecycle_changed
- copy_not_consented
reserved_org_name
HTTP 400 · web API
- Cause
- The name is Personal, in any case.
- Fix
- Pick another name.
- Says
- Personal is reserved. Pick another name.
trial_in_use
HTTP 409 · web API
- Cause
- You already have an organization whose setup hasn't finished, or one you created in the last 10 minutes. The answer names it.
- Fix
- Finish or delete acme-robotics first.
- Says
- You're already creating acme-robotics.
checkout_open
HTTP 409 · web API
- Cause
- A card-first Checkout is already open for this person (one open checkout per user).
- Fix
- Continue or cancel it.
- Says
- A checkout for acme-robotics is still open. Continue or cancel it above.
stripe_unavailable
HTTP 502 · web API
- Cause
- Stripe could not be reached before anything was created or changed.
- Fix
- Try again in a minute.
- Says
- Couldn't reach Stripe. Nothing changed.
setup_in_progress
HTTP 409 · web API
- Cause
- Another payment step for this organization is still running.
- Fix
- Wait. The page updates when Stripe confirms it.
- Says
- A payment for acme-robotics is already in progress. This page updates when Stripe confirms it.
setup_op_closed
HTTP 409 · web API
- Cause
- The same create request was sent again after it had already ended without creating the organization.
- Says
- That attempt ended without creating the organization. Try again.
setup_retry_exhausted
HTTP 409 · web API
- Cause
- Setup failed 3 times; only Delete is offered.
- Fix
- Delete the organization and start again.
- Says
- Setup still didn't finish after 3 tries. Nothing was charged. Delete acme-robotics and start again.
org_erase_started
HTTP 409 · web API
- Cause
- Deleting this organization has started, so its billing can't change.
- Says
- Deleting acme-robotics has started. It can't be resubscribed.
connect_refused
HTTP 403 · web API
- Cause
- Connecting the installation was refused. The reason is logged and never shown.
- Fix
- Refresh from GitHub, then try again.
- Says
- Couldn't connect Vibe-Commit. Refresh from GitHub, then try again.
- Rule
- Shown only for an installation you can already see. Any other installation gets exactly the answer a missing one gets (not found, 404).
github_not_configured
HTTP 503 · web API
- Cause
- A GitHub client id or secret is missing in this environment, or GitHub rejected it. The log names which one is missing, never a value.
- Says
- GitHub connection isn't configured yet. Nothing changed.
github_oauth_expired
HTTP 400 · web API
- Cause
- The GitHub authorization is more than 10 minutes old, or GitHub reported its code as no longer valid.
- Fix
- Refresh from GitHub.
- Says
- That GitHub authorization took too long. Refresh from GitHub to try again.That GitHub authorization expired. Refresh from GitHub.
github_oauth_failed
HTTP 502 · web API
- Cause
- GitHub did not answer before anything was written; the existing records are kept.
- Fix
- Try again in a minute.
- Says
- GitHub didn't answer. Nothing changed. Try again in a minute.
github_oauth_cancelled
HTTP 400 · web API
- Cause
- The authorization came back without a matching request from this session, so nothing was written.
- Fix
- Refresh from GitHub.
- Says
- GitHub authorization was cancelled. Nothing changed.
github_permission_pending
HTTP 409 · web API
- Cause
- An owner of the GitHub organization has not yet accepted the updated permissions VibeCommit asked for.
- Fix
- Ask an owner of the GitHub organization to accept the updated permissions.
- Says
- An owner of Vibe-Commit on GitHub needs to accept VibeCommit's updated permissions first.
refresh_cooldown
HTTP 429 · web API
- Cause
- VibeCommit checks GitHub at most once a minute for each person, to stay inside GitHub's rate limits.
- Says
- Refresh from GitHub again in 30 seconds.
- Rule
- Carries a Retry-After header and wait_seconds in the body.
routing_unavailable
HTTP 503 · MCP server
- Cause
- The server couldn't check which organization this repository's captures go to.
- Fix
- Try again in a minute. The capture client retries on its own.
- Says
- Couldn't check where this repository's captures go, so nothing was saved yet. Try again in a minute.
stream_belongs_to_another_capturer
HTTP 409 · MCP server
- Cause
- The session's stream is already being captured by another member of the organization.
- Says
- This session is already being captured by another member of this organization, so this upload was not saved. Nothing in either capture changed.
duplicate_content_pending
HTTP 409 · MCP server
- Cause
- Another member already captured this exact content, and you can't read their capture.
- Says
- Someone else in this organization already captured this exact content, and you can't read their capture, so it can't be saved here yet. Nothing was lost.
org_read_only
HTTP 403 · MCP server
- Cause
- Branch and fork need an organization that can capture. This one is paused, being deleted, or didn't finish setup.
- Fix
- Ask an owner to resubscribe.
- Says
- acme-robotics is paused, so its sessions can be read but not branched or forked.acme-robotics is being deleted, so its sessions can't be branched or forked.acme-robotics's setup didn't finish, so it has no sessions to branch or fork.
- Rule
- The MCP server uses the same status (403). The caller picks the sentence for the organization's state. The fix applies to a paused organization.
not_a_member
HTTP 404 · web API
- Cause
- You aren't a member of that organization, or it doesn't exist. Both get the same answer.
- Fix
- Ask an owner of the organization to invite you.
- Says
- You're not in that organization.
unauthenticated
HTTP 401 · web API
- Cause
- There is no verified session.
- Fix
- Sign in.
cross_site_refused
HTTP 403 · web API
- Cause
- A state-changing request did not come from this site.
- Fix
- Reload the page and try again.
invalid_json
HTTP 400 · web API
- Cause
- The request body is not valid JSON.
invalid_name
HTTP 400 · web API
- Cause
- The organization name is empty, not text, or longer than 200 characters after trimming.
- Fix
- Use 1 to 200 characters.
not_found
HTTP 404 · web API
- Cause
- The object does not exist or the caller cannot see it. The two are not told apart.
server_error
HTTP 500 · web API
- Cause
- Something failed on our side. The details are logged under the Ref and never shown.
- Fix
- Try again. If it keeps failing, send us the Ref.
webhook_not_configured
HTTP 503 · web API
- Cause
- This environment isn't set up to receive Stripe events.
signature_missing
HTTP 401 · web API
- Cause
- The request carries no Stripe signature.
signature_invalid
HTTP 401 · web API
- Cause
- The Stripe signature on the request does not verify. The detail is not echoed.
webhook_failed
HTTP 500 · web API
- Cause
- Processing the event failed after the signature verified; Stripe retries a non-2xx.
billing_not_configured
HTTP 503 · web API
- Cause
- This environment isn't set up to talk to Stripe.
forbidden_role
HTTP 403 · web API
- Cause
- Your role in the organization doesn't allow this. Billing actions are for owners and admins.
lifecycle_changed
HTTP 409 · web API
- Cause
- The organization's state changed after the page was shown.
- Fix
- Refresh the page.
- Says
- acme-robotics changed since this page loaded. Refresh to see what you can do now.
copy_not_consented
HTTP 409 · web API
- Cause
- Your sharing is off in this organization, so your past sessions can't be copied into it.
- Fix
- Turn on Share my captures with acme-robotics on the Members page, then copy your past sessions.
The one-line summaries are copied from the client's test/error-codes.golden.txt at b841f55.