Termsheep Cloud is coming soon.Cloud is coming soon.Join the waitlist →

Handle API and connection errors

Use API error codes to choose a diagnostic step without exposing stored data.

On this page

Use the arrow keys to scroll the table.

Error envelope

Responses include a snake-case code, which can change during Alpha. Treat human-readable text as diagnostic context, not an API contract. HTTP values below describe the usual mapping.

Code HTTP Next step
bad_request 400 Check fields and request shape.
unauthorized 401 Sign in or refresh the device credential.
forbidden 403 Check role and organization membership.
not_found 404 Check selection; another tenant is also hidden this way.
conflict 409 Sync/reload, inspect current state and retry deliberately.
payload_too_large 413 Reduce request size; do not bypass limits.
rate_limited 429 Wait before retrying.
registration_closed 403 Use an invitation on self-hosted instances.
internal 500 Collect sanitized logs and contact the operator.
auth.setup_secret_required 403 Enter the one-time setup secret from the operator.
server.public_url_required 503 Ask the operator to set the public origin in TERMSHEEP_PUBLIC_URL.
request.rate_limited 429 Wait before retrying. For a closed sync socket, close duplicate clients.
resource.not_found 404 Refresh the view and check access to the item.
request.closed 409 Refresh the request. Submit a new one if needed.
vault.protocol_required 409 Use matching app and server versions.
vault.access_removed_rotation_pending 409 Ask the owner to resume the pending key rotation.
vault.removal_unconfirmed 409 Check the membership state before retrying.

HTTP errors can include a specific reason. Client or transport errors may carry a separate code.

Client and transport codes

Code Next step
app.locked Unlock the desktop app with your password, then retry the action.
access-ended Reconnect after obtaining fresh access for the session.
channel-budget-exhausted Open a new SSH connection and retry the channel.
unverifiable-rekey Reconnect with host verification enabled. If this recurs, contact the host operator.
no-safe-cipher Ask the host operator to enable AES-GCM or AES-CTR. ChaCha20-Poly1305 requires strict key exchange.
no-host-signature Ask the host operator to enable Ed25519 or RSA with SHA-2 host signatures.
rsa-key-too-small Replace the affected RSA key with one of at least 2,048 bits.
ssh_sign_in.needs_person Use an approved client that can present the host’s sign-in question.
ssh_sign_in.timed_out Reconnect and answer within the hop’s deadline.
ssh_sign_in.prompt_limit_exceeded Check with the host operator if the prompt is too large or repeats too often.
ssh_sign_in.answer_rejected Check the answer before starting a new approved attempt.
ssh_sign_in.cancelled Start a new connection when you can answer the host.
ssh_sign_in.answer_count Provide one answer to each question.
ssh_sign_in.exchange_failed Reconnect. If the exchange keeps ending, check the host’s sign-in configuration.
file_system If you cancelled the download, choose a private destination and start again. Otherwise, check permissions and the filesystem.

Report safely

Include the code, version and sanitized reproduction steps. Never include tokens, passwords or invitation query strings.