Esta página só existe em inglês. O menu e os outros textos seguem em português.
Error codes
Every error has the form {"error":{"code","message","hint?","docs_url?"}}.
Codes never change meaning.
| code | HTTP | meaning | what to do |
|---|---|---|---|
unauthorized |
401 | missing, expired or revoked token | rapadura login |
forbidden |
403 | token lacks the scope, owner role required, or an agent's tool call for what only a person does (a secret, deciding a request, app agent-code, app review) |
use a publish token / ask the owner / ask the person |
login_unavailable |
503 | GitHub login not enabled on the gateway yet, or GitHub could not confirm your organization membership ("We could not check your membership. Please try again.", with retry_after) |
ask the owner for a token (RAPADURA_TOKEN); for the membership check, run rapadura login again in a moment |
auth_unavailable |
503 | the gateway could not read its own store to check your token, with retry_after; nothing was done, and the answer says nothing about the token, which may be fine |
retry after the seconds in Retry-After; do not sign in again. If it lasts, tell the owner |
not_invited |
403 | GitHub user has no invite; the sign-in filed a request to join with the owner. On a gateway that admits an organization, also: your invitation to the organization is still pending ("Accept your GitHub organization invitation, then try again.") | sign in again once the owner approves it, or once you accept the organization invitation |
not_found |
404 | no such site, version, token or Laravel app you can see | check rapadura sites list / rapadura artisan apps |
invalid_request |
400 | malformed input, missing required field, invalid flag or value, or unmet request precondition (409 when a state transition is invalid, such as cancelling a final operation) | read message (and hint, when present) to see which field, flag, or precondition failed; check rapadura <cmd> --help, rapadura zones (list_zones), or the endpoint/tool schema, fix the value, and resend with a fresh request key (Idempotency-Key / request_key) once the payload changed |
invalid_slug |
400 | slug has bad characters, length or -- |
lowercase, digits, single hyphens |
slug_reserved |
409 | slug is reserved (www, mail, panel, …), blocked as a scanner probe, or is the name of a Laravel app on the server (suite): the env commands and the secret page take that name for the Laravel app |
choose a different slug (1–63 lowercase letters, digits, and single hyphens) and retry; run rapadura zones (list_zones) to inspect reserved names and allowed zones (see Rules and limits), and avoid names of Laravel apps shown by rapadura artisan apps |
slug_taken |
409 | hostname exists, is held after deletion, or belongs to another site on the server | pick another |
name_unavailable |
503 | a create that named no site could not find a free generated name just now (retry_after says when to ask again); nothing was created |
try again after retry_after seconds, or name the site yourself |
zone_unknown |
400 | zone not served | run rapadura zones (or list_zones via MCP) to list the zones this gateway serves, then retry with a listed zone (via --zone <zone>, the zone field, or a full <slug>.<zone> host) — or omit the zone to use the default |
quota_exceeded |
429 | your count of projects is used up. The message says which maximum: "your project limit" is the sites you keep (5 by default for members, 10 for organizers, plus earned bonus slots), "your app limit" is container apps (staff/organizers only). Deleted projects count until the owner purges them, and the message says how many of yours are deleted. Nothing was created | delete what you no longer need and ask the owner to purge it (that is what frees the slot), earn bonus slots (+1 first publish, up to +3 from inviting newcomers), or ask an organizer of your community to take a request for more slots to the owner; rapadura limits shows the numbers. This is not capacity_exhausted (shared gateway slots or app caps are busy) and not storage_quota_exceeded (your versions fill the 500 MB storage budget): neither means your count is used up, and freeing a slot does not fix them. See Rules and limits |
storage_quota_exceeded |
429 | the versions you keep on disk across all your sites, deleted ones included, plus this publish would pass your storage budget; nothing was changed | publish a smaller build, delete sites you no longer need and ask the owner to purge them, or ask for more; rapadura whoami --full shows the numbers |
disk_space_low |
503 | the server's data disk is at the free-space reserve it keeps for everyone; nothing was changed | try again after retry_after seconds (300) and tell the owner (the gateway log has the numbers) |
publish_in_progress |
409 | a change to this site's environment holds the site in this gateway process (every other concurrent change is operation_conflict, naming the running operation) |
wait for it to finish; rapadura versions <site> shows what went live |
archive_forbidden_file |
400 | credentials, server control files, repository metadata, or server-side code in the upload | read message for the exact refused paths; remove those secrets/keys (.env, *.pem, *.key, .ssh/, etc.), server control files (.htaccess), or server-side scripts (.php, .sh, .py, etc.), or publish only your static build output directory (such as dist/ or public/), then resend with a new request key (Idempotency-Key / request_key). There is no override; see Rules and limits |
archive_invalid |
400 | not a zip, unsafe paths, symlinks, duplicate entries, oversize/bomb archive, or empty | read message for the exact archive defect (corrupt/non-zip file, empty directory, symlinks or special files, absolute or .. paths, duplicate entries, or file-count/size/compression-ratio limit); rebuild a clean zip of regular files with relative paths (or let rapadura publish <dir> / publish_site pack it) and resend with a new request key (Idempotency-Key / request_key) |
archive_too_large |
413 | over the size limit | rapadura zones shows limits |
publish_failed |
500 | activation, serving verification or acceptance failed; the message says whether previous content was restored or recovery needs inspection | inspect rapadura ops show <id> (get_operation), rapadura sites show <host> (show_site), and rapadura versions <host> (list_versions) (plus rapadura logs <host> / site_logs for apps) to see which step failed and what is live. If message confirms the previous version stayed live and the cause is in your build or _redirects, fix it and retry with a new request key (Idempotency-Key / request_key); if message says recovery requires inspection or the server error repeats, do not retry and send the operation ID and full message to the owner |
artisan_refused |
403 | the artisan command or flag is outside the policy | read the message and hint; staff can check the allowed list in /docs/staff/en/laravel.html |
artisan_unavailable |
503 | the Laravel lane is not enabled on this gateway, or the server's list of apps cannot be read (then an env command with a name without a dot gets it too: the name may be a Laravel app's) | ask the owner; an app answers by its full host meanwhile |
apps_unavailable |
503 | the apps lane is off on this gateway (no apps lane agent named) | ask the owner; hotsites work as before |
app_env_unavailable |
503 | the apps lane has no key to seal environment values with, a stored value no longer decrypts (500), or a change to the community site's environment (suite) while its applier is not there or did not answer; nothing was written; a publish whose variables do not decrypt fails with it before anything is built: the version is failed and its upload removed |
ask the owner (RAPADURA_APPS_ENV_KEY, and after a key rotation RAPADURA_APPS_ENV_KEY_PREV and rapadurad admin env-reseal); set the key again if no key the gateway has opens it, then publish again |
app_env_protected |
403 | a key of the community site's environment that only the owner, as a person, sets (APP_*, DB_*, MAIL_*, R2_*, VITE_* and similar), or APP_KEY, APP_ENV and APP_PREVIOUS_KEYS, which stay with root for everyone; nothing was changed |
ask the owner to set it (rapadura app env set suite KEY=value or the secret page); APP_KEY, APP_ENV and APP_PREVIOUS_KEYS: root, in the administrator's part of .env |
app_env_apply_failed |
502, 409 | a change to the community site's environment did not apply. 502: the block was not written, config:cache failed or /up or / did not answer 200 after it; the gateway put the old .env back, ran config:cache and the check again and put the old keys back in its store, and the message has artisan's text with each secret as [secret KEY]. 409: the applier refused the block (a key the administrator's part also sets, a lock a deploy holds, the file's owner or mode, damaged markers) and nothing changed |
check rapadura app env history <app> (e.g. suite) and rapadura ops show <id> (get_operation). On 502 (previous .env, cache, and store were reverted): read the redacted artisan/health error in message, fix the invalid value, and apply again (rapadura app env set <app> KEY=value or rapadura app secret set <app> KEY) with a new request key. On 409 (applier refused before writing): follow hint — wait a minute and retry if a deploy held the .env lock, or escalate to the owner/operator if a key is duplicated in the administrator's .env section, markers/permissions are broken, or versions mismatch (if a revert failed to complete, the error code is env_degraded instead) |
app_env_kind_conflict |
409 | a variable for a key that is a secret, or an unset that names the other kind (a tool's unset of a secret) | only a person removes a secret: rapadura app secret unset <host> KEY or the secret page; then set the variable |
app_env_looks_secret |
400 | a variable whose name has PASSWORD, SECRET, TOKEN… or ends in KEY, or whose value is a URL with a password |
set it as a secret (rapadura app secret set, or request_app_secret for an agent); if the value is public, --not-secret |
app_env_import_refused |
400 | an import of variables (rapadura app env import) or a batch (apply-batch, apply_app_env) refused one key or more and wrote nothing, not even a revision; the error's import.refused lists each key with its reason: looks_secret, kind_conflict (a secret of the app now), reserved (PORT...), invalid (the key's form, a value not on one line or over 4 KiB), limit (the whole environment after the change, over 100 keys or 64 KiB), and for a batch not_set (an unset of a key the app does not have), kind (an unset that names the other kind) or duplicate (a key twice) |
fix each key as its hint says (a secret: rapadura app secret set <host> KEY, then leave it out of the file) and import again; --dry-run shows the plan and changes nothing |
app_code_unreviewed |
409 | code an agent made in an app that no person reviewed would get the app's secrets: a person's secret (or an environment rollback that puts one back) on an app whose live version or a cron job came from an agent and is not reviewed, or an agent's rollback_site on an app with secrets to such a version; nothing was changed |
read that code (rapadura versions <host>, rapadura app cron list <host>), then rapadura app review <host> and set the secret again; a rollback to it is the person's: rapadura rollback <host> <N> |
app_build_busy |
503 | the apps lane's one build slot was taken for the whole wait | try again after retry_after seconds (30) or a few minutes; nothing was changed |
isolation_unavailable |
503 | an app's namespace lacks a guard the apps lane depends on (a NetworkPolicy, the Pod Security level, the quota, or the policy engine is missing or weaker), so it builds and runs nothing rather than run an app with weaker isolation; the message names the guard | nothing was changed and what already runs keeps running; tell the owner, who inspects and restores the missing namespace isolation guard on the cluster |
rate_limited |
429 | too many requests on one token, or too many failed sign-ins from one address | wait the seconds in the Retry-After header (the hint says it too) |
device_pending |
202 | login not yet approved | wait at least interval seconds (from POST /v1/auth/device/start) and poll POST /v1/auth/device/poll again with the same device_code while the user completes approval at verification_uri with user_code; stop when it returns 200 (approved), device_denied (403), or device_expired (410) (rapadura login handles this loop automatically) |
device_denied |
403 | login denied on GitHub | stop polling this device_code (it cannot be reused); confirm the user intends to sign in, then start a new login with rapadura login (or a fresh POST /v1/auth/device/start) and approve the GitHub prompt |
device_expired |
410 | login code expired or already used | run login again |
internal |
500 | unexpected gateway failure (or 502 on a transient upstream GitHub error during device login) | if operation_id or a Rapadura-Operation header was returned, inspect rapadura ops show <id> (get_operation) and rapadura sites show <host> (show_site) before retrying. For safe reads or transient 502 GitHub login errors, retry once in a moment; for writes, retry with the same Idempotency-Key / request_key only if the operation was not recorded as failed. If it persists, report the UTC timestamp, command/endpoint, operation_id (if any), and message to the owner |
grant_denied |
403 | the agent's token has a grant that does not cover this action on this app, or the grant expired; nothing was changed | the person who delegated mints a token with the action and the app (rapadura agent create), or does it themselves |
agent_token_required |
403 | a person's login token on the hosted MCP endpoint (/mcp); an MCP client runs with an agent's token, never the person's |
rapadura agent create --name <client> and give the client that token, or sign in with OAuth from the client |
client_outdated |
426 | a person's token presented by a rapadura mcp older than agent tokens (0.17): an MCP server runs with an agent's token now, never the person's |
run rapadura update (or the installer, `curl -fsSL https://agents.rapadura.net/install.sh |
operation_conflict |
409 | another change to this site is running; the error's operation_id names the operation that holds the site (no Rapadura-Operation header: nothing was recorded for this request) |
wait for it (rapadura ops wait <id>), then send the change again |
operation_not_final |
409 | the change was sent again with its request key while its operation is still going or waits for a decision, so there is no result to answer yet; the body carries the operation next to the error, and the retry does not start a second change | wait for it: rapadura ops wait <id> (or poll get_operation); once it succeeded, the same retry answers its receipt. Acceptance is not completion |
gateway_restarted (also build_failed, activation_failed, health_failed, timeout, uncertain_result) |
409 | the answer to a request key whose operation ended failed without an error of its own to replay (the gateway stopped while it ran and recovery inspected the state): the reason is the code, the message names the operation and what was found. Never internal: nothing is wrong with the gateway |
read the operation (rapadura ops show <id>); send the change again with a new request key once the cause is understood |
uncertain_result |
502 | the apps lane did not answer the run or the switch of an app, and its status could not settle whether it happened (it answered the status as neither the previous state nor the new one, or not at all). Nothing was reverted and the store was not changed; the operation ends needs_attention with reason uncertain_result. The same for an environment change whose restart is uncertain (nothing is sent back; the environment is marked degraded) and for the community site's .env write that is not confirmed and cannot be put back. When the status does settle it, the change goes on (it happened) or fails as usual (it did not) and you never see this |
do not send it again yet: look at what the app serves, then the owner resolves the operation (rapadurad admin ops resolve <id>) |
operation_cancelled |
409 | the change was stopped at a safe point because someone asked (or because the actor's token/grant was revoked); the message says what stopped and what remains, and that nothing that ran was undone | inspect rapadura ops show <id> (get_operation) to see reason, what stopped, and what remains, and check rapadura sites show <host> (show_site) for the live state. Do not reuse the old request key (it replays this cancellation). If reason is grant_revoked, a person must mint a new agent token (rapadura agent create) first; otherwise resend the change with a new Idempotency-Key / request_key if it is still wanted |
request_key_conflict |
409 | this request key was used for a different change (another payload, target or artifact); nothing was changed. The message names that change only if you may read it | use a new key for a new change; a retry of the same change keeps its key and gets the same operation back |
request_key_required |
400 | this gateway requires a request key on every change and none was sent | send Idempotency-Key (HTTP) or request_key (MCP, JSON): any string of 1 to 128 printable characters you can repeat on a retry |
stale_approval |
409 | what the approval allowed (the plan's digest: artifact, configuration revision, secret references, preconditions) is not what would run now; nothing ran | inspect the current state with rapadura sites show <host> (show_site), rapadura versions <host> (list_versions), or rapadura approvals (list_approvals), preview the updated plan with rapadura plan <host> --action <action> ... (plan_change), and resubmit the change with a new Idempotency-Key / request_key to file a fresh approval against the current state (if message says the held built image is gone, re-publish the archive so a new image is built) |
stale_attempt |
409 | a newer change superseded this attempt (either the tenants runtime applied a newer change to this app since this attempt started, or another attempt/recovery took over the operation), so this attempt did not overwrite it; nothing was changed or undone by it | no retry is needed if the newer change is what you want; inspect rapadura ops show <id> (get_operation) and rapadura sites show <host> (show_site) or rapadura versions <host> (list_versions) to see what is live now, and only resend with a new request_key (Idempotency-Key) and current expected_version (when required) if your change is still wanted |
capacity_exhausted |
429 | the tenant's pending changes, uploads or builds, the gateway's workers, or the sum of the CPU or memory caps of your apps, are at their limit; the error says which, with the numbers, and retry_after (the same seconds as the Retry-After header) when to try. A shortage of the sum of caps does not clear by waiting: its hint says what to lower or purge |
wait the seconds in retry_after; rapadura limits (or show_limits) shows the limits, what you use, every app's caps and what is reserved |
env_rollback_unreadable |
409 | a value of the revision to roll back to does not open with the keys the gateway holds, or the revision as a whole does not (the error names the keys, never a value); nothing was changed, and a rollback never puts back part of a revision | set those keys again, then roll back; or ask the owner about the sealing keys (rapadurad admin env-reseal) |
env_degraded |
409 (500 or 502 on the change that degraded it) | the last change to this environment failed and the compensating rollback did not complete: the runtime's configuration is neither the new nor the old revision for sure; the state says what was and was not put back. The change that degraded it answers 500 (502 for the community site) and its operation ends failed with reason degraded; every other change after it is refused 409 until a person applies a revision that passes |
a person reads rapadura app env history <host> and the operation, fixes the value, and applies again; nothing is reported as restored until a revision passes its checks |