# Errors

Every error Basemodo can answer, by its code: what it means and what to do. Each error links here, to its own entry.

Every error, from the CLI, the MCP or the API, has the same shape:

```json
{"error": {"code": "app_not_found", "message": "you have no App named lunch-rota", "fix": "basemodo deploy --name lunch-rota", "docs": "https://basemodo.com/docs/errors#app_not_found"}}
```

- `code` is stable: programs and agents act on it.
- `message` says what happened, for people.
- `fix`, when there is one, is the exact command to run or `basemodo.toml` line to change. Try it first.
- `docs` links to the entry below.

A failed Deploy adds `deploy` (its id) and, when the build failed, `log` (the build log). In a terminal without `--json`, the message, `fix:` and `docs:` are printed on stderr, and the CLI exits with a non-zero code.

## Signing in

### `not_signed_in`

You are not signed in, or your sign-in expired (after 30 days) or was revoked. Run `basemodo login`. An agent asks you to run it in a terminal.

### `too_many_sign_in_links`

Five sign-in links were sent to this email in the last 15 minutes. Use the latest email, or wait a few minutes.

### `email_ceiling_reached`

Basemodo sent as many emails of one kind as it may in an hour, everyone's together, and sent nothing this time. The error names which: sign-in emails (sign-in links), or emails sent on someone's behalf (invitations to an App or a Workspace, and access requests to an Owner). Each has an hourly budget of its own, so the other kind still leaves: invitations never stop anyone from signing in. Its Operators were told. Try again in an hour.

### `rate_limited`

