Error codes
Every error code the Noodara API returns, with its HTTP status.
Every failed request returns a JSON body shaped like this:
{ "error": "<CODE>", "message": "<text>" }error is always one of the codes below. message is a short, human-readable description, and
nothing else — no internal detail is ever attached to it.
HTTP API errors
| Code | HTTP status | Meaning |
|---|---|---|
VALIDATION_FAILED | 400 | The request body does not match the endpoint's schema. |
INVALID_CREDENTIAL | 400 | The submitted SSH credential (password or private key) is invalid, or the current password did not match on a re-authenticated action. |
UNAUTHORIZED | 401 | There is no active session; sign in again. |
FORBIDDEN_ORIGIN | 403 | The request's Origin header is not the panel's own origin. |
NOT_FOUND | 404 | The requested resource does not exist. |
NAME_TAKEN | 409 | Another server already uses that name. |
HOST_TAKEN | 409 | Another server already uses that host and port. |
SERVER_BUSY | 409 | The server has a connection or discovery run already in progress. |
ALREADY_CONNECTING | 409 | A connect or discovery run for this server is already in progress. |
SERVER_NOT_CONNECTED | 409 | The action requires the server to be connected first. |
NO_PENDING_FINGERPRINT | 409 | There is no pending host-key fingerprint to trust. |
FINGERPRINT_MISMATCH | 409 | The fingerprint you tried to trust no longer matches what the server has pending. |
SERVER_NOT_TRUSTABLE | 409 | The server is not in a state that can trust a fingerprint right now. |
CONFIRMATION_MISMATCH | 409 | The typed confirmation text did not match what the action required. |
QUEUE_UNAVAILABLE | 503 | The background job queue is unavailable; try again shortly. |
SSE_LIMIT_REACHED | 503 | Too many live event streams are already open. |
INTERNAL_ERROR | 500 | An unexpected server error occurred. |
EMAIL_DOMAIN_UNRESOLVABLE | 400 | The new email address's domain does not resolve. |
EMAIL_DOMAIN_CHECK_UNAVAILABLE | 503 | The email domain check could not run; try again shortly. |
REAUTH_LOCKED | 429 | Too many recent re-authentication attempts; wait before trying again. |
SESSION_REVOKED_PASSWORD_CHANGED | 401 | The session was signed out because the account's password changed. |
PROJECT_NAME_TAKEN | 409 | Another project already uses that name (names are compared case-insensitively). |
ENVIRONMENT_NAME_TAKEN | 409 | The project already has an environment with that name. |
PROJECT_NOT_ARCHIVED | 422 | The project must be archived before it can be deleted. |
DELETE_CONFIRMATION_MISMATCH | 422 | The typed name did not exactly match the name of the resource being deleted. |
ENVIRONMENT_NOT_EMPTY | 409 | DELETE /api/projects/:projectId/environments/:environmentId refused: the environment still has services. Delete them first; nothing was changed. |
SERVICE_INPUT_INVALID | 422 | A service field failed validation; reason names the rule, such as REPOSITORY_URL_UNSUPPORTED_SCHEME or SERVICE_INPUT_UNSUPPORTED_FIELD. |
SERVICE_NAME_TAKEN | 409 | The environment already has a service with that name. |
PORT_IN_USE | 409 | The published port is already taken on that server, by another service or by the panel itself. |
SERVER_DOCKER_UNAVAILABLE | 409 | Docker is not installed on the server; services need it. |
SERVER_BUILDKIT_UNAVAILABLE | 409 | Dockerfile (git) services need Docker BuildKit on the server; use an image source or enable BuildKit. |
SERVER_BUILDKIT_UNKNOWN | 409 | BuildKit support on the server was never detected (it was discovered before v0.2); re-run discovery on the server, then retry. |
CREDENTIAL_SOURCE_MISMATCH | 409 | The credential does not fit the service's source: a deploy key needs an ssh repository URL, an HTTPS token an https:// one, a registry password an image source. |
SERVICE_CREDENTIAL_INVALID | 422 | A credential field failed validation; reason names the rule. The submitted value is never echoed back. |
SERVER_HAS_SERVICES | 409 | The server still runs services; blockingServices lists them. Move or delete them first. |
DEPLOYMENT_IN_PROGRESS | 409 | The service already has a deployment in progress; wait for it to finish or cancel it. |
ROLLBACK_TARGET_UNAVAILABLE | 422 | The rollback target has no usable image on the server; pick another deployment. |
IDEMPOTENCY_KEY_INVALID | 400 | The Idempotency-Key header is malformed. |
IDEMPOTENCY_KEY_REUSED | 422 | The Idempotency-Key was already used with a different request. |
WEBHOOK_SOURCE_NOT_GIT | 422 | Webhooks only apply to services built from a Git repository; image-source services cannot enable one. |
WEBHOOK_ALREADY_ENABLED | 409 | The webhook is already enabled; rotate its secret instead of enabling it again. |
WEBHOOK_NOT_ENABLED | 409 | The service has no webhook enabled; enable it first. |
WEBHOOK_HOOK_ID_CONFLICT | 409 | No unique webhook URL could be allocated; nothing was changed. Enable the webhook again. |
WEBHOOK_DELIVERY_REJECTED | 422 | Webhook receiver (POST /webhooks/github/:hookId): the signed delivery was recorded but cannot be deployed; outcome says why, such as a push to another branch or repository. |
RATE_LIMITED | 429 | Webhook receiver: too many deliveries for this hook id or source. AI assistant: too many questions in a short time. Retry after the Retry-After header. |
DOMAIN_ALREADY_ASSIGNED | 409 | The hostname is already assigned to a service; remove it there first. |
DOMAIN_RESERVED | 422 | The hostname is the panel's own host (NOODARA_PUBLIC_URL) and cannot be assigned to a service. |
DOMAIN_LIMIT_REACHED | 422 | The service already has the maximum number of domains. |
PROXY_PORT_IN_USE | 409 | Ports 80 or 443 are taken on the server; stop the other web server, then install the proxy again. |
PROXY_INSTALL_FAILED | 502 | The proxy could not be installed; check Docker and image pulls on the server. |
PROXY_UNAVAILABLE | 503 | The proxy on the server is not answering. |
PROXY_IN_USE | 409 | Domains still route through the proxy; remove them before removing it. |
PROXY_ROUTE_FAILED | 502 | The proxy did not accept the routes for the service. |
METRICS_UNAVAILABLE | 503 | Metrics are not available yet. Check that the server is connected and try again in a minute. |
LOG_SOURCE_UNAVAILABLE | 502 | Logs from this source could not be read. Check that the server is reachable and try again. |
LOG_QUERY_INVALID | 422 | The log query is not valid. Check the sources, time range and search term. |
AI_PROVIDER_NOT_CONFIGURED | 409 | No AI provider is configured. Add an API key in Settings to ask questions. |
AI_PROVIDER_AUTH_FAILED | 422 | The AI provider rejected the API key. Replace the key in Settings. |
AI_PROVIDER_UNAVAILABLE | 503 | The AI provider is not responding. Try again in a few minutes. |
AI_PROVIDER_RATE_LIMITED | 429 | The AI provider is rate limiting requests. Wait a moment and try again. |
AI_BUDGET_EXCEEDED | 422 | This question needed more steps than allowed. Ask a narrower question. |
AI_TOOL_NOT_ALLOWED | 403 | The assistant tried a tool it is not allowed to use. Nothing was changed. |
ENV_KEY_DUPLICATE | 409 | A variable with this key already exists in the scope. |
ENV_VALUE_MULTILINE | 422 | The value has a line break or NUL byte; encode multi-line values as base64. |
ENV_LIMIT_REACHED | 422 | The scope already has the maximum number of variables. |
SECRET_NOT_FOUND | 422 | A <secret:name> reference names a secret that does not exist in any visible scope. |
SECRET_IN_USE | 409 | Variables still reference the secret; remove the references before deleting it. |
SECRET_NAME_DUPLICATE | 409 | A secret with this name already exists in the scope. |
SECRET_LIMIT_REACHED | 422 | The scope already has the maximum number of secrets. |
PROJECT_ARCHIVED | 409 | The project is archived; unarchive it to deploy its services. |
DEPLOYMENT_INPUT_INVALID | 422 | The deploy request carried a field it does not accept; the body must be empty or {}. |
DEPLOYMENT_NOT_CANCELLABLE | 409 | The deployment already ended; only a queued or running deployment can be cancelled. |
ROLLBACK_IN_PROGRESS | 409 | The deployment is rolling back to the previous version and cannot be cancelled; wait for the rollback to finish. |
SERVICE_OPERATION_INVALID | 422 | The service operation request carried a field it does not accept, or the delete confirmation was missing. |
SERVICE_NOT_DEPLOYED | 409 | The service has never been deployed, so there is no container to stop, restart or remove. |
SERVICE_OPERATION_IN_PROGRESS | 409 | Another stop, restart or remove for this service is already queued; wait for it to finish. |
SERVER_UNREACHABLE | 502 | The panel could not reach the server over SSH (to clean up the service or read its logs); a delete removed nothing. Try again. |
SERVICE_CLEANUP_FAILED | 502 | Removing the service's container, network, images or files on the server failed; nothing was deleted. Try again. |
CONTAINER_NOT_FOUND | 409 | The service has no container on the server, so there are no runtime logs. Deploy the service first. |
RUNTIME_LOG_TAIL_INVALID | 422 | tail must be a whole number from 1 to 10000. |
RUNTIME_LOG_FOLLOW_LIMIT_REACHED | 429 | Too many live log streams are open for this server or account. Close one and try again. |
RUNTIME_LOGS_FAILED | 502 | Docker on the server could not read the service logs. Try again or redeploy. |
RUNTIME_LOGS_TIMEOUT | 504 | Reading the service logs timed out. Try again with a smaller tail. |
A request the server cannot read at all gets one of three fixed codes with the same body shape:
MALFORMED_REQUEST (400, the body is not valid JSON), PAYLOAD_TOO_LARGE (413) or
UNSUPPORTED_MEDIA_TYPE (415, send application/json).
The AI assistant endpoints add their own codes, with the same body shape:
AI_PROVIDER_INPUT_INVALID (422, the API key or model was refused before contacting the provider;
reason is too_short, too_long, invalid_characters or model_not_allowed, and the key is never
echoed back), AI_QUESTION_EMPTY (422, ask a question), AI_QUESTION_TOO_LONG (422, questions are
limited to 4000 characters), AI_CONVERSATION_BUSY (409, the conversation is already answering a
question) and AI_CONVERSATION_NOT_FOUND (404).
A stop, restart or remove runs in the background after its 202, so its failures never come back as
an HTTP error. They appear only in the service's activity: SERVER_UNREACHABLE,
SERVER_DOCKER_UNAVAILABLE, CONTAINER_NOT_FOUND (the container is gone; redeploy),
SERVICE_OPERATION_FAILED (Docker rejected the operation) or SERVICE_OPERATION_TIMEOUT.
A deployment's own failures are recorded on the deployment, not returned as HTTP errors. Two of them concern the SSH host key of a Git host:
GIT_HOST_KEY_MISMATCH: the Git host offered a key that does not match the one Noodara trusts for it. GitHub, GitLab and Bitbucket keys ship with Noodara; any other host's key is stored per service on its first SSH clone and checked on every later clone. A changed key is never replaced automatically. If the host really rotated its key, verify the new fingerprint with the host's operator, then runnoodara services reset-host-key <serviceId>and deploy again: the next clone stores the current key. Changing the service's repository URL to another host also forgets it.GIT_HOST_KEY_UNAVAILABLE: the Git host's SSH key could not be read, so nothing was cloned.
HEALTHCHECK_FAILED and HEALTHCHECK_TIMEOUT: the new version did not pass its
healthcheck, either by failing until the retries ran out or by
exceeding the time budget. With automatic rollback on, the previous version is restored.
A healthcheck setting outside its bounds is rejected up front as HTTP 400 VALIDATION_FAILED, with
an issues entry at /healthcheck.
ENQUEUE_FAILED: the deployment was accepted but never reached the job queue (Redis or Postgres was
unreachable at that moment), so nothing ran and the service is unchanged. The worker ends such a
deployment FAILED once it has waited past the stale-queue threshold (default 2 minutes) with no
queue job, which frees the service for a new deploy. Check that Redis and Postgres are
reachable, then deploy again.
COMMIT_NOT_FOUND: the commit a push or redeploy asked for is not in the repository, even after a
full fetch. The branch was most likely force-pushed past it; push again or deploy the branch head.
WORKSPACE_UNAVAILABLE: the deploy workspace could not be created or written. Each deployment works
in ~/.noodara/deploy/<deploymentId> under the SSH user's home directory, so a non-root user in the
docker group needs no other setup. Make sure that user has a home directory it can write to (and
that ~/.noodara is a directory, not a file), then deploy again.
A domain's certificate failures are recorded on the domain, not returned as HTTP errors:
CERT_DNS_MISMATCH (the domain does not point at the server), CERT_ISSUANCE_FAILED (no
certificate before the issuance timeout, usually port 80 unreachable) and CERT_PROXY_UNAVAILABLE
(the proxy is not answering on port 443). See Domains and HTTPS.
Three deployment failures concern variables and routes. None of them carries a value:
SECRET_UNRESOLVED: a variable references a secret that does not exist. Add the secret or fix the reference (see Environment variables and secrets).ENV_INJECTION_FAILED: the variables could not be written to the server. Check its disk and connection.PROXY_ROUTE_FAILED: the proxy did not accept the service's routes. Check the proxy on the server.