Your address asked for more of something (sign-in links, for one) than one client may in a while, whatever emails it named. The error says when to try again, as does the `Retry-After` header, in seconds. Several people behind one address (an office, a shared network) share the budget. Uploads of a folder are limited per App instead, whoever uploads: the error names the App. So is new code: an App stores at most 25 000 new files and folders an hour, every upload, push and Deploy together (each file counted once, so a Deploy that changes a few files stores only those). So are Deploys: an App is asked for at most 60 an hour, whoever asks, the same code deployed again and those refused included, but one refused until an Admin agrees to its price ([`charge_required`](#charge_required)). Changes (`basemodo change`) are limited per App, 30 an hour whoever makes them, and each one counts among the App's uploads and its Deploys too. Diffs (`basemodo diff`) are limited per person and per App, 120 an hour each, and forgetting a Deploy's code to 30 an hour each. Basemodo's GitHub webhook counts only the deliveries it refuses ([`invalid_signature`](#invalid_signature), [`invalid_delivery`](#invalid_delivery), [`delivery_too_large`](#delivery_too_large), [`delivery_too_slow`](#delivery_too_slow)): from an address that sent 30 of those in ten minutes, a delivery is refused for a while before its body is read, signed or not. Its headers are still read first, so one whose headers are not GitHub's, or that announces a body too large, still gets `invalid_delivery` or `delivery_too_large`, and counts again. A delivery signed with the GitHub App's secret never counts, so GitHub's own are never refused, however many there are. Preview Links are limited per person, 30 an hour, and per App, 60 whoever makes them, and opening them to 60 an hour per address; ending an App's Previews (`basemodo preview --revoke`) has a budget of its own, 120 an hour per person, so it works however many links were made. Screenshots are limited per person, 60 an hour (20 of Apps whose Owner pays for no Plan), and per App, 120.

### `email_not_sent`

Basemodo could not send an email (a sign-in link, an invitation). Nothing else changed; try again in a minute.

### `magic_link_invalid`

The sign-in link is not one Basemodo sent. Open the link from the email as it is, without cutting it.

### `magic_link_used`

Each sign-in link works once, and this one was used. Ask for a new one on the sign-in page.

### `magic_link_expired`

Sign-in links work for 15 minutes. Ask for a new one on the sign-in page.

### `demo_link_ended`

This demo link was replaced or ended. Ask Basemodo for the current one.

### `invalid_email`

That is not an email address. Check for typos and spaces.

### `invalid_return_to`

Where to go after signing in must be a page of Basemodo. Start the sign-in again from the page you wanted.

### `sign_in_unavailable`

That way of signing in (Google or GitHub) is not available right now. Sign in with an email link instead.

### `sign_in_cancelled`

The sign-in was cancelled at Google or GitHub. Start again when you are ready.

### `sign_in_expired`

The sign-in took longer than 10 minutes, or was started in another browser. Start it again.

### `email_not_verified`

Your Google or GitHub account has no verified email, so Basemodo cannot tell who you are. Verify the email there, or sign in with an email link.

### `sign_in_failed`

Google or GitHub did not complete the sign-in. Try again, or sign in with an email link.

### `app_sign_in_invalid`

Signing in to an App took too long, was already used, or was started in another browser. Open the App's address again.

### `no_app_at_host`

No App answers at this address: the name is wrong, or it has nothing deployed yet. Check the address with `basemodo status`.

### `cross_site_request`

Saying yes to an App (Continue, or signing in from Basemodo's sign-in page for it) came from another site's page, which can never say it for you. Open the App's address again and answer on basemodo.com.

## Your account

### `account_email_mismatch`

Erasing your account (`basemodo account delete`, or the account page) takes your account's own email, typed to confirm. Type it as `basemodo whoami` shows it.

### `account_is_suspended`

Your account is suspended while Basemodo reviews it, and a suspended account is not erased by itself. Write to support@basemodo.com to have it erased: Basemodo decides what it must keep. Once the suspension is lifted, you can erase it yourself.

### `account_owns_apps`

Your account is erased once it owns no App. Delete each App, or Transfer it to someone else, from its settings; the message names them.

### `account_last_admin`

Your account is erased once each Workspace you run has another Admin. Make someone else an Admin on the Workspace's page, or write to support@basemodo.com to close the Workspace.

### `account_plan_paid`

Your account is erased once the Plan you pay for is cancelled. Cancel it on the billing page; it ends with the month already paid, and you can erase your account at once.

### `account_is_demo`

A Demo Account is Basemodo's, and its Operators delete it: whoever holds its link cannot.

## The CLI's sign-in

### `access_denied`

The sign-in was refused in the browser. Run `basemodo login` again and approve it.

### `sign_in_timed_out`

The sign-in was not approved in time. Run `basemodo login` again.

### `local_server_failed`

`basemodo login` could not listen on this computer for the browser to come back. Use `basemodo login --device`, which needs no local port.

### `invalid_api_url`

`--api-url` (or `BASEMODO_API_URL`) is not a URL. Use one like `https://api.basemodo.com`, or leave it out.

### `authorization_pending`

The code shown by `basemodo login --device` is not approved yet. The CLI keeps waiting by itself; approve it at basemodo.com/device.

### `cli_code_invalid`

The sign-in code the CLI used is not valid. Run `basemodo login` again.

### `cli_code_used`

The sign-in code was already used; each works once. Run `basemodo login` again.

### `cli_code_expired`

The sign-in code expired. Run `basemodo login` again.

### `cli_sign_in_not_found`

No CLI is waiting for the code you entered. Check it against the code your terminal shows, or run `basemodo login --device` again.

### `invalid_redirect_uri`

The CLI, or an agent connecting to the Remote MCP, asked to be sent back somewhere it did not register (the CLI: anywhere but this computer), which Basemodo never allows. Update the CLI and run `basemodo login`, or connect the agent to Basemodo again.

### `invalid_code_challenge`

The CLI's sign-in request is malformed. Update the CLI, then run `basemodo login`.

### `invalid_device_name`

The CLI did not say which computer it runs on. Update the CLI, then run `basemodo login`.

### `no_config_dir`

The CLI cannot tell where to keep its sign-in, because `HOME` is not set. Set `BASEMODO_CONFIG_DIR` to a folder.

### `credentials_unreadable`

The CLI's `credentials.json` is damaged. Delete it (the message names it) and run `basemodo login`.

### `credentials_unwritable`

The CLI cannot write its `credentials.json`. Check the folder it names exists and is yours, or set `BASEMODO_CONFIG_DIR`.

### `invalid_client`

The agent that sent you to approve it is not one Basemodo knows: it never registered, or its client metadata document cannot be read or is not valid (the message says which). Connect the agent to Basemodo's MCP again; if it keeps failing, the agent's maker must fix its document. See [Troubleshooting](https://basemodo.com/docs/mcp/troubleshooting#sign-in-does-not-finish).

### `device_not_found`

That device is not signed in as you, or was already signed out. Reload the Devices page.

## Apps and Deploys

### `app_not_found`

You have no App by that name or id (or you may not deploy it). Check the name with `--app`; without it, the CLI uses the App named after the current folder. To create it, deploy: the fix names the command. A folder deployed before names its App in its `.basemodo/` folder. When you owned or edited that App and it was deleted, the message says so: to deploy the folder as a new App, remove its `.basemodo/` folder and deploy again. Otherwise it is someone else's App (Basemodo never says whether someone else's App exists), or one deleted long enough ago to be gone for good: ask its Owner to invite you as an Editor, or deploy the folder as a new App the same way. For operators naming the Apps a Security Update covers: name each by its id, or by the name in its address (`lunch-rota`).

### `app_deleted`

That App, which you own or edit, was deleted. Its Owner can bring it back from its last Backup while it is kept ([`basemodo restore`](https://basemodo.com/docs/cli/restore)). To deploy its code as a new App instead, remove the folder's `.basemodo/` folder and deploy again.

### `app_exists`

You already have an App with that name. Deploy to it, or choose another name with `--name`.

### `invalid_app_name`

App names are lowercase letters, digits and dashes, at most 40, starting and ending with a letter or digit. Choose one with `--name`, or `name` in `basemodo.toml`.

### `code_copy_failed`

Basemodo keeps a copy of each Deploy's code in its bucket before it makes the Deploy, and could not this time, so the Deploy was not made. Nothing changed: try again in a moment.

### `no_folder`

The CLI cannot open the folder to deploy. Check the path, and that you may read it. The Remote MCP has no folder at all: deploy a GitHub repository with `repository` instead.

### `app_not_named`

The Remote MCP has no folder to name the App after. Call the tool again with `app` set to the App's name.

### `unreadable_folder`

A file of the folder cannot be read. Fix its permissions, or leave it out with a `.basemodoignore` line.

### `invalid_source`

The upload is not a folder Basemodo accepts: a file outside it, a link, a path longer than 1024 bytes or deeper than 64 folders, or too many files (more than 20,000). Leave the offending files out with `.basemodoignore`.

### `source_too_large`

The folder packs to more than 50 MB (or 200 MB unpacked), or one of its files is larger than 25 MB: the error names it. Leave dependencies and build output out with a `.basemodoignore` file: Basemodo installs and builds them itself.

A push gets it too when GitHub's tarball of the commit is larger than 50 MB. That tarball holds the whole repository, whatever folder the App is linked to, so deploy from a clone instead: `basemodo deploy --no-link` uploads only the App's folder.

### `reserved_path`

The folder, or the repository a push deploys, holds a path git, Windows or macOS treats as special, which no App's code may hold: Basemodo writes it to a Person's computer and keeps it in git. The error names the path and why. That is a path with a folder or file named:

- `.git` (in any case, with trailing dots or spaces, or as `git~1`), git's own folder;
- `.basemodo`, the Basemodo CLI's own folder;
- a Windows device name, with or without an extension: `con`, `prn`, `aux`, `nul`, `com1` to `com9`, `lpt0` to `lpt9`;

or a name holding `\`, `:`, `<`, `>`, `"`, `|`, `?`, `*` or a control character, or ending in a dot or a space. Rename it, or leave it out with a `.basemodoignore` line. For a push, rename it in the repository and push again. `basemodo deploy` checks every path before it uploads anything, and `basemodo pull` checks every path of the code it is answered again before it writes anything: one such path, and it writes nothing.

### `sources_busy`

Basemodo holds only so many Sources at a time, every Owner's uploads, pushes and Deploys together, so that none can take the memory the rest need, and none freed up within a few seconds: it unpacks a few at once, and takes only so many uploads arriving at once, two from one person. Nothing was uploaded or deployed, and nothing is wrong with your folder. Try again in a moment: `basemodo deploy`. A push never gets it: it waits for its turn. `basemodo diff` takes a turn too, since it reads two Deploys' code, and so does forgetting a Deploy's code: try it again in a moment.

### `upload_too_slow`

The upload arrived slower than 100 KB a second once its first 30 seconds had passed, so Basemodo let go of it: a stalled upload would hold a place other uploads need. Nothing was uploaded. Deploy again from a faster connection, or leave dependencies and build output out with a `.basemodoignore` file so the upload is smaller.

### `source_not_found`

The upload this Deploy names is not the App's. Run `basemodo deploy` again.

### `invalid_manifest`

`basemodo.toml` has a mistake: an unknown key, a wrong value, invalid TOML, or a file over the 64 KB a manifest may be. The message names the key and the line; the fix is the line to write. Every key is on [the manifest's page](https://basemodo.com/docs/manifest).

### `opens_paths_owner_only`

This Deploy's `basemodo.toml` adds a path to `public_paths` or `[callers] paths`, or widens one (`/hooks/stripe` to `/hooks/*`), beyond what the App's live Deploy opens, and you are an Editor of the App: only its Owner opens it to more visitors, since those paths are reached past sign-in with no role checked. The message names the paths. Keep them as the live Deploy has them (`basemodo status` lists its Public Paths), which still deploys, or ask the Owner to deploy it. A push to a repository an Editor linked is refused the same way; one the Owner linked deploys, and the Owner is told. See [Roles](https://basemodo.com/docs/roles#editor).

### `allow_public_required`

This Deploy's `basemodo.toml` adds a path to `public_paths` or `[callers] paths`, or widens one (`/hooks/stripe` to `/hooks/*`), beyond what the App's live Deploy opens. Anyone reaches a Public Path, and the App's Callers their paths, without signing in, so the Owner says so for each Deploy that opens one: the message names the paths. If you mean to open them, deploy again with `--allow-public` (the `deploy` tool's `allow_public`). An agent asks the person first, and when it opened paths through an Agent Grant, the Owner is told. Keeping or narrowing the paths needs nothing.

### `history_full`

Your Apps' history, every Deploy's code across your Apps and the deleted ones not yet purged, would take more than your Plan keeps: 250 MB on Starter, 1 GB on Pro and a Workspace, each file counted once and at least 4 KB (so 20 000 tiny files count as 80 MB). Past it, the oldest Deploys lose their code first, and say so in `basemodo deploys` (`code_dropped_at`), but never the latest code, the live Deploy or the Deploys whose images are kept: this code would need theirs to go, so nothing was stored. Leave large or generated files out with a `.basemodoignore` file, or deploy small changes until older Deploys' images are no longer kept. A deleted App's history counts until it is purged.

### `storage_full`

Basemodo is short of room for new code: its database is past 70% of what it may grow to, so uploads, pushes and Deploys of new code are refused until it has room again, and Basemodo's operators are told. Nothing was stored, and nothing is wrong with your folder. A Rollback still works. Try again later: `basemodo deploy`.

### `invalid_description`

The `--description` given to `deploy` is not one line of at most 200 characters: it holds a line break or another control character, or is longer. It is kept as the message of the Deploy's commit in the App's history, so it says in one line what the Deploy changes. Shorten it, or leave it out: a Deploy needs none.


### `folder_behind`

The folder came from Basemodo (its `.basemodo/` names the Deploy it came from), and the App's code changed since: a Change from a chat, or a Deploy from another folder. Deploying it would undo those changes without your knowing, so nothing was deployed. Bring them into the folder first with `basemodo pull`, or, to replace them with the folder as it is, `basemodo deploy --replace`: they stay in the App's history. A Rollback or a Security Update since does not count: they repeat code the App had.

### `app_mismatch`

The folder came from one App (its `.basemodo/` names it), and `deploy` or `pull` was asked for another: by `--name`, `--workspace`, the folder's `basemodo.toml`, or `pull`'s App. A folder deploys and pulls only the App it came from, so a `basemodo.toml` someone else wrote cannot send your next Deploy to another of your Apps. Deploy it without naming another App, change the `name` in `basemodo.toml` back, or pull the other App into a new folder: `basemodo pull <app> <new folder>`.

### `folder_not_empty`

`basemodo pull` writes an App's code into a new folder, one that holds nothing, or one that came from that App (its `.basemodo/` names it), and this one holds files and came from none. Nothing was written. Name a new folder: `basemodo pull <app> <new folder>`. From the Local MCP, `pull` writes only into a new folder: see [`outside_working_folder`](#outside_working_folder).

### `code_on_github`

The App is linked to a GitHub repository, so its code lives there, and the folder `basemodo pull` was asked to write into holds files already. Nothing was written. Bring the latest commit in with git: `git pull`. Into a new or empty folder, `pull` still writes the App's latest code.

### `conflict_markers`

`basemodo pull` joined the folder's changes with the App's latest code, and both sides changed the same lines of a file: it left git's conflict markers there (`<<<<<<< folder`, `=======`, `>>>>>>> basemodo`), and the folder's `.basemodo/` lists the file. A Deploy is refused while one still holds them, so they never go live. The message names the files. In each, keep what should stay between the markers and delete the marker lines, then deploy again.

### `code_not_kept`

The code of the Deploy the folder came from is no longer kept (an Owner's history keeps only so much, and drops its oldest Deploys' code first), so Basemodo cannot tell what the folder changed since. Nothing was written. Pull the App into a new folder, `basemodo pull <app> <new folder>`, then bring your changes over by hand.

### `folder_unrelated`

The Deploy the folder came from is not in the history of the App's latest code, so the two have nothing to be joined on. Nothing was written. Pull the App into a new folder: `basemodo pull <app> <new folder>`.

### `held_files_missing`

`basemodo pull` into a new folder left out files agents or tools obey (`AGENTS.md`, `.claude/`, `package.json` and the rest) whose latest change someone else made, and the folder still lacks them, so a Deploy of it would take them out of the App. Once you agree to what they changed, run `basemodo pull --accept` in the folder to write them, then deploy again.

### `folder_too_far_behind`

The Deploy the folder came from is more than 1000 Deploys behind the App's latest code, further back than Basemodo looks for where the two meet. Nothing was written. Pull the App into a new folder, `basemodo pull <app> <new folder>`, then bring your changes over by hand.

### `merge_too_large`

Joining the folder with the App's latest code would write more than 64 MB of files into it, more than one `basemodo pull` brings into a folder that came from Basemodo. Nothing was written. Pull the App into a new folder, `basemodo pull <app> <new folder>`, which has no such limit, then bring your changes over.

### `symlink_in_the_way`

The folder `basemodo pull` was asked to write into, a folder inside it, or the folder's `.basemodo/`, is a symlink. The CLI never reads or writes through one, since it could point anywhere on your computer. Nothing was written. Use a real folder in its place.

### `invalid_basemodo_folder`

The folder's `.basemodo/` is not as Basemodo wrote it: its `folder.json` is missing its ids, or is not a file. Delete the folder's `.basemodo/` and deploy it again, or pull the App into a new folder.

### `unwritable_folder`

The CLI could not write a file of the App's code, or the folder's `.basemodo/`: the error names it and why. Check that the folder is yours and that the disk has room, then try again. What `pull` had written is taken out again.

### `outside_working_folder`

From the Local MCP, `pull` writes only into a new folder inside the folder the MCP runs in: a relative path of plain names (no `..`), through no symlink, that does not exist yet. Call it again with `folder` set to a new folder's name, such as the App's. Likewise `screenshot` writes its PNG only inside that folder, through no symlink, when given `out`: call it without `out` to get the image in the answer.

### `nothing_detected`

Basemodo does not recognize the folder, or recognizes it but cannot tell how to start it. The fix names what to add: a `Dockerfile`, an `index.html`, a start script, or `[web] command` in `basemodo.toml`. See [Supported runtimes](https://basemodo.com/docs/runtimes).

### `invalid_dockerfile`

Basemodo cannot build your `Dockerfile` as it is written. With [`web.command`](https://basemodo.com/docs/manifest#web.command), Basemodo adds a few lines after your Dockerfile to start that command under its supervisor, so the Dockerfile's last line must end its instruction: a last line that ends in `\` (or in the escape character your Dockerfile sets) would go on into Basemodo's first line. The message names the line; remove the `\` at its end, then deploy again.

### `deploy_not_found`

You have no Deploy with that id. Deploy ids are printed by `basemodo deploy --json` and listed on the App's page. `basemodo diff` compares two Deploys of one App: a Deploy of another App, as either of them, is not found, even one of another App you have.

### `code_not_kept`

The code of that Deploy is no longer kept in the App's history, so `basemodo diff` cannot compare it: Basemodo keeps the code of every Deploy that went live and the Deploys they were made from, and of the failed Deploys only the newest few. `basemodo deploys` says which Deploys' code was deleted. Its Owner may also have had it forgotten, from the App's Deploys page. Compare two Deploys whose code is kept.

### `diff_too_slow`

Comparing two Deploys' code took longer than two minutes, so Basemodo stopped: nothing is wrong with either. Compare one file or folder at a time: `basemodo diff <deploy> --path <path>`.

### `code_in_use`

That Deploy's code is the live Deploy's, the App's latest code, or that of a Deploy on its way (a Rollback repeats the code of the Deploy it rolls back to), and Basemodo never forgets it: the App runs it, and the next Deploy is made on it. To take something out of it, a secret that slipped in, deploy the code without it first, then forget the older Deploy's code from the App's Deploys page. Rotate the secret too: forgetting the code does not undo who read it.

### `forget_too_slow`

Forgetting a Deploy's code took longer than two minutes, so Basemodo stopped: nothing was forgotten, and the code is still kept. Try again later.

### `forget_not_recorded`

The Deploy's code was forgotten, but Basemodo could not record that in its bucket, so restoring its database from an older copy could bring the code back. Forget it again in a moment, from the App's Deploys page: forgetting it again changes nothing else and records it.


A folder's `.basemodo/` names a Deploy that is not one of the App's it names, as it would be had an Editor of another of your Apps edited it: nothing was deployed. Deploy ids are scoped to their App, so another App's Deploy, or anyone else's, is never found. Delete the folder's `.basemodo/` and deploy it again, or pull the App into a new folder: `basemodo pull <app>`.

### `deploy_never_live`

That Deploy never went live, so it cannot be brought back. Roll back to one that did.

### `deploy_before_security_update`

That Deploy is from before a Security Update rebuilt the App, so rolling back to it would run its vulnerable image again. The message names the Security Update and the Deploy that rebuilt the App. Roll back to that Deploy or a later one, or deploy its Source again from its folder or commit: a new build runs on the patched runtime.

### `deploy_image_deleted`

That Deploy's image was deleted. Basemodo keeps the images of an App's live Deploy and the two before it, so a Rollback to either of those takes seconds; one further back needs a new build. Deploy that version again from its folder or commit (`basemodo deploy`), and it is built anew. [`basemodo deploys`](https://basemodo.com/docs/cli/deploys) shows which Deploys' images were deleted.

### `deploy_image_lost`

That Deploy's image was lost with the Host that built it, before it reached Basemodo's storage, so no Rollback can run it. Deploy that Deploy's Source again from its folder or commit (`basemodo deploy`), and it is built anew.

### `deploy_timeout`

The CLI stopped waiting, 20 minutes after the Deploy stopped waiting (for the App's earlier Deploys, or for a build turn), but the Deploy is still running on Basemodo. Check it with `basemodo status`.

### `build_failed`

The build stopped with an error. The error carries the build log: read its last lines, fix the code or the build command, and deploy again. The previous version keeps running.

### `image_too_large`

The build made an image larger than 2 GB, compressed as Basemodo stores it, so it was not kept and nothing changed: the previous version keeps running. The message says the image's size; the build log ends with it. Leave out of the image what the App does not need to run (build tools, caches, test files): a multi-stage `Dockerfile` copies only what runs into its last stage, and a `.basemodoignore` leaves files of the folder out. Then deploy again.

### `builder_unavailable`

Basemodo's builders could not take the build. Nothing is wrong with your App; deploy again in a minute.

### `start_failed`

The new version could not start on the App's machine. Deploy again; if it repeats, check the start command (`web.command`, or your Dockerfile's `CMD`).

### `app_cannot_start_now`

Basemodo had no room to start the App just now, for a Deploy or a command (`basemodo run`, `basemodo db`, `basemodo restart`) that needed it started. A new App's first Deploy gets it before anything is built, and so does restoring a deleted App's last Backup (`basemodo restore`), which comes back on a new machine: nothing was charged, and the App stays deleted and restorable until that Backup expires. Nothing is wrong with your App and nothing in it needs to change: it stays asleep as it was, and Basemodo has been told. Try again in a few minutes; a Deploy that failed this way changed nothing, so deploy again then. Its visitors meanwhile see "This App could not start. Try again in a moment."

### `image_not_copied`

The new Deploy built, but its image did not reach Basemodo's storage, which the Host your App runs on takes it from, within 10 minutes. Nothing was changed: the Deploy before it keeps running. This is on Basemodo's side, not your code's; deploy again in a moment.

### `not_ready`

The new version started but never answered HTTP within 60 seconds. It must listen on the port in `$PORT`, on `0.0.0.0` (not `localhost`). See [the Port Contract](https://basemodo.com/docs/how-apps-run#the-port-contract). The previous version keeps running.

### `web_exited`

The new version's `web` process exited (or was killed for running out of memory) before it answered HTTP, so it never got to listen: a syntax error, a missing module, a setting it reads at start. The message says how it ended (`web exited with code 3`), and the error carries its last lines, as its Logs show them (`basemodo logs --process web`; for an image from your own Dockerfile without `web.command`, `basemodo logs`), where what broke usually is. Fix that and deploy again. If it was started again and runs, it must also listen on `$PORT`, as for [`not_ready`](#not_ready). The previous version keeps running.

### `network_policy_unenforced`

The new version did not start because its Machine could not be held to its network policy: the Host it runs on could not install the rules that hold the Machine to it (its firewall and its DNS, outside the Machine), or, in a Machine whose own supervisor enforces the policy, the supervisor could not, and an App never runs without them. The failure says why; a supervisor also says it in the App's Logs, in a line starting `[basemodo] the network policy cannot be enforced`. This is on Basemodo's side, not your code's; the previous version keeps running. Deploy again later.

### `interrupted`

Basemodo restarted while this Deploy was building or starting, or, for a push from GitHub, every time it was fetching it, so it was not tried again. Deploy (or push) again.

### `app_paused`

The App is paused, so it cannot be woken or run commands: one of its workers kept crashing (its Logs say which, and why), it ran out of its memory or disk quota, its Owner's Plan ended or changed to one with no room for it, its [Security Update](https://basemodo.com/docs/deploying#security-updates) did not build and no version that builds was deployed in time, or Basemodo paused it for review (see [Abuse and limits](https://basemodo.com/docs/plans#abuse-and-limits)). `basemodo status` gives the reason and what resumes it: fix the cause and deploy again (or [`basemodo restart`](https://basemodo.com/docs/cli/restart)), after a Security Update deploy a version that builds (a restart would run the vulnerable image again), after a Plan ended choose one again ([Plans](https://basemodo.com/docs/plans)), when the Plan has no room for it delete Apps or move to a bigger Plan, and after a review wait for Basemodo's answer.

## An App's code and the Templates

### `app_has_deploys`

A Template starts only an App with no Deploy yet, so that no App's code is ever replaced by a Template. Read the App's code with `basemodo files` and change it, or start a new App from the Template under another name: `basemodo deploy --template app --name <new-name>`.

### `template_not_found`

Basemodo serves two Templates: `app`, for an App that saves data or knows who is visiting, and `site`, for a static site. Name one of them.

### `template_unavailable`

Basemodo could not fetch the Template from GitHub just now. Nothing was created or deployed; try again in a minute.

### `template_refused`

What GitHub serves for the Template is not the commit Basemodo's code pins: its files do not make the pinned tree, or the commit is not on the Template's default branch. Basemodo serves no Template it cannot vouch for, and its people were told. Start from the other Template, or deploy a folder or a repository meanwhile.

### `file_not_found`

A path asked of `files` is no file of that code. List the files first (`basemodo files`, without paths), then ask for paths as it lists them, from the App's root.

### `files_too_large`

One `files` call answers at most 2 MB of contents. Ask for fewer paths at once: `files` without paths lists each file's size.

### `invalid_paths`

The paths asked of `files` are too many (more than 1000 at once), or one is blank or longer than 4096 characters. A Template is read without `--deploy`.

### `code_not_kept`

Basemodo no longer keeps that Deploy's code: past an App's history limits, the oldest Deploys and the failed ones nothing was made from lose their code first, never the App's latest code or its live Deploy. Read the App's latest code instead (`basemodo files`, without `--deploy`).

## Changes

`basemodo change` (the `change` tool) writes, edits or deletes files on the code of one of an App's Deploys, its base, and deploys them as one Deploy. Each refusal changes nothing: no file is stored and no Deploy is made. `basemodo deploy --template` with `--operations` (the `deploy` tool's `operations`) does the same operations on the Template's files for the App's first Deploy, refused with the same errors, the Template standing for the base: read it with `basemodo files --template <app|site>`.

### `stale_base`

The Deploy named as the Change's base is no longer the App's latest code, nor a Deploy that failed after it: another Change or Deploy landed since, and making the Change on the older code would undo it without anyone knowing. The message and the fix name the App's latest Deploy. Read its code again (`basemodo files`, which names it), then make the Change on it: `basemodo change --base <latest deploy>`. Two Changes made on one base at the same time never both land: the second gets this.

### `code_on_github`

The App is linked to a GitHub repository, so its code lives there, and Basemodo never writes to it: a Change is refused. Change the code in the repository and push it: every push to its branch deploys the App.

### `description_required`

Every Change says what it changes, in one line of the person's words: the App's history reads like what they asked for. Call it again with `--description` (the tool's `description`): at most 200 characters, with no line break or other control character ([`invalid_description`](#invalid_description) otherwise), in the person's language.

### `invalid_operations`

The Change's operations are not ones it can do: it has none (or more than 1000), a write gives both `content` and `base64` (or neither), its `base64` does not decode, an edit has no passage or is of a file that is not text, or the code it would make holds a file and a folder of the same name. Each operation is `{"op": "write", "path", "content"}` (or `"base64"` for a binary file, and `"executable"` if it should be), `{"op": "edit", "path", "passage", "replacement"}`, or `{"op": "delete", "path"}`; in a terminal they are a JSON list, from a file or stdin (`-`).

### `invalid_paths`

A path of the Change is not a plain path from the App's root: it is blank, starts with `/`, has an empty, `.` or `..` part, or is longer than 4096 characters. Name each file as `basemodo files` lists it: `src/main.ts`.

### `reserved_path`

A path of the Change is one git, Windows or macOS treats as special, which no App's code holds (see [`reserved_path`](#reserved_path) under Apps and Deploys): a folder or file named `.git`, `.basemodo` or a Windows device name, or a name holding `\`, `:` or a control character. Rename it.

### `file_not_found`

An edit is of a file the base's code does not hold. List the files first (`basemodo files --deploy <base>`) and edit one it lists, or write the file whole.

### `nothing_to_delete`

A delete is of a file the base's code does not hold, perhaps one an earlier Change already deleted. Delete only files `basemodo files --deploy <base>` lists.

### `passage_not_found`

An edit's passage is not in the file. An edit replaces one passage exactly as the file holds it, its spaces, tabs and line breaks included. Read the file again (`basemodo files <path> --deploy <base>`) and copy the passage from it, or write the file whole.

### `passage_ambiguous`

An edit's passage is in the file more than once, so Basemodo cannot tell which to replace, and replaces none. Make the passage longer, with the lines around the one to change, so that the file holds it once.

### `change_too_large`

One Change touches at most 200 files and sends at most 2 MB of content (what it writes, and its edits' passages and replacements). Split it into several Changes, each made on the Deploy the one before it made. Its request may be up to 4 MB on the Remote MCP, whose other tools take 1 MB.

### `source_too_large`

The App's code would be past what any App's code may hold once changed: 20 000 files, 25 MB for one file, or 200 MB in all. Delete files the App does not need, such as build output.

### `secret_in_code`

The Change would leave a key in the App's code: a Stripe live secret key (`sk_live_`), an AWS access key (`AKIA`), a GitHub token (`ghp_`) or a private key's block (`-----BEGIN ... PRIVATE KEY-----`). Every Editor reads an App's code and its history keeps it, so a key never goes there. The error names the file, never the key. The person sets it as a Secret instead, `basemodo env set NAME=value`, and the App reads it from its environment. A key the file already held before the Change does not stop it.

### `app_not_found`

You have no App by that name, or you are only a Member of it: a Member uses an App and never reads or changes its code. Only its Owner (a Workspace's Admins) and its Editors make a Change.

### `deploy_not_found`

The base is no Deploy of this App. Deploy ids are scoped to their App: another App's Deploy, even one of yours, is never found. Name the Deploy `basemodo files` names for the App.

### `code_not_kept`

The base's code is no longer kept (past an App's history limits, the oldest Deploys and the failed ones nothing was made from lose their code first), so no Change is made on it. Make it on the App's latest code: `basemodo files` names its Deploy.

### `rate_limited`

An App takes at most 30 Changes an hour, whoever makes them, those refused included, and each counts among its 60 uploads an hour and its 60 Deploys an hour: the message says which ran out, and when to try again. An agent stuck making the same Change has a ceiling.

### `no_backup_left`

The Change adds a file under `migrations/`, and a Change that adds a migration is deployed with a Backup of the App's data taken first (one an hour at most: a Change within the hour of the last one uses it), so that the data from just before it can always come back. That Backup counts among the App's 10 Backups of its own in 24 hours ([`too_many_backups`](#too_many_backups)), and the App has taken them all: a migration never runs without one, so the Change was not made. The error says when the next Backup is allowed. Make the Change then, or make it without the new file under `migrations/`. The same failure ends a Deploy of such a Change when the App's Backups ran out while it waited in the queue.

## Upload Links

`basemodo upload` (the `upload` tool) answers an Upload Link: a one-time address an agent's own shell sends an App's folder to, with the `curl` line it answers, before `deploy --upload` (the `deploy` tool's `upload`) deploys it. A link takes one folder within 10 minutes; the folder then waits 10 minutes for its Deploy (an hour once its Deploy asked for a Charge Approval), and the link makes one Deploy. A folder refused as it arrives (too large, a link or a path out of the folder in it) may be sent again to the same link while it lasts. A person asks for at most 60 links and 120 Deploys of them an hour, and one address sends to links at most 60 times an hour ([`rate_limited`](#rate_limited)). See [Deploying](https://basemodo.com/docs/deploying#from-a-shell-through-the-remote-mcp).

### `upload_link_not_found`

There is no Upload Link of that id opened by that key, or it is not yours: a link is sent to only with the `Authorization` header its `curl` line carries, and deployed only by the person who asked for it. Use the `curl` line as `upload` answered it, or ask for a new link.

### `upload_link_expired`

The link took no folder within 10 minutes of being asked for, the folder sent to it waited for its Deploy longer than it is kept (10 minutes, or an hour once its Deploy asked for a Charge Approval), its folder waited undeployed while every place for folders was taken and gave its place to a newer one, its folder could not be unpacked and packed within 2 minutes (its Deploy answered `invalid_source`), the sign-in that asked for it ended (its agent was signed out or revoked), you asked for two more links since (a person holds two at once, and a third lets the oldest go), or Basemodo restarted since the folder arrived. Nothing was deployed. Ask for a new link with `upload`, send the folder with its `curl` line, and deploy it.

### `upload_link_used`

A folder was sent to the link already, or deployed already (the message names its Deploy): a link takes one folder and makes one Deploy. For the next version of the App, ask for a new link.

### `upload_link_not_sent`

No folder was sent to the link yet, or it is still arriving. Run the link's `curl` line in the App's folder, wait for its answer, then deploy again: the App made for the Deploy stays meanwhile.

### `upload_link_for_another_app`

The link was asked for another App, and deploys no other: the message names it. Deploy it with that App's name, or ask for a link for this App.

### `code_on_github`

The App is linked to a GitHub repository, so its code lives there and no folder is deployed to it from an Upload Link. Push the folder to the repository: every push to its branch deploys the App.

### `secret_in_code`

A file of the folder holds a key the same file of the App's latest code did not: a Stripe live secret key (`sk_live_`), an AWS access key (`AKIA`), a GitHub token (`ghp_`) or a private key's block, as for a Change ([`secret_in_code`](#secret_in_code) under Changes). The error names the file, never the key. The person sets it as a Secret with `basemodo env set NAME=value`, the App reads it from its environment, and the folder without it goes to a new link.

### `invalid_source`

What was sent is not a folder Basemodo takes: not a gzipped tar, or holding a link (symbolic or hard), a device or other special file, a path out of the folder (`..`, or one that starts with `/`), a path longer than 1024 bytes or deeper than 64 folders, or one path twice. Nothing waits. The message quotes the file's name in single quotes, its control characters left out, cut short past 80 characters. A Deploy whose folder takes longer than 2 minutes to unpack and pack gets it too, and its link ends: send the folder to a new link. The `curl` line packs the folder with `tar` and leaves out `.git`, `node_modules` (where most links are) and `.env` files; leave out what else holds links with `--exclude`, and send it again.

### `source_too_large`

The folder sent is past what an upload may be: 50 MB gzipped, or 200 MB, 20 000 files or 25 MB for one file once unpacked. Leave out what Basemodo builds or installs itself (dependencies, build output) with `--exclude` in the `tar` line, then send it again.

## GitHub

### `github_unavailable`

Linking GitHub repositories is not set up on this Basemodo. Deploy from a folder with `basemodo deploy` instead.

### `github_not_linked`

The App is not linked to a GitHub repository. Link it from a clone of the repository with `basemodo deploy --link`, or from the App's page. See [Deploying from GitHub](https://basemodo.com/docs/github).

### `github_disconnected`

Basemodo's GitHub App can no longer read the repository the App is linked to (the installation was removed or suspended, or the repository taken from it). Give it access again with the link in the fix; the link resumes as it was.

### `source_unavailable`

Basemodo could not fetch the commit from GitHub: the branch may not exist, or GitHub did not answer. Check the branch, then deploy (or push) again in a moment.

### `github_access_lost`

The GitHub user of the person who linked the App can no longer read the repository (they left the organization, or lost that repository there), so its pushes deploy nothing, whoever asks. Link it again as someone whose GitHub user can read it; once theirs can again, pushes deploy as before. When Basemodo cannot tell which GitHub user linked it, connect GitHub again with the link in the fix, then link it again.

### `github_linker_removed`

The person who linked the App to its repository can no longer deploy it (an Editor removed, or an Owner who no longer owns it), so its pushes deploy nothing, whoever asks. Someone who may deploy it links it again: `basemodo deploy --link` in a clone of the repository, or from the App's page.

### `repository_not_covered`

Basemodo's GitHub App cannot read that repository for you: install it on the repository's owner, or give your installation access to that repository, signed in to GitHub as a user who can read it. An organization's installation reads all of its repositories it was given, but you link only those your own GitHub user can read. The fix is the install link.

### `invalid_repository`

Name a repository as `owner/repo`, as in `acme/lunch-rota`.

### `invalid_branch`

That is not a branch name. Leave it out to use the repository's default branch.

### `invalid_subdir`

The folder of the repository is written like `apps/web`: no leading or trailing `/`, no `..`.

### `invalid_signature`

A delivery to one of Basemodo's webhooks is not signed as it should be, so it is ignored: to the GitHub webhook, with the GitHub App's secret; to the billing webhook, by the payment provider (recently, with the endpoint's secret). Only GitHub and the payment provider send these.

### `invalid_delivery`

A delivery to Basemodo's GitHub webhook lacks its event or its id, so it is refused before its body is read. Only GitHub sends these.

### `delivery_too_large`

A delivery to Basemodo's GitHub webhook is larger than any event the GitHub App takes (5 MB), so it is not read. Only GitHub sends these; a push too large to be delivered can be deployed with `basemodo deploy --repository`.

### `delivery_too_slow`

A delivery's body did not arrive within five seconds of its turn to be read, so it was not read. Only GitHub sends these, at once.

Each GitHub delivery refused with one of these four errors counts against the address that sent it: past 30 in ten minutes, its deliveries are refused with [`rate_limited`](#rate_limited) before they are read.

## Sharing

### `invalid_visibility`

A Visibility is `private`, `workspace`, `link` or `public`. See [Sharing](https://basemodo.com/docs/sharing#visibility).

### `visibility_not_available`

Workspace Visibility is only for Apps a [Workspace](https://basemodo.com/docs/sharing#workspace) owns, and this App is a person's. Move it into your Workspace from its page on basemodo.com (an Admin accepts), or share it with `link` or by inviting people.

### `app_not_public`

Only a Public App can be indexed by search engines. Make it Public first with `basemodo share --visibility public`, then `basemodo indexing on`.

### `no_emails`

Name at least one email to invite.

### `already_owner`

That person owns the App already; they need no invitation.

### `too_many_invitations`

You sent the most invitation emails allowed in a day (100), re-sent ones included, or in an hour (20, your invitations and access requests together). The error says which. One request may invite at most 20. Try again tomorrow, or in an hour, or open the App to anyone with its link: `basemodo share --visibility link`.

### `owner_only`

You are an Editor of this App: you may deploy it, read its Logs, change its Secrets, take Backups and change its Visibility, Indexing, Toolbar and Recognize, but only its Owner invites or removes people, restores a Backup, downloads its data, forgets a Deploy's code, deletes it or tells Basemodo what it was doing while it is under review. Ask the Owner. See [Roles](https://basemodo.com/docs/roles#editor).

### `owner_or_editor_only`

You are a Member of this App: you use it, but only its Owner or an Editor changes who can open it (its Visibility), whether search engines index it, whether its Toolbar shows, or whether it recognizes visitors signed in to Basemodo. Ask the Owner. See [Roles](https://basemodo.com/docs/roles#member).

### `invalid_role`

People are invited as a Member (`basemodo share EMAIL`) or an Editor (`basemodo share --editor EMAIL`); an App has one Owner.

### `already_has_access`

You can already open this App: no need to ask. Open its address.

### `too_many_access_requests`

You asked for access to the most Apps allowed in a day, or Basemodo sent the most emails on your behalf it may in an hour (20, your invitations and access requests together). The error says which. Try again tomorrow, or in an hour, or ask the Owner directly. An access request to a Workspace's App needs only one email of that hour: with fewer left than the Workspace has Admins, only that many of its Admins are emailed, the longest-standing first, and every Admin still sees it in Basemodo.

### `access_request_not_found`

That email has no pending Access Request to this App: it was already answered, or never made. See who asked with `basemodo share`.

### `member_not_found`

That email is not a Member of the App nor invited to it. See who is with `basemodo share`.

### `members_need_a_role`

The App's pages asked `/.basemodo/members` for a visitor let in by its Link or Workspace Visibility, who has no role: only its Owner, Editors and Members read who it is shared with. Show them what needs the list only when `X-Basemodo-Role` is set.

### `toolbar_code_invalid`

The Toolbar's Share or Visibility panel was opened with a code that expired (after a minute) or was already used. Close the panel and open it again from the Toolbar.

### `toolbar_pass_invalid`

The Toolbar's Share or Visibility panel stayed open past its half hour, or you signed out of Basemodo meanwhile. Close the panel and open it again from the Toolbar.

### `invalid_tab`

The Toolbar names the tab that has an App open with 1 to 64 letters, digits, `-` or `_`. Reload the App's page: an old copy of the Toolbar sent something else.

## Seeing an App

### `invalid_app_path`

A Preview Link or a screenshot names a path of the App: it starts with one `/`, is plain ASCII with no `\`, `#`, `.` or `..` part, is at most 1,024 bytes, and is not under `/.basemodo/`, which is Basemodo's. Name a page of the App, such as `/settings` or `/orders?status=open`; without a path it is the App's home.

### `preview_link_invalid`

That Preview Link cannot be opened: it opens once, within 5 minutes of being made, on the App it was made for, while whoever made it is still its Owner or an Editor and still signed in, and until someone ends the App's Previews. Make a new one with [`basemodo preview`](https://basemodo.com/docs/cli/preview).

### `signed_in_to_app`

The browser that opened the Preview Link is already signed in to the App, as you or as anyone else, or still holds a Preview Link's session there. A Preview Link signs a browser in as the person who made it, and never replaces who a browser already is at an App, so a link someone sends you can never quietly make you them. The link was not used: open it in a fresh browser context (a new Playwright context, a private window, another browser profile), or sign out of the App from its Toolbar first, then open it again within its 5 minutes.

### `invalid_wait`

A screenshot waits at most 10 seconds once its page has loaded. Ask for less with `--wait`.

### `invalid_locale`

A screenshot's `--locale` is a language tag: a language of two or three letters, then subtags of letters or digits after a `-`, such as `fr`, `pt-BR` or `zh-Hant-TW`, in at most 35 characters.

### `invalid_timezone`

A screenshot's `--timezone` is a time zone as the IANA database names it, such as `Europe/Paris`, `America/Argentina/Buenos_Aires` or `UTC`, in at most 64 characters; or the browser that rendered it knows no time zone of that name.

### `screenshots_unavailable`

The server the App runs on renders no screenshots yet, or this Basemodo renders none. Render it on your own computer instead (`basemodo screenshot --on local`, with `BASEMODO_BROWSER` naming Chrome, Edge, Chromium or Brave), or make a Preview Link with [`basemodo preview`](https://basemodo.com/docs/cli/preview) and open it in a browser of your own.

### `render_busy`

The server the App runs on is rendering as many screenshots as it can at once, or has not the memory free for one more beside the Apps it runs. It keeps none waiting: try again in a moment (the error says when, as does `Retry-After`), or render it on your own computer with `--on local`.

### `app_moving`

The App is moving to another server, or its server is restarting, so nothing can render it now. Try again in a few minutes, once it answers again.

### `no_local_browser`

`--on local` asks for a screenshot rendered on this computer, and there is no browser to render it with: `BASEMODO_BROWSER` names none (or is `none`) and no Chrome, Edge, Chromium or Brave is where its installer puts it, or the computer is a Windows one, where Basemodo cannot drive a browser itself, or the call came through the Remote MCP, which runs on Basemodo's servers. Install Chrome, Edge, Chromium or Brave, or set `BASEMODO_BROWSER` to the path of one, or leave out `--on local` to have the App's own server render it.

### `screenshots_busy`

Basemodo takes one screenshot of each App at a time, whoever asks, and at most two of one person's; one of a person's at a time for an App whose Owner pays for no Plan (on the Trial, or none). These count every screenshot, wherever it renders: one on your own computer (`--on local`) counts from when Basemodo hands its browser the pass until the pass is ended, once the PNG is taken, or expires, after 2 minutes at most. One of those was already being taken. Try again in a moment; the error says when, as does `Retry-After`. How many render at once on the App's server is that server's to say: past it, `render_busy`.

### `screenshot_failed`

Basemodo could not render the page on the App's own server. Check that the App answers ([`basemodo status`](https://basemodo.com/docs/cli/status)), then try again, or open it with [`basemodo preview`](https://basemodo.com/docs/cli/preview).

### `screenshot_too_large`

The screenshot was larger than 8 MB, which a whole long page can be, whether Basemodo or the browser on your computer rendered it. Take the viewport alone, without `--full-page`, or a page further down with `--path`.

### `screenshot_timed_out`

The page took longer than 45 seconds to load and render, on Basemodo or in the browser on your computer. Check that the App answers ([`basemodo status`](https://basemodo.com/docs/cli/status)) and does not wait on something that never comes, then try again.

### `browser_not_found`

`BASEMODO_BROWSER` names a file that is not there. Set it to the path of Chrome, Edge, Chromium or Brave on this computer, unset it to use one where its installer put it, or set it to `none` to have the App's own server render the screenshot.

### `browser_failed`

The browser on this computer, the one `BASEMODO_BROWSER` names or the one found where it installs, could not render the page: it did not start, stopped, or answered something other than Chrome's DevTools protocol. Set `BASEMODO_BROWSER` to the path of Chrome, Edge, Chromium or Brave, or render it on the App's own server with `--on host`.

### `screenshot_unwritable`

The CLI could not write the screenshot where it was asked to. Choose a folder you can write to with `--out`.

## Workspaces and Transfers

### `ambiguous_app`

You have an App of that name and so does a Workspace of yours (or two Workspaces do). Name the Workspace with `--workspace`, or the App by its slug, the label in its URL: the fix gives both.

### `workspace_not_found`

You are not in a Workspace by that name or id. See your Workspaces on basemodo.com.

### `invalid_workspace_name`

A Workspace's name is 1 to a few dozen characters, like `Acme`.

### `not_an_admin`

Only an Admin of the Workspace can do that: create its Apps, manage its people, its domains and its Apps' sharing. Ask an Admin. See [Roles](https://basemodo.com/docs/roles#admin).

### `invitation_not_found`

You have no invitation to that Workspace. Ask an Admin of the Workspace to invite your email.

### `no_pending_invitation`

You have no invitation to that Workspace waiting for an answer: you already declined it, you joined it, or you were never invited. Only an invitation still waiting can be declined. To join after declining, ask an Admin to invite your email again.

### `person_not_found`

That person is not in the Workspace.

### `last_admin`

A Workspace always has an Admin. Make someone else an Admin before removing this one or making them a Member.

### `invalid_domain`

Name your company's domain, like `acme.com`; for a [custom domain](https://basemodo.com/docs/domains), a hostname of yours like `app.example.com`, not one of Basemodo's own.

### `domain_taken`

Another Workspace already verified that domain, or another App already answers at that custom domain. Remove it there first.

### `domain_not_found`

The Workspace (or the App) has not claimed that domain. Add it first, then verify it.

### `domain_not_verified`

The domain's DNS records are not there yet: the message names the one missing (the TXT with your value, or for a [custom domain](https://basemodo.com/docs/domains) the CNAME to Basemodo). Add it at your DNS provider; DNS changes can take a few minutes to show, then verify again.

### `dns_unavailable`

Basemodo could not ask the DNS just now. Verify again in a minute.

### `not_a_personal_app`

Only an App you own yourself can be moved into a Workspace or given to someone; this one belongs to someone else, or to a Workspace already.

### `invalid_transfer`

Say where the App goes: a Workspace, or another Person by email, not both and not yourself.

### `transfer_not_yours`

Only the Person an App is offered to accepts or declines it. Wait for their answer, or cancel the Transfer.

### `transfer_pending`

The App already waits for an answer to a Transfer. Cancel it to ask again.

### `transfer_not_found`

You have no Transfer by that id to answer. Reload the page.

### `not_an_editor`

Accepting a Transfer named someone to take off the App who is not one of its Editors. Name only the Editors the Transfer lists: `basemodo transfers list`.

### `too_many_editors`

Accepting a Transfer takes at most 100 Editors off its App at once. Name only the Editors the Transfer lists: `basemodo transfers list`.

### `transfer_not_pending`

The Transfer was already accepted, refused or cancelled (or the App changed hands meanwhile), so it cannot be answered.

## Secrets

### `invalid_secret`

Write each Secret as `NAME=value`, or one `NAME` alone with its value on stdin.

### `invalid_secret_name`

A Secret's name is letters, digits and `_`, not starting with a digit, at most 128 characters.

### `reserved_secret_name`

`PORT` and names starting with `BASEMODO_` are set by Basemodo for every App, and `PATH` and names starting with `LD_` or `DYLD_` decide which programs run in the App's Machine, so they stay as its image sets them. Choose another name, such as `MY_PATH`.

A Secret set under such a name before it was refused is kept, and still reaches the App, until you rename it: `basemodo env list` and each Deploy warn of it, with how to rename it (`basemodo env set MY_LD_PRELOAD=...`, then `basemodo env unset LD_PRELOAD`).

### `secret_too_large`

A Secret's value is at most 32 KB. Keep larger data in a file on the App's disk.

### `invalid_secret_value`

The value contains a NUL byte, which no environment variable can hold.

### `no_secrets`

Name at least one Secret to set.

### `too_many_secrets`

An App has at most 100 Secrets. Unset some first, or combine related values into one.

### `secret_not_found`

The App has no Secret by that name. See them with `basemodo env list`.

## Callers

### `caller_not_found`

The App's Owner has no App by that name or slug, so it cannot be named a Caller. Check the name with `basemodo status --app <name>`: a Caller is an App of the same Owner as the App it calls.

### `caller_is_itself`

An App cannot be its own Caller: it reaches its own paths directly. Name another App of the same Owner.

### `caller_of_another_owner`

The App named belongs to another Owner (another person, a Workspace, or you when the called App is your Workspace's). Only an App of the same Owner can be a Caller. Apps of different Owners call each other through a [Public Path](https://basemodo.com/docs/public-paths) with an API key of their own, kept as a [Secret](https://basemodo.com/docs/secrets) on each side, as [Expose an API to another Owner's App](https://basemodo.com/docs/expose-an-api) shows.

### `not_a_caller`

The App is not one of the called App's Callers: taking one off answers this, and so does a call from an App nobody named. To let it call, name it: `basemodo callers add <caller> --app <app>`. See the Callers with `basemodo callers list`, and [Callers](https://basemodo.com/docs/callers).

### `path_not_exposed`

A Caller called a path the called App does not expose to its Callers. Add the path, or a prefix like `"/api/*"`, to [`[callers] paths`](https://basemodo.com/docs/manifest#callers.paths) in the called App's `basemodo.toml`, and deploy it. Its other paths, its pages and admin routes included, stay closed to Callers.

### `not_an_app_address`

A call from inside a Machine reached the internal Caller address without naming an App. Call the other App by its internal name, `http://<its slug>.apps.internal` (the slug is the label of its URL: `crm` for `crm.basemodo.app`), not by an address.

### `not_from_a_machine`

Something that is not one of the Host's Machines reached its Caller forwarder. Only an App's own Machine calls another App at its internal address; from anywhere else, call the App through a [Public Path](https://basemodo.com/docs/public-paths).

### `callers_unavailable`

The Host the calling App runs on cannot send calls to other Apps right now. Nothing in the App causes it, and nothing was sent; try again later. It is Basemodo's to fix if it lasts.

### `gate_unreachable`

The Host the calling App runs on could not reach Basemodo's gate with the call, so it never reached the called App. Try again; it is Basemodo's to fix if it lasts.

### `answer_too_large`

The called App answered a Caller with more than 32 MB, which the Host does not carry; nothing of it reached the calling App. Page the answer, or have the called App write it somewhere both can read.

## Logs

### `invalid_lines`

`--lines` is between 1 and 1000.

### `invalid_cursor`

`--after` and `--before` take a cursor of an earlier `basemodo logs --json` answer (its `cursor` or `older_cursor`), or of one of its lines, as it was given.

### `invalid_query`

The request to read Logs has a parameter that is not a number or not a known one, or asks for the lines both after and before a cursor. Use the options of `basemodo logs`, with `--after` or `--before` but not both. A request for what switching Plan costs names no Plan, or one that does not exist: name `starter` or `pro`. A request for an App's Deploys or a diff names a Deploy that is not an id, or a `limit` that is not a number: use the options of `basemodo deploys` and `basemodo diff`.

### `logs_unavailable`

The older lines of the App's Logs are kept in storage Basemodo could not read just now; nothing is lost. Try again in a moment.

## Run and db

### `app_not_deployed`

The App has no machine yet, so there is nowhere to run the command, nothing to back up and nothing to restart, no live Deploy for a Security Update to rebuild, and no code for `files` to read or `pull` to bring into a folder. Deploy it first, or start it from a Template (`basemodo deploy --template app --name <app>`).

### `invalid_command`

Give a command to run, as in `basemodo run "npm run migrate"`.

### `invalid_timeout`

`--timeout` is between 1 and 900 seconds.

### `run_failed`

Basemodo could not run the command in the App's machine, and nothing ran. Try again; check `basemodo status`.

### `run_lost`

Basemodo lost track of the command before it ended. It may have run, partly or fully: check its effects before running it again.

### `output_too_large`

The command printed more than 8 MB, stdout and stderr together, so Basemodo stopped it and kept nothing of what it printed past that. For `basemodo db`, select fewer rows or columns (`LIMIT` and `OFFSET` page through them). For `basemodo run`, write the output to a file on the volume instead (`basemodo run "... > /data/output.txt"`) and read it in pieces. What the command did before it was stopped stays done.

### `run_still_running`

Your agent asked to run a command that it started in this App and that is still running: running it again would run it twice, a migration applied twice. Follow the one that runs with `basemodo runs <id>` (the id is in the message), and run it again only once it ended, if it should run again.

### `run_not_found`

There is no command of yours with that id in this App: it ran in another App, someone else ran it, or it ended more than 15 minutes ago and Basemodo no longer keeps it. What it did stays done; check its effects before running it again.

### `too_many_runs`

Ten commands your agents started are still running, which is as many as Basemodo runs for one person at once. Follow them with `basemodo runs <id>` until one ends, then run the next.

### `runs_busy`

Basemodo is running as many commands as it holds at once, and nothing ran. Try again in a minute.

### `command_too_long`

A command an agent runs is at most 128 KB, as one argument of a program on Linux is. Write the script to a file under `/data`, then run that file.

### `wake_failed`

The App was asleep and its machine did not start. Try again in a minute; check `basemodo logs`.

### `invalid_sql`

There is no SQL to run. Give it as an argument or on stdin.

### `sql_error`

SQLite refused the SQL; the message is SQLite's own. Statements before the failing one did run.

### `sqlite_missing`

The App's image has no `sqlite3` program, so `basemodo db` cannot run SQL there (nor back up the database for the download of its data). Images Basemodo builds always have it; with your own Dockerfile, add the line the fix gives.

### `db_timed_out`

The SQL ran longer than 60 seconds and was stopped. Make the query smaller, or run it in pieces.

### `db_lost`

Basemodo lost track of the query before it ended. It may have run: check before running it again.

### `db_unreadable`

The App's `sqlite3` answered something Basemodo cannot read. Try a simpler query, or use `basemodo run "sqlite3 /data/app.db '...'"`.

## Backups and deleting an App

### `backup_failed`

Basemodo could not take a Backup of the App's data just now; nothing changed. Try again in a moment.

### `too_many_backups`

The App has taken 10 Backups of its own in the last 24 hours, as many as an App may, those taken before a Change's migration among them (Basemodo's daily Backups are not counted, and keep being taken). The error says when the next one is allowed. Each Backup is a snapshot on storage the App shares with the other Apps on its server, so one App backing up in a loop could leave them no room to write. List the Backups it has with `basemodo backups`.

### `host_storage_full`

The storage the App shares with the other Apps on its server is nearly full, so Basemodo took no Backup now: a Backup holds on to room their data needs. Nothing changed, and the App's earlier Backups are kept. Try again later.

### `backup_not_found`

You have no Backup by that id, or it has expired: each is kept for its App's retention (7 days, 14 on Pro and Workspace, an hourly one 24 hours), and the oldest go early when an App's Backups would take more than ten times its disk. List the App's Backups with `basemodo backups` and restore one of those.

### `backup_gone`

The Backup is still listed but its copy is no longer there to restore. Restore a newer one: `basemodo backups`.

### `restore_failed`

Basemodo could not restore the Backup, and the App's data is as it was. Try again in a moment. A Rollback that was to restore a Backup with the code fails the same way, and the App stays on the Deploy it was on: roll back again, or without restoring the Backup.

### `app_changed`

The App was deleted, or brought back from a Backup, while your restore waited for something else to finish with it (a Deploy, a restart, a delete). Nothing was restored, and the App is as that left it. Check it with `basemodo status`, then restore again if you still mean to.

### `archive_failed`

Basemodo could not make the archive of the App's data to download. Try again in a moment; check `basemodo status`.

### `download_unwritable`

`basemodo download` could not write the Data Download where it was told to (the current folder, or `--out`): the folder does not exist, or you cannot write there, or the disk is full. Nothing was left behind. Choose another place with `--out`.

### `deploy_in_progress`

The App is being deployed, so it cannot be deleted right now. Wait for the Deploy to end (`basemodo status`), then delete it. For operators deleting a Demo Account: one of its Apps is being deployed; replace its link so nobody deploys again, then delete it once that Deploy ends.

### `delete_failed`

Basemodo could not stop the App, or delete its code from its bucket, so it was not deleted. Try again in a moment.

## Plans and quotas

### `plan_needed`

You have no Plan, and an App needs one: there is no Trial, so you choose a [Plan](https://basemodo.com/docs/plans) (Starter or Pro) and add a card before your first App. Until then nothing is created, deployed, restored or taken in by Transfer. Choose one on the billing page the fix links to (`basemodo plan` shows where you stand), then try again. Being a Member or an Editor of someone else's App needs no Plan.

### `app_quota_reached`

Your Plan has no room for another App: Starter allows one, Pro five. The message lists the Apps you have. Deploy to one of them, delete one you no longer need (a deleted App frees its place), or choose a bigger [Plan](https://basemodo.com/docs/plans) on the billing page the fix links to. A Workspace is never refused for this: past its five Apps, it pays for Additional Apps (`charge_required`).

### `charge_required`

The Workspace already uses every App it pays for, the Workspace Plan's five and its Additional Apps, so one more (created, taken in by a Transfer, or restored from its last Backup) is an Additional App, $4 a month. Or it already uses every Always On App it pays for, the Workspace Plan's three and those beyond them, so one more App whose [workers](https://basemodo.com/docs/workers-and-cron) keep it always on (a Deploy or a Rollback with a `[[worker]]`, a Transfer or a restore of an App with one) is an Always On App, $6 a month. Once an Admin agrees, the rest of this month is charged at once to the card on file (a declined card changes nothing: [`card_declined`](#card_declined)), and each month after bills it in full until the App is deleted (or its workers are taken away, for an Always On App), when the rest of that month is credited on the next Invoice. The error's `charges` name every charge the request needs, each with its `item` (`additional` or `always_on`, or `seats` for a reservation of Seats), `monthly_cents` and `currency`, `next_invoice_on`, and `now_cents`, about what is charged now for the rest of this month (`null` when the payment provider cannot say); `charge` is the first of them. Only an Admin adds one, and only once they approve the price on basemodo.com, in their own browser (a Charge Approval, below): in a terminal, `basemodo deploy`, `basemodo change` (whose Deploy charges as any Deploy does), `basemodo rollback`, `basemodo restore` and `basemodo plan reserve` open the approval's page and go on once it is approved; with `--json`, or where there is no terminal, they answer this error at once and the fix names the command with `--approval <id>`, which waits until it is approved and then goes on. `--yes` is refused ([`yes_refused`](#yes_refused)). From a browser signed in to basemodo.com, and only from one ([`confirm_refused`](#confirm_refused)), send the same request again with `{"confirm": {"item": "always_on", "monthly_cents": 600}}`, the `item` and `monthly_cents` of the charge, or a list of them for several. If a price changed in between, the request is refused again with the new one. Something beyond both (a deleted App with a worker restored) names both charges, confirmed together in one request; nothing is charged until both are, and nothing at all if the request fails after all. Reserving Seats, Additional Apps or Always On Apps ahead past what is paid for (`basemodo plan reserve`, or `PUT /api/workspaces/{id}/billing/reservations` for several at once, all or nothing) is confirmed the same way, every price in the one request, the price being each one's: a Seat beyond the two the Workspace Plan includes is $5 a month, and reserving those two asks nothing. An agent never approves one, or opens its page: it gives the person the approval's link and says what it charges, then runs the command again with `--approval <id>` (an MCP tool's `approval`) once they approved it.

Answered to the CLI or an agent (anything but a browser signed in to basemodo.com), the error also carries `approval`: a [Charge Approval](https://basemodo.com/docs/plans) with its `id`, its `url` and when it `expires_at`, 15 minutes later. An Admin of the Workspace opens the `url` in their own browser, sees what is charged, for what, and who asked from where, and approves or declines. Then the same request, sent again by the same Person from the same CLI or agent with `{"approval": "<id>"}`, goes through once. Asking again for the same request while one is still asked answers that one. An agent never approves one itself, nor opens its page: it gives the Person the link and says what it charges.

An Editor's request (a Deploy or a Rollback of an App they edit) asks for a Charge Approval too, from any client, a browser included: `confirm` pays nothing for an Editor, since only an Admin adds to the Workspace's bill. The Workspace's Admins see the request among their notifications on basemodo.com, with its link; once one approves it, the Editor sends the request again with `{"approval": "<id>"}`. An Editor can't approve one, not even their own.

### `charge_approval_not_found`

There is no Charge Approval with that id for you: it was asked for by another Person, or from another CLI or agent (each approval works only for the client that asked for it), or never existed. Send the request again without `approval`, from the CLI or agent that will send it with one, to ask for a new one. Its page answers the same to anyone but the Workspace's Admins.

### `charge_approval_admins_only`

You asked for this Charge Approval, but only an Admin of the Workspace approves or declines one, even one you asked for, since only an Admin adds to the Workspace's bill. Ask an Admin to approve it in their own browser at the link the fix gives; once they did, send the request again with `{"approval": "<id>"}`.

### `charge_approval_not_approved`

No Admin of the Workspace has approved the Charge Approval yet. Wait until an Admin approves it at the link the fix gives, then send the request again with it.

### `charge_approval_declined`

An Admin of the Workspace declined the Charge Approval, so nothing was charged and the request did not go through. Tell the Person who asked; ask an Admin before asking again.

### `charge_approval_used`

A request already went through with this Charge Approval: each one is used once. Send the request again without `approval` to ask for a new one.

### `charge_approval_expired`

The Charge Approval was asked for more than 15 minutes ago, before an Admin approved it or before the request was sent again with it. Send the request again without `approval` to ask for a new one.

### `charge_approval_other_request`

The Charge Approval was asked for another request: another action (a Deploy is not a Rollback), another App, or another Workspace. The message names what it was asked for. Send this request without `approval` to ask for one of its own.

### `charge_approval_changed`

The charges the request needs are not those the Charge Approval approved: a price changed since, or the request now needs another charge, or more of one (an approval for one Additional App at $4 a month pays for nothing else). Send the request again without `approval` to ask for a new one at the prices now.

### `charge_approval_decided`

An Admin already approved or declined this Charge Approval; each is decided once. Nothing to do: the Person who asked sees the answer.

### `browser_session_needed`

A charge is approved or declined only from an Admin's own browser, signed in to basemodo.com, never with the CLI's Session or an agent's Agent Grant, so that nothing an agent reads can approve a charge. Open the link the fix gives in your browser.

### `yes_refused`

`--yes` no longer agrees to a charge: an Admin of the Workspace approves each charge on basemodo.com, in their own browser, so that nothing an agent reads or types can charge the Workspace's card. Run the command again without `--yes`. A charge it needs asks for a [Charge Approval](#charge_required): in a terminal the command opens its page and goes on once an Admin approves it; with `--json` it answers `charge_required` with the approval's link, and the command run again with `--approval <id>` goes on once it is approved. While the CLI waits for an approval, one declined answers [`charge_approval_declined`](#charge_approval_declined) and one not approved within its 15 minutes [`charge_approval_expired`](#charge_approval_expired); running the command again asks for a new one.

### `confirm_refused`

`confirm` agrees to a charge only from a browser signed in to basemodo.com, where the web app's own dialogs send it: from the CLI's Session or an agent's Agent Grant it is refused, and nothing is charged, so that nothing an agent reads or types can charge the Workspace's card. The error names the [Charge Approval](#charge_required) to ask for instead, as `charge_required` does: its `approval` carries the link an Admin of the Workspace opens in their own browser, and once they approved, the same request sent again with `{"approval": "<id>"}` instead of `confirm` goes through. An agent gives the Person the link and says what it charges; it never approves one itself.

### `too_many_charge_approvals`

You asked for 10 new Charge Approvals within the hour, the most a Person may (asking again for one still asked costs nothing), so no new one was asked. Have an Admin answer those already asked, wait until the time `Retry-After` gives, or have an Admin reserve ahead on the billing page so these requests need none.

### `additional_app_not_reserved`

The Workspace already uses every App it pays for, and a push from a connected GitHub repository never adds an Additional App to its bill, whoever pushed. Ask an Admin of the Workspace to add one.

### `always_on_not_reserved`

A worker would make one more Always On App than the Workspace pays for, and a push from a connected GitHub repository (whoever pushed) uses only an Always On App paid for and free: it never adds one to the bill, nor asks for a [Charge Approval](#charge_required). An Editor's Deploy asks an Admin for one instead (`charge_required`). Ask an Admin of the Workspace to reserve another on its billing page, or to deploy this one themselves; or remove the `[[worker]]`.

### `reservation_too_large`

A Workspace reserves at most 1000 Seats, 1000 Additional Apps and 1000 Always On Apps ahead, at its first checkout as later. Reserve fewer; for more, write to support@basemodo.com.

### `workspace_needed`

Only a Workspace reserves Seats, Additional Apps and Always On Apps ahead: name it with `basemodo plan reserve --workspace <name>`.

### `trial_ended`

Your Trial ended without a Plan, so your Apps are paused and nothing new is created, deployed or restored. Their data is kept for 30 days (the message says until when). Choose a Plan on the billing page the fix links to: your Apps resume where they were.

### `plan_ended`

Your Plan ended (you cancelled it and the month already paid is over, or the payment provider could not charge your card after retrying), so your Apps are paused and nothing new is created, deployed or restored. Their data is kept for 30 days (the message says until when). Choose a Plan on the billing page the fix links to (update your card there first if it was declined): your Apps resume where they were.

### `workers_not_on_plan`

`basemodo.toml` declares a `[[worker]]`, and a worker keeps an App always on, which Starter does not allow. Remove the `[[worker]]` (a cron job runs on every Plan), or move to Pro, or to a Workspace, which can have more.

### `always_on_quota_reached`

A worker keeps an App always on, and your Plan's always-on Apps are all taken: the message names them. It is answered to a Deploy, a Rollback, or a Transfer of an App with a worker. Remove a `[[worker]]` here or in another App, or move to a bigger Plan: Pro has two, and a Workspace has three and pays for more ([`charge_required`](#charge_required)).

### `plan_too_small`

The Plan you chose (with no Plan paid for, after one ended) does not fit what you have: more Apps, always-on Apps or custom domains than it allows. The message says which. Delete Apps, remove workers or custom domains first, or choose a bigger Plan.

### `custom_domains_not_on_plan`

[Custom domains](https://basemodo.com/docs/domains) are on every Plan, two for each App it allows, and you have none. Choose a Plan on the billing page the fix links to, then add the domain again.

### `custom_domain_quota_reached`

Your Apps already have as many custom domains as your Plan allows, two per App it allows: the message lists them. Remove one you no longer use (`basemodo domains remove`), or choose a bigger Plan. A Workspace has two more with each Additional App it pays for: an Admin reserves one on the billing page.

### `plan_not_available`

The Workspace Plan is for a Workspace, not a person, and a Workspace pays only for the Workspace Plan. Choose Starter or Pro for yourself, or create a Workspace for your team. For operators granting a Plan: a Person is granted Starter or Pro, and a Workspace the Workspace Plan.

### `workspace_plan_needed`

A Workspace creates Apps, and takes them in by Transfer, once an Admin has chosen the Workspace Plan, $25 a month for two Seats and $5 for each Seat beyond them. An Admin chooses it on the Workspace's page on basemodo.com (the fix links to it), then try again.

### `billing_failed`

The payment provider did not answer, or did not take the change, so nothing changed. Try again in a moment.

### `card_declined`

Your card was declined when Basemodo charged it for a change made at once (a Dedicated Egress IP, or an Additional App, an Always On App or a reservation an Admin agreed to), so nothing changed. Change your card on the billing page the fix links to, then try again.

### `no_plan`

Nothing is paid for (you never chose a Plan, it ended, or a Workspace never chose the Workspace Plan), so there is no Plan to change, cancel or keep. Choose a Plan on the billing page the fix links to.

### `plan_already_chosen`

You pay for a Plan already, and a Plan paid for is changed or cancelled on the payment provider's page, never by choosing another here. That holds from the moment you pay at checkout, a few seconds before the billing page shows the Plan. Open the provider's page with **Manage your Plan** (or **Cancel Plan**) under Payment on the billing page the fix links to, or with `basemodo plan change <plan>`.

### `plan_granted`

Basemodo grants you your Plan at no charge (or a Workspace its Workspace Plan): no card is needed, no Invoice is issued, and there is nothing to choose, reserve, change, cancel or keep on the billing page. It lasts until Basemodo ends it, and then it ends as any Plan does: choosing a Plan resumes your Apps.

### `grant_exceeded`

Basemodo grants the Workspace its Plan at no charge, with a number of Additional Apps and Always On Apps beyond the Plan's 5 Apps and 3 Always On Apps, and they are all in use: the message says which. A Granted Plan is never charged, so instead of the [`charge_required`](#charge_required) a paying Workspace would get, the App is refused, whether it is created, taken in by Transfer, restored, or deployed or rolled back with a `[[worker]]`. A Dedicated Egress IP, a paid extra, is refused the same way. Make room (delete an App the Workspace no longer needs, or remove a `[[worker]]` from another App), or ask Basemodo's Operators to raise the grant at support@basemodo.com. Nothing was charged and nothing changed.

### `plan_ending`

Your Plan was cancelled and ends on the date the message gives, and a Plan set to end is not switched for another: the payment provider's page refuses it. Keep it first with **Keep my Plan** on the billing page the fix links to, then switch.

## Abuse and limits

### `app_under_review`

Basemodo paused this App because something in its traffic looked like abuse, and a person at Basemodo is reviewing it: `basemodo status` says why. Nothing deploys, rolls back, restores or deletes it meanwhile. If nothing is wrong, Basemodo resumes it and you are told; its Owner can tell Basemodo what it was doing on the App's page, or write to abuse@basemodo.com. A Deploy already on its way when the App was paused fails with this code too.

### `account_suspended`

Your account (or this Workspace) is suspended while Basemodo reviews it: its Apps are paused, and nothing new is created or deployed, by you or by you as an Editor of someone else's App. The message says why. Basemodo restores the account if nothing is wrong; write to abuse@basemodo.com if you think it is a mistake.

### `source_flagged`

The files you deployed are the same as an App Basemodo stopped for abuse, so this Deploy was refused and the App is held for review. If the files are yours and harmless, write to abuse@basemodo.com.

### `dedicated_ip_not_on_plan`

A dedicated egress IP (an outgoing address of the App's own, to allowlist in a firewall) is a paid extra of the Workspace plan, and this App is a personal one (or its Owner pays for no Plan yet). Move it into a Workspace first.

### `on_probation`

A new account (the first 14 days after it first pays, or after a Workspace is made) is on probation: lower egress caps and no dedicated egress IP. The message says when it ends; ask again then.

### `dedicated_ip_unavailable`

The compute provider this App runs on cannot give it an outgoing address of its own, so nothing changed: the App keeps leaving from the shared pool.

### `egress_unavailable`

Basemodo could not change where the App's traffic leaves from. Nothing changed; try again in a moment.

### `invalid_usage_report`

For Basemodo's own sensors: a usage report must cover one App over a window of at most an hour, `to` after `from`.

### `invalid_range`

An App's Usage covers the last 24 hours (`range=day`) or the last 7 days (`range=week`), nothing else.

### `not_an_operator`

Only Basemodo's operators may work the abuse review queue or suspend and restore accounts.

### `operator_sign_in_needed`

For operators: an Operator action needs a recent Session, one signed in within the last 12 hours and never left unused for more than an hour since. Sign in again (`/sign-in?return_to=/operator`); the Session you hold goes on working for everything else.

### `review_not_found`

For operators: there is no review with that id. List the queue with `GET /api/operator/reviews`.

### `review_decided`

For operators: that review was already cleared or upheld; the message says which.

### `not_under_review`

The App has no open review. For operators: there is nothing to clear. For its Owner: there is nothing to explain any more; what you wrote while it was under review stays as the operator read it.

### `invalid_explanation`

What you tell Basemodo your App was doing while it is under review is from 1 to 4,000 characters. Write something, or shorten it.

### `owner_not_found`

For operators: there is no Person (by id or email) or Workspace by that id or name.

### `owner_ambiguous`

For operators: several Workspaces share that name (whatever its case), and the message lists their ids. Name the one you mean by its id.

### `already_suspended`

For operators: that account is already suspended.

### `billing_not_in_memory`

For operators: a payment provider's events are played by hand only with the in-memory billing (a rehearsal, local development). With Stripe, they come from Stripe.

### `billing_event_not_found`

For operators: there is no such billing event to play. Play `end` (the subscription is gone), `cancel` (cancelled at the end of its period) or `renew` (paid for another period).

### `plan_paid_for`

For operators: that Person or Workspace pays for a Plan at the payment provider (as Basemodo recorded it, or a subscription the provider started a moment ago), and a Plan is not granted over one paid for. Cancel their subscription at the provider at once, then grant the Plan once Basemodo heard it ended.

### `plan_not_granted`

For operators: that Person's or Workspace's Plan is not granted (they pay for it, or have none), so there is nothing to take back. A Plan paid for ends at the payment provider.

### `grant_invalid`

For operators: a Person's grant is Starter or Pro alone, with no Additional Apps or Always On Apps, which are the Workspace Plan's; and a Workspace's grant includes at most 1000 of each beyond the Plan's. Grant the Person their Plan alone, or grant the Workspace Plan to their Workspace with its allowances.

### `demo_email_seen`

For operators: Basemodo has seen that email already (a Person, a sign-in link asked for, a Google or GitHub account, a bounce, or a Workspace's Verified Domain), so it cannot be a Demo Account: no link that never expires may reach an account someone already has. Use another email, one Basemodo has never seen.

### `demo_account_not_found`

For operators: that Person is no Demo Account (never made one, or already deleted), so it has no link to replace and cannot be deleted here: a customer's account is never deleted this way.

### `not_suspended`

For operators: that account is not suspended, so there is nothing to restore.

### `invalid_reason`

For operators: say why. The Owner is told the reason. For a Security Update, say what it is for in `reason`, like the vulnerability it closes (`CVE-2026-4242 in the HTTP parser of Node`). For a maintenance window, say what it is for in 200 characters at most: its Owners read it. For a Granted Plan, say why it is granted (`YC W27`) in 200 characters at most, for the record; the Owner never sees it.

### `invalid_region`

For operators: a region is letters, digits and dashes (`gra`, `iad`).

### `hosts_not_in_use`

For operators: this control plane is not on our own Hosts (`BASEMODO_HOSTS=on`), so it has none to list or change, and runs no Machine.

### `invalid_host`

For operators: a Host needs a name like `gra-1`, its region, a token of at least 32 characters and, over `https://`, its certificate's SHA-256 (`basemodo-host fingerprint`). It must be at an address of Basemodo's Host networks (`BASEMODO_HOST_NETWORKS`), and plain `http://` only on the control plane's own computer.

### `host_unreachable`

For operators: the agent did not answer with that token and certificate. Check `BASEMODO_HOST_TOKEN` and `basemodo-host fingerprint` on the Host, and that the control plane reaches it.

### `host_exists`

For operators: there is already a Host by that name.

### `mesh_full`

For operators: every address of the Hosts' mesh (`10.201.0.0/16`) is taken by a Host, so no other can be added. Remove a Host that is gone first.

### `host_not_found`

For operators: there is no Host by that name. List them with `GET /api/operator/hosts`.

### `host_not_checked`

For operators: the Runner's contract has not passed against this Host, so it takes no Machine yet. See its last run on the Operator page, fix the Host, then run it again (`POST /api/operator/hosts/{name}/check`).

### `host_checking`

For operators: the contract is running against this Host already. Its result shows on the Operator page.

### `host_not_empty`

For operators: the Host still keeps Machines, or did not say what it keeps. Drain it, move its Apps to other Hosts (`POST /api/operator/hosts/{name}/empty`), then remove it.

### `app_not_on_a_host`

For operators: the App has no Machine yet, so there is nothing to move. Its first Deploy goes to the Host with the most room.

### `already_there`

For operators: the App is on that Host already. Send it to another one, or to the Host with the most room by naming none.

### `already_moving`

For operators: the App is moving already. Follow its Move with `GET /api/operator/moves`; once it is done or failed, it can be moved again.

### `host_drained`

For operators: that Host takes no new Machine, so no App moves there. Send it to another Host, or let that one take Machines again (`POST /api/operator/hosts/{name}/accept`).

### `host_accepting`

For operators: the Host still takes new Machines, so emptied it would fill again. Drain it first (`POST /api/operator/hosts/{name}/drain`), then empty it.

### `maintenance_scheduled`

For operators: that Host has a maintenance window that has not ended. See it with `GET /api/operator/maintenance`; cancel it first (`POST /api/operator/maintenance/{id}/cancel`) to set another.

### `maintenance_too_soon`

For operators: a maintenance window starts at least 48 hours from now, so its Owners are told ahead. Start it later, or mark it `urgent` to tell them less ahead.

### `invalid_start`

For operators: a maintenance window cannot start in the past. Give `starts_at` from now on.

### `invalid_length`

For operators: a maintenance window lasts 1 to 240 minutes (`expected_minutes`), as its Owners are told.

### `maintenance_not_found`

For operators: there is no maintenance window with that id. List them with `GET /api/operator/maintenance`.

### `maintenance_under_way`

For operators: that maintenance window has started (or ended), so it can no longer be cancelled. Follow it on the Operator page.

### `no_apps_covered`

For operators: the Security Update would cover no App, because no App was named or no App's live Deploy was detected as that runtime. Name the Apps it covers, or another runtime.

### `security_update_not_found`

For operators: there is no Security Update with that id. List them with `GET /api/operator/security-updates`.

### `security_update_applied`

The Security Update was already applied to that App: its rebuild is in the App's Deploys. Nothing to do.

### `invalid_patched_release`

For operators: a patched release is the exact release (all three numbers, like `node 22.1.1`) of a runtime `basemodo.toml` pins (Node or Python), at most one per line (Node 22, Python 3.12), and only on a Security Update that rebuilds. A whole line (`22`) needs none: its image already follows its patched releases. The fix says which to declare, or which to keep.

### `invalid_deadline`

For operators: an App whose Security Update rebuild fails has 7 days to deploy a version that builds, and an Operator may only shorten that, to 1 day at least. Give fewer days than the Security Update gives now, from 1: the fix says how many.

## Notifications

### `notification_not_found`

You have no notification with that id. Reload the notifications page.

## Feedback

### `invalid_feedback`

The Feedback was empty, or longer than 5,000 characters. Write something, or shorten it. See [Send feedback](https://basemodo.com/docs/feedback).

### `too_many_feedback`

You sent the most Feedback allowed in an hour (10) or a day (20). Send it again later, or email support@basemodo.com.

### `feedback_not_found`

For operators: there is no Feedback with that id. List it with `GET /api/operator/feedback`.

## Agents and the CLI itself

### `invalid_arguments`

A tool was called with an argument it does not take, or a value of the wrong kind. The tool's input schema lists its arguments; they are the command's, named as on its page in [the CLI](https://basemodo.com/docs/cli).

### `not_a_tool`

`mcp` serves the other commands; it cannot be called as one of them.

### `cancelled`

The agent cancelled the call before it ended. What the command had done stays done.

### `mcp`

The local MCP could not start or stopped. Check that the agent runs `basemodo mcp` as a stdio server.

### `unknown_docs_topic`

`basemodo docs` has no page about that topic. List the pages with `basemodo docs --list`.

### `docs_export_failed`

`basemodo export-docs` could not write the docs into the folder it was given. It builds basemodo.com/docs; pass it a folder you can write to.

### `setup_scope_needed`

[`basemodo setup`](https://basemodo.com/docs/cli/setup) was not told where to write Basemodo's Skills (or, with `--remove`, where to remove them from), and there was no terminal to ask in: it was run by a script or an agent, or with `--json`. Run it with `--user` for your home folder, for every project, or with `--project` for the folder you are in, for this project only.

### `skills_not_written`

[`basemodo setup`](https://basemodo.com/docs/cli/setup) could not write Basemodo's Skills: a folder it writes into (such as `.agents/skills` or `.claude/skills`, in your home folder or the project) is not writable, or, for your home folder, `HOME` is not set. The message names the folder; make it writable and run the `fix`, setup again the same way. With no `HOME`, the `fix` is `basemodo setup --project`, which writes them in the folder you are in.

### `plugin_not_written`

`basemodo setup --export-plugin` could not write Basemodo's Plugin (its Skills and each agent's plugin manifest) into the folder it was given. It builds the Plugin's repository; pass it a folder you can write to.

### `skills_not_removed`

[`basemodo setup --remove`](https://basemodo.com/docs/cli/setup) could not remove one of Basemodo's Skills: its folder, which the message names, or the folder holding it is not writable, or, for your home folder, `HOME` is not set. Make it writable and run the `fix`, setup again the same way; what it removed before stays removed.

### `remote_mcp_configured`

[`basemodo setup --mcp`](https://basemodo.com/docs/cli/setup) found Basemodo's [Remote MCP](https://basemodo.com/docs/mcp/remote-vs-local) already in a client's configuration (Claude Desktop's `claude_desktop_config.json`), and there was no terminal to ask in: it was run by a script or an agent, or with `--json`. With both MCPs, the client's agent sees every tool twice, so it changed nothing. Run `basemodo setup --mcp` in a terminal: it explains, and asks before it takes the Remote MCP's entry out of the file and puts the Local MCP in its place. Or take the Remote MCP's entry, which the message names, out of the file first.

### `mcp_config_invalid`

[`basemodo setup --mcp`](https://basemodo.com/docs/cli/setup) could not read a client's MCP configuration file, which the message names: it is not valid JSON, or it or its `mcpServers` is not a JSON object. It left the file as it is. Fix the file (the message says where it stopped reading), or move it away so the client writes a new one, and run the `fix`, setup again.

### `mcp_not_written`

[`basemodo setup --mcp`](https://basemodo.com/docs/cli/setup) could not add the Local MCP to a client's configuration file, or take it out with `--remove`: the file, which the message names, or its folder is not writable. Make it writable and run the `fix`, setup again. When the CLI could not tell where its own program or your home folder is, the `fix` is the client's page instead ([Claude Desktop](https://basemodo.com/docs/mcp/claude-desktop)): add the Local MCP by hand as it says.

### `output`

The CLI could not write its result as JSON. Report it: this is a bug.

### `unreachable`

Basemodo can't be reached right now: it did not answer, or what stands in front of it answered 502, 503 or 504 in its place. Try again in a minute. If it keeps happening, check your connection, and `--api-url` or `BASEMODO_API_URL` if you set one.

### `unexpected_response`

Basemodo answered something the CLI cannot read, usually because the CLI is older than the API. Update the CLI.

## Updating the CLI

Each of these comes from [`basemodo update`](https://basemodo.com/docs/cli/update), and each says "Nothing was changed": the `basemodo` you have is the one you had, and still works.

### `invalid_version`

The version given to `basemodo update` is not a version of basemodo: one is digits and dots, such as `0.9.0`, with or without a leading `v`. Run `basemodo update` alone for the latest.

### `release_not_found`

The version asked for is not one of the CLI's releases (github.com/basemodocom/cli/releases), or the releases did not say which one is the latest. Check the version against the releases, or run `basemodo update` alone for the latest. If you set `BASEMODO_RELEASES_URL`, check that it points at the releases.

### `release_download_failed`

The CLI could not download the release: the releases could not be reached, the download was cut off or too large, or the release has no `checksums.txt`. The message names what it was downloading. Check your connection and try again.

### `checksum_not_listed`

The release's `checksums.txt` does not list the build for this computer, so it cannot be checked, and an update installs nothing it cannot check. Try again later, or install a version that lists it with `basemodo update <version>`.

### `checksum_mismatch`

The build downloaded does not have the SHA-256 the release lists for it: it was damaged on the way, or it is not the release's own. Nothing was installed. Try again; if it repeats, tell us.

### `release_broken`

The build downloaded is not a `basemodo` that runs on this computer: its archive holds no `basemodo` at its root, the program did not run, or it said it is another version than its release. Nothing was installed. Tell us which version.

### `update_unwritable`

`basemodo update` cannot write in the folder `basemodo` is installed in, which the message names: it belongs to another user (often root, when it was installed with `sudo`), or it is read-only. Run `sudo basemodo update`, or install basemodo again in your own folder with `curl -fsSL https://basemodo.com/install | sh` and remove the other one. On Windows, run `basemodo update` in a terminal opened as administrator, or install basemodo again in your own folder with `irm https://basemodo.com/install.ps1 | iex`.

### `update_failed`

`basemodo update` could not tell where its own program is, or could not put the new one in its place for another reason than permissions (a full disk, for one); the message says why. Fix that and run it again.

### `no_build_for_computer`

There is no build of basemodo for this computer's system or processor: there are builds for macOS (Intel and Apple silicon), Linux (x86_64 and ARM) and Windows.

## Basemodo itself

### `internal`

Something went wrong on Basemodo's side, not yours. Try again; if it repeats, tell us.

### `database_unavailable`

Basemodo cannot reach its own database right now. Try again in a minute.

### `machines_unavailable`

Basemodo cannot run Apps right now, so it built, ran and started nothing: your App and its data are as they were. Try again later.

For operators: this control plane is not on our own Hosts (`BASEMODO_HOSTS=on`), the only place an App runs, so it runs no Machine at all. Its log says so, and why, as an error at start and with each refusal.

### `secrets_unavailable`

Basemodo cannot store anything encrypted right now (a Secret, or a key it keeps for your App), so it kept nothing: what you had is as it was. Try again later.

For operators: this control plane has no `BASEMODO_SECRETS_KEY`, the only key anything is sealed with, so it seals nothing. Setting a Secret, an App's Backup key, an App's signing key (made at its first Deploy, which fails with this code), a custom domain's or the Apps domain's certificate key, the ACME account, and a Host's token and volume key are all refused, and everything else is served. Its log says so as an error at start and with each refusal. Set the key the Operators keep offline (or, for a new control plane, `openssl rand -base64 32`) and restart it.

### `not_the_gate`

Only Basemodo's own gate may ask where Apps answer.

### `control_plane_busy`

The control plane is answering as many of the gates' calls as it can, so the gate shows "cannot reach this App" for now, or reading as many GitHub deliveries as it can. Try again after the `Retry-After` it gives (a delivery: redeliver it from the GitHub App's settings).

### `not_found`

There is no such API endpoint. The CLI may be older than the API: update it.

### `invalid_body`

A request to the API had a body it could not read. Use the CLI, or send the JSON the endpoint expects.

### `invalid_path`

An id in the request's address is not valid. Check the id you passed.