Error Glossary
Every error response from Cadreen follows the same structure. Parse the error.code, not the error.message. Codes are stable; messages may change phrasing.
Canonical error shape
{
"error": {
"type": "invalid_request",
"code": "invalid_effect",
"message": "rules[0].effect is \"maybe\", which isn't an effect. Use require_human_approval, require_approval, handoff, auto_approve, auto, allow, block, deny, escalate, redact or mask.",
"details": [
{"field": "rules[0].effect", "message": "not a known effect"}
],
"next": "Fix the request as the message says, then send it again.",
"doc_url": "https://cadreen.com/docs?section=errors-section&code=invalid_effect"
}
}The routes that run the intelligence layer set an X-Cadreen-Trace-ID header on their JSON object answers, most of their errors and their streams; a refusal at the door (sign-in, the API key check, a rate limit, a Content-Type refused with 415, an idempotency conflict), an array answer, a CSV export and a file download carry none. A successful call that is not a GET, with an answer that is a JSON object, stores its trace in the background (the answer does not wait for it, so a trace asked for the moment the answer arrives may not be there yet; best effort: a trace the store cannot take is logged and not retried), and the dashboard trace explorer shows it. No trace is stored for an error: GET /intelligence/{id} answers 404 for its ID, and the ID is there for you to quote when you write to support. Authentication errors use this shape too, with the type read from the status (authentication_error for a 401, permission_error for a 403). The OpenAI-compatible routes (/chat/completions) use the same keys with OpenAI's type words, such as invalid_request_error, so an OpenAI client reads them.
Every error comes in this one shape, and error is always an object. type, code, message, next (what to do, in one sentence) and doc_url are always there. hint, details, retry_after (seconds; the Retry-After header says the same), person_message and request_id are there when the error has them.
details is either a list of field errors, [{"field": "…", "message": "…"}], or an object of facts about this error, such as {"cause": "model_key_missing"}. A few facts a client acts on sit beside error instead: the balance of a 402, or the operation_id of a held call. A stream that fails after it has started sends {"type": "error", "error": {…}} as its last event. The OpenAI-compatible routes (/chat/completions) keep OpenAI's error shape and add next and doc_url.
Outcome vs. Error
Not every non-200 response is an error. Most of these statuses come back as a 200; a block comes back as a 403 whose body is the answer, not an error:
| Status field | HTTP | Meaning |
|---|---|---|
answered | 200 | Intent resolved immediately. Read message.content. |
needs_input | 200 | More information required. Read clarification.questions. |
ready_to_execute | 200 | Plan is ready. Trigger execution to proceed. |
executing | 200 | Execution is running. Stream or poll for progress. |
planning | 200 | An execution was started and is being planned. Nothing runs until a person in its workspace approves the plan. Read the execution at next_action.endpoint. |
blocked_by_policy | 403 | Governance prevented the action (type is blocked); the body is the answer, not an error, and a stream sends it in a 200 event. Read meta.governance.decision and meta.governance.reason. |
blocked_by_missing_connection | 403 | The call was held back, and most of the tools matched to the request are not connected or not healthy (type is connect_required; a stream sends such a block as blocked). The body is the answer, not an error: meta.governance.decision and meta.governance.reason say why it was held. Connect or repair the tools, then ask again. |
A result the server cannot describe is never sent as a failed answer with a 200: it is the error processing_failed (HTTP 500), and nothing was returned. Branch on status, never on the HTTP status alone. The X-Cadreen-Gate header (ok, blocked, escalate, needs_input) is sent on a successful answer, only with the audit profile and by routes that write their own intelligence object (the intent route; chat completions, where it is always ok); an error never has it, neither has an answer whose rules could not be read (intelligence.governance.unavailable is true) unless a blocking gap makes it blocked, and a missing header is not ok.
Error catalog
What each error code means and what to do about it, grouped by the part of Cadreen it comes from. Every error the API sends has a row here, and its doc_url opens that row. The API reference lists which errors each route can answer. Branch on the code, not the message.
Requests
| Code | HTTP | What happened, and what to do |
|---|---|---|
invalid_request | 400 | Check request syntax. Ensure the body is valid JSON and all required fields are present. |
missing_fields | 400 | A required field is missing. The message says which: send it and try again. |
invalid_context | 400 | This request isn't tied to a workspace. Sign in again, or use a key that belongs to one. |
audit_invalid_execution_id | 400 | execution_id (or the old mission_id) is not a UUID. Take it from the execution's own answer. |
invalid_atom_type | 400 | Valid types are: reference, preference, episode, precedent, note, project. |
invalid_memory_id | 400 | Memory IDs are UUIDs — check that the ID is well-formed and exists. |
memory_query_required | 400 | Provide a query parameter to search memory. |
openapi_invalid_url | 400 | An MCP server's discovery document (/.well-known/mcp) points to a different site, and Cadreen doesn't follow it, because the token would go there. Connect to that site by its own address. Adding a service to a job also answers this for an MCP server whose address is private, internal or reserved. Nothing was saved. |
address_not_reachable | 400 | The address is private, internal or reserved, or does not resolve. A private address can't be allowed; contact support if you need one. |
auth_type_invalid | 400 | The sign-in settings of the service you are adding are incomplete, or name a type that isn't allowed. The message says which. OpenAPI services take none, api_key, bearer or basic; MCP servers take none, bearer or api_key. Fix the settings and send it again. Nothing was connected. |
auth_scheme_unsupported | 422 | The API's description sends its key a way a single secret can't be sent as (OAuth, a key in the query, or several ways). Use the connection build flow, which reads how the API is signed. Nothing was saved. |
key_not_needed | 422 | A key was given for an API whose description says none of its calls need one. Leave the key out. Nothing was saved. |
address_moves | 422 | The API's address redirects to another origin (usually http to https), and Cadreen does not follow that for a connection with a key. Nothing was saved. Use the address it moves to. |
credential_required | 422 | Some or all of the API's calls need a key, and none was given. Nothing was saved. Add the key: make a credential for it, or build the connection from its spec, which asks for the one secret. |
mcp_token_rejected | 422 | The MCP server answered 401. Send the right token. Nothing was saved. |
key_not_allowed | 422 | The service accepted the key but is not allowing it this. Ask whoever manages the key to give it access. Nothing was saved. |
mcp_not_an_mcp_server | 422 | The address answered, but not as an MCP server Cadreen can talk to (Streamable HTTP, plain HTTP or SSE). Use the MCP address of that service. Nothing was saved. |
mcp_certificate_untrusted | 422 | The address answered, but its certificate couldn't be trusted (an unknown authority, the wrong name, or expired). Nothing was saved. |
mcp_unreachable | 502 | Nothing answered at the address. Check it and that the MCP server is running. Nothing was saved. |
assessment_missing_task | 400 | Provide a task describing what you want to accomplish. |
policy_missing_name | 400 | Policies require a name field. |
policy_fields_missing | 400 | A field of the rules is left out or null (a list may be null: it is then empty). The answer lists them in fields; nothing was saved. A PUT sets the whole set of rules, so send every field. |
confirmation_list_too_large | 400 | require_confirmation_for holds more than 64 entries, or an entry of more than 64 characters. The message says which; nothing was saved. Send a shorter list. |
invalid_policy | 400 | A value of the rules is out of range, or require_confirmation_for names emergency_stop, which is never held back. The message says which; nothing was saved. |
escalation_missing_decision | 400 | Provide a decision field with one of: auto, auto_complete, handoff, escalate, clarify_requester, abstain, emergency_stop. |
unauthorized | 401 | Include an Authorization: Bearer <api_key> header with a valid API key. |
tenant_required | 401 | The request isn't tied to an organization, so nothing was saved: sign in again, or send an API key that belongs to one. A workspace invitation answers it as a 400 when it can't tell which organization the workspace belongs to. |
not_found | 404 | That record wasn't found. Check the id you sent. |
mission_not_foundexecution_not_found | 404 | The execution was not found: it doesn't exist, it belongs to another workspace, or it is in a conversation you can't see. The answer is the same for all three. |
forbidden | 403 | Your API key does not have permission for this resource. |
memory_not_found | 404 | The requested memory item was not found — verify the ID or create it first. Someone else's private item looks the same. |
policy_not_found | 404 | The requested rule was not found. List rules with GET /policies. |
escalation_not_found | 404 | The escalation ID was not found. List escalations with GET /escalations. |
credential_not_found | 404 | The credential ID was not found. List credentials with GET /credentials. |
duplicate_credential | 409 | A credential with this provider and name already exists. Choose another name, or change the credential that has it. |
credential_held_by_service | 409 | This key is managed by the service it connects, so it can't be changed here. To replace it or turn it off, disconnect the service and connect it again. Its tools stop working while it is disconnected. |
credential_name_set_by_service | 409 | This key's name is how Cadreen finds the service's connection, so it can't be renamed. |
bci_policy_not_set | 409 | No BCI rules govern you, so POST /bci/intent refuses every intent but an emergency stop. An admin sets them with PUT /bci/policy; GET /bci/status says whether they are set (policy_set). GET /bci/policy answers this code as a 404. |
connection_changed | 409 | Someone changed this connection first, so nothing was changed. Load it again and decide again. |
billing_unavailable | 409 | Billing couldn't be read. Try again. |
portal_unavailable | 409 | Your billing page couldn't be opened. Try again. |
no_connection_for_currency | 409 | No live connection collects this invoice's currency, so it wasn't issued. Connect a provider that takes it, or bill in another currency. |
seller_unavailable | 409 | An invoice is paid only through a connection of the seller it was issued with, and none can take this payment now. Nothing was charged. Try another way to pay. |
legal_details_required | 409 | A live invoice names who sells it. Add your business's legal name and address in Settings (POST /settings/legal), then try again. Nothing was issued or asked. |
connection_has_messages | 409 | Messages came through this connection, so it can't be deleted: its record keeps every message's sender traceable. Revoke it instead. |
agent_archived | 409 | This agent is archived, so it can't take this. Use another agent. |
agent_unavailable | 409 | This agent can't take a connection in its current state. Check the agent's status. |
intelligence_not_found | 404 | The requested trace was not found. List traces with GET /intelligence. |
webhook_not_found | 404 | The webhook subscription was not found. List webhooks with GET /webhooks. |
workspace_required | 400 | Send the workspace you mean in the X-Workspace-ID header. A workspace API key (Authorization: Bearer sk_cadreen_...) already names one. |
workspace_membership_required | 403 | You are not in a workspace. Ask someone to add you. |
invalid_intent | 400 | The message's mark isn't one the chat knows, so nothing was sent. intent is workspace_question (one of the chat's own questions about the workspace), or left out. |
invalid_page_ref | 400 | The page the message was sent from couldn't be read, so nothing was sent. page_ref is {kind, id}: kind is operation, decision, device, connection or rule, and id has that kind's shape. |
answered_message_unknown | 400 | The question this choice answers isn't in the chat, so nothing was sent. answered_message_id must be the id of an assistant message of this conversation. Choose again, or send your answer without it. |
rate_limited | 429 | Too many requests. Wait the number of seconds in the Retry-After header, then try again. |
document_too_big_to_read_now | 413 | This file is too big to read in one go, so nothing was saved. Split it into smaller files and upload them separately. |
facts_not_stored | 500 | The file was stored and can be downloaded, but none of its facts could be stored. details.document_id names the document, which is marked failed with the reason. Nothing retries this: once the cause is fixed, delete the document and upload it again. |
embedding_size_mismatch | 500 | The file was stored and can be downloaded, but none of its facts could be stored. This is a problem in Cadreen, not with your file: contact support, and once it is fixed, delete the document and upload it again. |
unsupported_file_type | 415 | This kind of file can't be read, so nothing was uploaded. details.file_type names its extension; upload it as text, Markdown, CSV, JSON, JSON Lines, YAML, PDF, Word, PowerPoint or Excel. |
store_unavailable | 503 | A backend dependency is temporarily unavailable. Retry with exponential backoff. |
service_unavailable | 503 | A backend dependency is temporarily unavailable. Retry with exponential backoff. |
workspace_authorization_unavailable | 424 | 424: your role couldn't be checked, so try again, and if that doesn't help contact support. 409: your role can't be checked from here; this is a problem in Cadreen, so contact support. |
model_provider_required | 503 | No AI model is set up to answer, so nothing was answered or started. This is a problem in Cadreen: Cadreen's team sets up the model and its provider's key, and you don't need to do anything. Trying again changes nothing until they do. The cause field says which is missing: model_not_configured, model_key_missing or model_retired. |
classification_failed | 424 | Cadreen's AI service had a problem reading the request, so nothing was started. That's a problem in Cadreen, not in your words. Try again. |
decomposition_unavailable | 424 | Cadreen's AI service had a problem splitting the request into separate ones, so nothing was started. That's a problem in Cadreen, not in your request. Try again, or send them one at a time. |
critique_incomplete | 424 | The safety review couldn't look at every part of the plan, because the AI service it asks failed. Nothing was approved. Try again; the Retry-After header says when. If no model is set up at all, the answer is 503 model_provider_required instead. |
model_unavailable | 424 | The AI service failed to write the answer, so nothing was returned (a rule written in words saves nothing). That is the service Cadreen depends on failing, not your request. Try again. |
payments_disabled | 409 | Payments are turned off here, so nothing was moved, charged or changed. |
reason_too_long | 400 | The reason is longer than this route allows; the message says the limit. Shorten it and send it again. Nothing was changed. |
idempotency_key_mismatch | 400 | The Idempotency-Key header and the idempotency_key in the body are different. Send one of them, or the same key in both. Nothing was done. |
currency_not_supported | 400 | Nothing was held or sent: there is no bank payout for that currency. |
internal_error | 500 | Server-side failure. Retry with exponential backoff. Report the trace ID if persistent. |
memory_creation_failed | 500 | Ensure content.text is non-empty and the type is valid. |
memory_search_failed | 500 | Internal knowledge query failed. Retry with a more specific query. |
governance_unavailable | 503 | Rules engine is not configured. Contact your workspace admin. |
policy_query_failed | 500 | The rules couldn't be read. Try again, or check how the rules are set up. |
policy_creation_failed | 500 | The rule couldn't be created. Check for a duplicate name or an invalid condition. |
policy_confirm_failed | 500 | The rule couldn't be confirmed. Check that the rule's ID and version are correct. |
policy_evaluation_failed | 500 | The rules could not be checked, so nothing was decided. Retry; if it keeps failing, contact support. |
capabilities_unavailable | 503 | No tools are configured for this workspace. |
audit_unavailable | 503 | The audit log isn't available, so this wasn't done and nothing changed. Only changes that move money wait for the log (and the audit trail can't be read without it). Try again; if it keeps failing, contact support. Every other change is made anyway, and Cadreen's team is told. |
missions_unavailableexecutions_unavailable | 409 | Missions (executions, on the executions routes) aren't available from here. This is a problem in Cadreen; contact support. |
audit_query_failed | 500 | The audit trail could not be read. Retry; if it keeps failing, contact support. |
learning_unavailable | 503 | Learning system is not configured. Contact your workspace admin. |
escalations_unavailable | 503 | Escalation system is not configured. Contact your workspace admin. |
credentials_unavailable | 503 | Credential store is not configured. Contact your workspace admin. |
credential_creation_failed | 500 | Ensure provider, name, and key_data are all provided. |
diagnosis_failed | 500 | Provide at minimum error_message and optionally error_category and tool_name. |
intelligence_unavailable | 503 | Request tracking is not configured. Contact your workspace admin. |
webhook_unavailable | 503 | Webhook system is not configured. Contact your workspace admin. |
webhook_creation_failed | 500 | The subscription could not be saved, so nothing was created. Try again; if it keeps failing, contact support. |
connection_unregister_failed | 500 | Connection deletion failed. Verify the ID is valid and the connection exists. |
provider_unavailable | 503 | Integration provider is not configured. Contact your workspace admin. |
openapi_unavailable | 503 | OpenAPI integration is not configured. Contact your workspace admin. |
mcp_unavailable | 503 | MCP gateway is not configured. Contact your workspace admin. |
escalation_resolve_failed | 500 | Escalation resolution failed. Verify the decision value is valid. |
credential_delete_failed | 500 | Credential deletion failed. Verify the ID is valid. |
intelligence_query_failed | 500 | Intelligence query failed. Check filter parameters and retry. |
diagnosis_unavailable | 503 | Healing diagnostics are not configured. Contact your workspace admin. |
preconditions_unavailable | 503 | Precondition checking is not configured. Contact your workspace admin. |
install_failed | 500 | Integration installation failed. Check the integration ID and try again. |
openapi_fetch_failed | 400 | Cadreen couldn't fetch the API description from that URL. Check that the address is right and public, or send the description itself as spec_content. Nothing was saved. |
openapi_invalid_spec | 400 | The API description couldn't be read as OpenAPI (JSON or YAML), or it names no absolute http or https server (servers[0].url), or it describes no operations. Fix the description and send it again. Nothing was saved. |
openapi_generation_failed | 500 | Tool generation from the OpenAPI spec failed. Check the spec structure. |
mcp_registration_failed | 500 | The MCP server could not be registered, so nothing was saved. This is not a mistake in the request: try again, and if it keeps failing, contact support. |
escalation_list_failed | 500 | Escalation listing failed. Retry or contact support. |
credential_list_failed | 500 | Credential listing failed. Retry or contact support. |
webhook_list_failed | 500 | Webhook listing failed. Retry or contact support. |
intelligence_stats_failed | 500 | Intelligence stats aggregation failed. Retry or contact support. |
telemetry_read_failed | 500 | The readings could not be read. Try again; if it keeps failing, contact support. |
audit_stats_failed | 500 | Audit stats aggregation failed. Retry or contact support. |
audit_timeline_failed | 500 | The execution's timeline could not be read. Retry; a malformed execution ID is a 400 audit_invalid_execution_id, not this. |
mission_access_failed | 500 | This execution couldn't be checked. Try again. |
learning_detection_failed | 500 | Pattern detection failed. Contact support. |
learning_query_failed | 500 | Learning query failed. Contact support. |
learning_suggestion_failed | 500 | Knowledge suggestion failed. Contact support. |
preconditions_check_failed | 500 | Precondition check failed. Verify tool parameters. |
routing_unavailable | 503 | Request routing is not configured. Contact your workspace admin. |
stream_capacity_reached | 503 | Every live-update stream Cadreen can hold is open (1000), so this one wasn't opened. Open it again after the Retry-After seconds: a browser's EventSource doesn't retry after a 503, so open it again yourself. |
stream_broker_busy | 503 | Cadreen was busy opening other live updates, so this one wasn't opened. Open it again after the Retry-After seconds: a browser's EventSource doesn't retry after a 503, so open it again yourself. |
already_exists | 409 | This resource already exists. Use the existing one or delete it first. |
action_not_found | 404 | No action with this id exists in this chat. Open the chat again and use an action it shows. |
conversation_id_required | 400 | Name the chat in the path, so Cadreen knows where to send the message. Nothing was sent. |
conversation_not_found | 404 | No chat with this id exists here, or you can't see it. Open your chats and pick one from the list. |
conversation_required | 400 | Say which conversation's suggestions to show by sending conversation_id. |
field_too_long | 400 | A field is longer than it may be. The message names it and says the most characters it takes: shorten it and send again. |
id_required | 400 | The id of the thing you're asking about is missing from the path. Add it. |
idempotency_key_reserved | 400 | An Idempotency-Key can't start with cloud_command: or drop_in_turn: (those starts are Cadreen's own). Use another key. Nothing was recorded. |
invalid_cursor | 400 | That page token isn't valid. Start again from the first page. |
invalid_idempotency_key | 400 | The Idempotency-Key must be at most 255 characters, with no control characters. Nothing was sent. |
missing_context | 400 | This request isn't tied to an organization and workspace. Sign in again, or use a key that belongs to one. |
not_a_dashboard_conversation | 403 | That conversation isn't a dashboard chat, so it can't be continued here. Start a new dashboard chat. |
proposal_expired | 410 | This proposal expired, so nothing was done. Ask again in the chat. |
request_too_large | 400 | The request is too large. The message says the most it takes (64 KiB on some routes). Send less. |
unknown_field | 400 | The request has a field Cadreen doesn't know. The message names it. Remove it, or check the spelling. |
timeout | 504 | This took too long, so it was stopped. Try again. |
rehearsal_limit | 429 | You already have the most rehearsals running that one person can: the message says how many. Wait for one to finish, then try again. Nothing was started. |
request_canceled | 408 | The request was cancelled before it finished. Send it again if you still want it. |
connector_not_foundkey_not_foundplan_not_foundrefund_not_foundtopup_session_not_foundatom_not_foundrelay_action_not_foundrelay_webhook_not_foundpairing_not_foundplatform_review_not_foundrecipe_not_foundtenant_not_found | 404 | Nothing has this id in this workspace, or you can't see it (a connector, key, plan, refund, top-up, knowledge item, Relay ask or webhook, pairing, hold, routine or organization). The answer is the same for both. Take the id from the matching list route's answer and try again. |
description_requiredemail_requiredname_and_email_requiredplan_id_requiredpolicy_type_and_text_requiredconnector_type_and_name_requiredaction_requiredinput_requiredmissing_messageno_answersnote_requiredtenant_id_requiredreason_requiredprovider_payout_id_requiredretirement_reason_required | 400 | A field this route needs is missing or empty, and the code names it. Send it and try again. |
invalid_emailinvalid_email_format | 400 | That isn't a usable email address. Send one address, like ada@example.com. |
failed_to_get_workspacefailed_to_get_assessmentfailed_to_get_keyfailed_to_get_planfailed_to_list_connectorsfailed_to_list_deletionsfailed_to_list_keysfailed_to_list_plansfailed_to_list_policiesfailed_to_list_workspace_deletionsfailed_to_list_workspacesfailed_to_list_credentialsfailed_to_list_tenantsworkspace_authorization_failed | 500 | This couldn't be read because of a problem in Cadreen, so nothing was returned. Your request didn't cause it. Try again; if it keeps failing, contact support. |
failed_to_create_workspacefailed_to_create_connectorfailed_to_create_keyfailed_to_create_planfailed_to_create_policyfailed_to_delete_connectorfailed_to_delete_policyfailed_to_delete_workspacefailed_to_generate_keyfailed_to_request_deletionfailed_to_revoke_keyfailed_to_rotate_keyfailed_to_savefailed_to_save_planfailed_to_store_leadfailed_to_update_assessmentfailed_to_update_policyfailed_to_update_workspace | 500 | This change couldn't be finished because of a problem in Cadreen, so it may not have been made. Your request didn't cause it. Read the item again to see where it stands, then try again. If it keeps failing, contact support. |
invalid_workspace_idinvalid_connector_idinvalid_key_idinvalid_plan_idinvalid_recipe_idinvalid_mission_idinvalid_execution_idinvalid_conversation_idinvalid_tenant_idinvalid_idinvalid_grant_idinvalid_before_id | 400 | An id in the path (or the X-Workspace-ID header) isn't a valid id. Take it from the answer of the matching list route. |
invalid_json | 400 | The request body isn't valid JSON. Fix the body and send it again. |
bad_request | 400 | The request body isn't valid, or an id it needs is missing or isn't a valid id (the message says which). Fix it and send it again. |
db_error | 500 | A read or write of stored data failed (for example accepting the terms, or loading promo codes). Try again; if it keeps failing, contact support. |
idempotency_key_required | 400 | This request needs an idempotency key (the body field idempotencyKey or idempotency_key, or the Idempotency-Key header, as the route says), so it can be retried safely. Send one and send the same key again to retry: nothing is done twice. |
validation_failed | 400 | A value in the request isn't acceptable. The message says which, and details lists the fields. Fix them and send it again. (Some routes answer this as a 422.) |
invalid_timezone | 400 | The time zone isn't recognised or is too long. Use a name like Europe/London or America/New_York. |
missing_idmissing_idsmissing_doc_idmissing_error_idmissing_step_idmissing_urimission_id_missingexecution_id_missing | 400 | An id the route needs is missing from the path, query or body (the message says which one). Send it and try again. |
invalid_artifact_idinvalid_escalation_idinvalid_uri | 400 | An id or address in the path isn't valid (an artifact id, an escalation id or a knowledge address). Take it from the answer that named it. |
money_never_reused | 422 | This action moves money, so a person approves it every time. It can't be set to repeat. Nothing was changed. |
action_never_repeated | 422 | This action is never repeated without asking: a person always decides it. Nothing was changed. |
money_statement_required | 422 | To repeat this action without asking, say that it can never move money (never_moves_money: true). Cadreen can't tell, so your statement is recorded. Nothing was changed. |
relay_paused | 409 | An admin has paused Relay for this workspace, so new asks and events that would run something are refused until it is resumed. Nothing was run or changed. Approvals already given still finish. |
relay_unavailablerelay_events_unavailablerelay_webhooks_unavailablepairing_unavailableplatform_reviews_unavailabletenant_unavailableoperation_admission_unavailableheld_chargebacks_unreadableerror_tracking_unavailable | 503 | This part of Cadreen can't be reached or isn't available, and your request didn't cause it. Try again. The message says whether anything was changed; if it keeps failing, contact support. |
invalid_limitinvalid_pageinvalid_inactive_daysinvalid_include_retiredinvalid_max_operationsinvalid_list_paramsinvalid_day | 400 | A query parameter isn't acceptable: a number out of its range (the message gives it, for example limit from 1 to 100 or 200), a date that isn't a UTC date like 2026-10-28, a true/false that isn't, or a page that doesn't exist. Fix it and send it again. |
invalid_statusinvalid_typeinvalid_actioninvalid_questioninvalid_outcomeinvalid_providerinvalid_decision | 400 | A field isn't one of the values this route accepts. The message lists the allowed ones. Send one of them. |
invalid_bodyinternal_requiredinvalid_spentinvalid_heartbeatinvalid_manifestinvalid_webhook_urlinvalid_run_inputinvalid_recipeinvalid_grantinvalid_sidecar_idevidence_not_exactevidence_too_largeidempotency_key_too_longarguments_not_exactaction_service_mismatchinvalid_reasonreason_too_longreason_unreadabletoo_many_ids | 400 | The body (or one of its fields) isn't acceptable: wrong shape, too long, too many entries or not plain text. The message says which field and what is allowed. Fix it and send it again. Where the message says so, nothing was recorded or changed. |
backend_not_configured | 503 | This site hasn't been told where the service is, so nothing was sent. Contact support. |
guest_access_not_configured | 503 | This isn't available without signing in on this site. Sign in, or send your API key in the Authorization header. |
proxy_connectivity_error | 502 | The site couldn't reach the service, so nothing was sent. Try again. |
method_not_allowed | 405 | This address doesn't take that HTTP method, so nothing was run. Use the method the message names (the migration routes take POST). |
invalid_form | 400 | The upload couldn't be read as a form. Send it as multipart/form-data, at most 50 MB, and try again. |
payload_too_large | 413 | The request body is larger than this route takes, so nothing was changed. Send a smaller one. |
invalid_since | 400 | since must be a date and time like 2026-10-09T08:00:00Z (RFC 3339). Fix it and try again. |
invalid_request_body | 400 | The request body couldn't be read as JSON. Send a valid body, and check each field is the type the route expects. Nothing was changed. |
name_required | 400 | A name is required. Give the data source or organization a name, and send again. Nothing was created. |
invalid_url | 400 | The address isn't valid. Send a full address, such as https://example.com/path. |
invalid_scheme | 400 | The scheme isn't one this route takes: an address must start with http or https, and a signature scheme must be one that can verify something. Fix it and try again. |
invalid_field | 400 | A field has a value out of range, for example retention_years must be between 0 and 100. The message says which. Nothing was changed. |
storage_error | 500 | The feedback couldn't be saved because of a problem in Cadreen. Try again. If it keeps failing, contact support. |
not_implemented | 501 | This feature (image variations, or skipping a step where that isn't supported) isn't available. Nothing was changed. |
invalid_pagination | 400 | limit must be a positive whole number and offset a whole number, zero or more. |
json_required | 415 | This route takes JSON. Send the description as JSON with Content-Type: application/json. |
too_many_streams | 429 | You have as many live updates open as you may. The message gives the number. Close one and try again. |
server_stopping | 424 | The stream wasn't opened. Open it again. |
unsupported_media_type | 415 | The Content-Type isn't one this route takes. Send application/json (or multipart form data where an upload is expected). |
invalid_offset | 400 | offset must be a whole number, 0 or more. |
request_body_too_large | 413 | Requests sent with an Idempotency-Key are limited to 1 MB, so nothing was done. Send a smaller body. |
idempotency_response_not_kept | 409 | The first request with this Idempotency-Key ran, but its answer was a stream or too large to keep, so it can't be shown again. Don't resend it; read the result from the resource itself. |
idempotency_in_progress | 409 | A request with this Idempotency-Key is already in progress, so this one was not run. Send it again with the same key once that one has finished (see Retry-After). |
idempotency_unavailable | 503 | The Idempotency-Key couldn't be checked, so nothing was done. Send the request again with the same key. |
bot_check_failed | 403 | Cadreen couldn't check that you're a person. Try again. |
first_look_unavailable | 503 | Cadreen couldn't check that you're a person (424), or couldn't start or make your first look (503). Your plan is saved. Try again. |
route_not_found | 404 | There's nothing at this address. Check the path (and the /api/v1 prefix) against the API reference. |
Sign-in and keys
| Code | HTTP | What happened, and what to do |
|---|---|---|
missing_authorization_header | 401 | No Authorization header provided. Send Authorization: Bearer <your key>. |
invalid_authorization_header_format | 401 | The Authorization header must be Bearer <your key>. |
a2a_credential_not_accepted | 401 | This is an outside agent's connection credential (sk_a2a_...): it works only on /a2a/v1. Use an API key (sk_cadreen_...) for the rest of the API. |
invalid_api_key | 401 | The key is not valid. Check you copied all of it. |
api_key_expired | 401 | The key has expired. Create a new one. |
api_key_revoked | 401 | The key was revoked, or replaced when it was rotated. Use the new key. |
api_key_check_unavailable | 503 | This key couldn't be checked, so nothing ran. Try again. |
scope_required | 403 | This API key needs a scope it doesn't have. Changing rules needs the policies.write scope; an admin gives it when creating the key. The message names the scope. |
api_key_write_required | 403 | This API key doesn't include write permission, so it can only read: GET and HEAD (except the lookups that run a model and are charged), and the few calls that only look something up (searches, rule checks, routing dry runs, MCP). Nothing was changed or charged. Use a key with write permission to change anything. |
api_key_read_required | 403 | This API key lists permissions but none of them is read or above, so it can't read: every GET, every HEAD and every lookup (searches, rule checks, routing dry runs, MCP) is refused, including the GETs that run a model and are charged. Nothing was changed. Use a key that lists read (or write), or one that lists nothing. |
api_key_permissions_unreadable | 403 | This API key's stored permissions can't be read, so every call is refused, a GET or a HEAD included. Create a new key. |
person_required | 403 | This needs a person signed in: API keys can't. Some routes also need a workspace admin or the owner; the message says which. |
admin_required | 403 | Only a workspace admin or the owner can do this. |
unknown_scope | 400 | A new key asked for a scope that doesn't exist. The scopes are policies.write, routing.setup, connections.write, support.read and support.write. |
api_key_permissions_unavailable | 503 | This API key's permissions couldn't be checked, so nothing changed. Try again. |
actor_required | 401 | The request isn't signed in as a person or an API key, so Cadreen can't record who made the change. Sign in or send a key, then try again. Nothing was saved. |
ambiguous_principal | 400 | The request is signed in as a person and as an API key at once, so Cadreen can't tell who is asking. Send only one of them. |
auth_required | 401 | This needs a person signed in, not an API key. Sign in and try again. |
principal_required | 403 | Deploying needs an API key or a signed-in person. Sign in or send a key, then try again. Nothing was deployed. |
cannot_rotate_revoked_key | 400 | A revoked key can't be rotated. Create a new key instead. |
key_already_rotating | 409 | This key is already being rotated. Wait for that rotation to finish, then look at the key again. |
scope_not_for_relay_keyscope_not_for_events_key | 400 | A relay key or an events key has a fixed job and takes no scopes. Leave scopes out, or create a standard key if you need scopes. |
unknown_key_kind | 400 | kind must be standard, relay or events. |
workspace_keys_in_use | 409 | A connection still uses one of this workspace's keys. Remove that connection first, then delete the workspace. Nothing was deleted. |
invalid_token | 401 | The token or signature on this request wasn't accepted. For a sign-in token, sign in again. For a webhook, the signature didn't verify, so nothing was applied. |
missing_tenant | 401 | The request isn't tied to an organization. Sign in again, or use a key that belongs to one. (A route that takes tenantId in the request answers 400 when it is missing.) |
sidecar_key_required | 403 | Only a Relay sidecar uses this route, with its relay key or events key. Call it with one of those. |
person_or_standard_key_required | 403 | A Relay sidecar's key can't do this. Ask with a person's sign-in or a workspace's standard key. Nothing was recorded. |
sidecar_relay_key_required | 403 | Only a Relay sidecar's relay key takes part in an action. Call it with the relay key a pairing made. Nothing was recorded. |
user_identity_required | 401 | This needs a signed-in person, and the request has none. Sign in with a user account (for admin actions, one that is an admin of the workspace). |
token_expired | 401 | Your sign-in has expired. Sign in again to carry on; an API key doesn't expire this way. |
fresh_sign_in_required | 403 | This needs a sign-in from the last 5 minutes, and yours is older. Sign in again, then try again. Nothing was changed. |
sign_in_time_missing | 403 | Your sign-in didn't include when you signed in, so Cadreen can't check it is recent. This is a problem in Cadreen; signing in again won't help, so contact support. Nothing was changed. |
guest_sessions_unavailable | 503 | Guest sessions aren't available, so none was started. Try again. |
invalid_token_formattoken_has_no_headerstoken_verification_failedinvalid_token_claimsinvalid_token_issuermissing_token_audienceinvalid_token_audience | 401 | The sign-in token couldn't be read or verified, or it wasn't issued for Cadreen or this API. Sign in again to get a new one. |
invalid_guest_sessionguest_session_requiredguest_access_restricted | 401 | The guest session is missing or isn't valid, or guests can't use this route. Start a new guest session, or sign in. |
machine_token_not_accepted | 401 | This sign-in is for people. A machine uses a Cadreen API key. |
guest_ownership_unavailable | 503 | Cadreen couldn't check this conversation. Try again (see Retry-After). |
guest_session_does_not_own_conversation | 403 | This guest session can't open that conversation. Use the session that started it, or sign in. |
platform_role_spellingplatform_role_with_tenant | 403 | A role on this sign-in isn't a plain role name, or it carries the platform operator role together with a customer's workspace, so nothing was opened. Ask your identity admin to fix the roles on the account. |
events_key_scoperelay_key_scope | 403 | This is an events key or a Relay key, and it can only reach the doors it is for. The message lists them. Use a workspace key for anything else. |
missing_authorizationinvalid_authorization | 401 | The Authorization header is missing or isn't Bearer <token>. Send your API key as a Bearer token. |
email_not_verified | 403 | Verify your email address first: open the link in the email sent when you signed up, then sign in again. If you were invited, verifying is how your invite is found. |
sign_in_required | 401 | Sign in to use Learn Anything. |
raise_not_confirmed | 409 | That is higher than this workspace's ceiling now, so it would raise it. To raise it, say so (raise: true). Nothing was changed. |
read_back_mismatch | 409 | Read the sentence back first: it says what will be saved. Nothing was changed. |
signin_ceiling_unavailable | 503 | The sign-in rule can't be read. Try again. |
Workspaces and people
| Code | HTTP | What happened, and what to do |
|---|---|---|
admin_required | 403 | Only an admin or the owner of this workspace can do this, and some decisions are for admins only because they move money or change what the workspace allows. Ask an admin to decide it. Nothing changed. |
workspace_admin_required | 403 | Only an admin or owner of this workspace can do this. Ask one of them. Nothing changed. |
demo_workspace_only | 403 | Demo work is only added to the demo workspace, never to yours. Nothing was added. |
federation_agents_not_joined | 403 | The two workspaces are federated, but these two agents aren't joined in the link. Only the workspace that opened the link joins agents in it: join them from there, then try again. |
federation_changed | 409 | This connection changed before your change could be made. Reload to see its state. Nothing was changed. |
federation_not_active | 403 | The connection between these workspaces isn't in force, so this isn't allowed. The message says its state and who can change it. |
federation_not_suspended | 409 | This connection changed before it could be turned back on. Reload to see its state. |
federation_revoked | 409 | This connection was ended, so what it shares can't be changed. Ask the other workspace again to connect. Nothing was changed. |
invalid_category | 400 | Choose one of approvals, code, devices or other for category, or leave it out. |
invalid_workspace | 400 | The workspace in this request isn't a valid id. Send the workspace id as it is listed. |
message_already_ended | 409 | This message is already over (the sender cancelled it, or it was answered), so it can't be answered here. |
message_awaiting_approval | 409 | This message waits for an admin's decision in Decisions, so it can't be answered here. Approve or reject it there first. |
message_rejected | 409 | An admin rejected this message, so it is never answered. |
negotiation_changed | 409 | This negotiation changed before your change could be made. Reload to see its state. Nothing was changed. |
permission_denied | 403 | This connection between workspaces doesn't allow capability sharing (agent pairing). Ask the workspace that set it up to allow it. |
sample_busy | 409 | Someone is changing this workspace's sample. Nothing was changed. Try again. |
sample_not_clearedsample_not_madesample_unavailable | 503 | Cadreen couldn't make or clear the sample. Try again. |
sample_not_found | 404 | This workspace has no sample. |
sample_not_heldsample_rule_id_taken | 409 | Your workspace's own rules stand where the sample's starter rule would go, so no sample was made. Nothing was changed. |
sender_removed | 409 | The agent that opened this negotiation no longer exists, so it can't be countered. Accept or reject it instead. |
settings_error | 500 | Cadreen couldn't read or change the workspace setting (or changed it but couldn't read it back, so check it before trying again). Try again. If it keeps failing, contact support. |
suspended_by_other_workspace | 403 | The other workspace paused this connection, so only it can turn it back on. Ask them. |
suspender_unknown | 503 | Cadreen couldn't check who paused this connection. Try again. |
workspace_membership_required | 403 | You aren't a member of this workspace. Ask one of its admins to add you, or switch to a workspace you belong to. |
person_required | 403 | Only a person signed in can do this, because it records who did it. An API key can't. Sign in and do it from the dashboard, or ask a person to. |
workspace_not_found | 404 | That workspace wasn't found for your account. List your workspaces and use one of those. |
workspace_unavailable | 503 | Cadreen couldn't read this workspace. Try again. |
cannot_delete_default_workspace | 409 | Your organization's default workspace stands for the organization, so it can't be deleted. Nothing was deleted. Delete another workspace, or choose a different default first. |
cannot_delete_last_workspace | 409 | You must keep at least one workspace, so the last one can't be deleted. Create another workspace first if you want this one gone. |
capability_score_not_settable | 400 | capability_score isn't something a caller can set. Leave it out and send the rest again. Nothing was changed. |
confirm_name_requiredconfirm_name_mismatch | 400 | Deleting a workspace can't be undone, so the request must carry confirm_name set to the workspace's exact name. It was missing or didn't match. Nothing was deleted. |
confirmation_required | 400 | This step can't be undone or has real consequences, so it needs an explicit confirmation in the body (for example {"confirm": true}). Send it to go ahead. Nothing was changed. |
corrupted_assessmentinvalid_plan_data | 500 | What was saved earlier (an assessment or a plan) couldn't be read back. Your request didn't cause it. Try again; if it keeps failing, contact support. |
default_workspace_changed | 409 | Your organization's default workspace changed while you were choosing. Look at it again and choose again. Nothing was changed. |
default_workspace_protecteddefault_workspace_slug_fixeddefault_workspace_must_stay_active | 400 | Your organization's default workspace stands for the organization: it keeps its slug and must stay active. Its name can change. Nothing was changed. |
default_workspace_owner_requireddefault_workspace_not_first | 403 | Only the owner of your organization's default workspace (or of its first workspace, when none is chosen) can choose the default. Cadreen support can too. Ask them, or have them make the change. Nothing was changed. |
default_workspace_slug_reserved | 400 | The slug default is reserved for the organization's default workspace. Choose another slug. Nothing was created or changed. |
first_workspace_is_default | 400 | Your organization's first workspace is its default workspace, and its slug is default. Leave the slug out, or use that one. |
name_and_slug_required | 400 | A workspace needs a name. Send one and try again. The slug is optional: it is made from the name. |
failed_to_serialize | 500 | Cadreen couldn't prepare what you sent for saving, so the assessment wasn't updated. Try again; if it keeps failing, contact support. |
invalid_workspace_status | 400 | A workspace's status is active, suspended or archived. Send one of them. Nothing was changed. |
membership_not_ended | 409 | Deleting this workspace would leave someone in your organization with no workspace, and Cadreen couldn't end that. Delete it as a person who owns it. Nothing was deleted. |
tenant_admin_required | 403 | Only an owner or admin of your organization's default workspace can create a workspace. Ask one of them. Nothing was created. |
workspace_busy | 503 | Someone else is changing this workspace's people at the same moment, so the delete was undone whole. Wait the Retry-After seconds and try again. Nothing was deleted. |
workspace_not_active | 409 | Only a workspace that is switched on can be the default. Switch it on first. Nothing was changed. |
workspace_slug_invalid | 400 | A workspace slug is lower-case letters a-z and numbers 0-9 with single dashes between them, at most 64 characters, and can't look like an id (a UUID). Fix the slug, or when making a workspace leave it out and one is made from the name. Nothing was created or changed. |
workspace_slug_not_derivable | 400 | The workspace's name has no letters a-z or numbers to make a web name from, and no slug was sent. Send a slug of letters, numbers and dashes, or a name that has some. Nothing was created. |
workspace_slug_taken | 409 | A workspace with this slug already exists in your organization. Choose another slug. Nothing was changed. |
notification_prefs_save_failed | 500 | Your notification settings couldn't be saved. Try again; if it keeps failing, contact support. |
invalid_preference | 400 | A notification setting must be true or false. The answer names the field. Nothing was saved. |
unknown_preference | 400 | There is no notification setting with that name. The answer lists the settings you can use in allowed. |
invalid_tenant | 400 | The organization id isn't a valid id, or the organization couldn't be read. Send the organization's id as it appears in your account. |
missing_workspace | 400 | Select a workspace: send it in the X-Workspace-ID header, or use a workspace API key, which already names one. |
workspace_mismatch | 400 | The workspace_id in the body isn't the workspace selected for this request. Remove it, or send the same workspace. |
admin_role_requiredworkspace_role_forbiddenplatform_admin_requiredplatform_operator_required | 403 | Your role isn't allowed to do this: it needs a workspace admin or the owner (or a member, to run routines), or a platform operator. Ask someone with that role. Nothing was changed. |
membership_unavailable | 503 | Your role in this workspace couldn't be checked, so nothing was changed. Try again. |
notifications_unavailable | 503 | Notifications aren't available, or yours couldn't be read. Try again. |
notification_not_found | 404 | No notification has this id for you. List your notifications to find the one you mean. |
invalid_endpoint | 400 | The push endpoint points somewhere Cadreen won't send to (a private, internal or reserved address). Use the endpoint your browser gave you. |
save_subscription_failedremove_subscription_failed | 500 | The push subscription couldn't be saved or removed because of a problem in Cadreen. Try again. If it keeps failing, contact support. |
missing_endpoint | 400 | The endpoint field is missing. Send the subscription's endpoint. |
draft_id_requiredinvalid_draft_id | 400 | The onboarding draft's id is missing or isn't a valid id. Take it from the draft's own answer. |
failed_to_get_preferencesfailed_to_update_preferences | 500 | Your preferences couldn't be read or updated because of a problem in Cadreen. Try again. If it keeps failing, contact support. |
invalid_time_format | 400 | The time format must be 12h or 24h. Nothing was changed. |
tenant_deletedtenant_not_deletedtenant_purged | 409 | The organization isn't in the right state for this: it is already deleted (and can't be changed until restored), it isn't deleted (so there is nothing to restore), or its data was removed for good. Nothing was changed. |
own_tenantplatform_tenant | 409 | This organization can't be deleted: it is the one this request acts in, or the platform's own. Deleting it would lock people out. Nothing was changed. |
tenant_busy | 503 | This organization is busy with another change. Nothing was changed. Try again. |
tenant_holds_fundstenant_payment_stucktenant_payment_in_progress | 409 | The organization still holds or is owed money, or has a payment in flight or stuck, so it can't be deleted. The message says which. Settle it (or wait for the payment to finish), then try again. |
funds_check_unavailable | 503 | Cadreen can't check agent payments for money in flight, so it can't delete organizations. Nothing was changed. Try again. |
onboarding_unavailable | 503 | The onboarding answers can't be read or saved. Try again. |
onboarding_too_large | 413 | The answers are too large to save. Save them without the guest check. |
invalid_onboarding | 400 | An onboarding answer isn't valid. The message says which. Fix it and save again. |
not_a_member | 403 | You aren't a member of this workspace. Ask an admin to add you, or use a workspace you belong to. |
invites_unavailable | 424 | Your invitations couldn't be checked. Try again. |
invite_to_accept | 409 | You were invited to an organization and haven't joined it, so nothing was set up for you. Open the invite link from your email and accept it. |
agent_change_not_allowed | 403 | Only the person who made this agent, or a workspace admin, can change it. Ask them, or ask an admin. |
member_name_unavailable | 424 | Your name couldn't be saved, so nothing was changed. Try again. |
owner_required | 403 | Only the workspace owner can do this. Ask the owner, or have ownership transferred to you. |
role_lookup_failed | 503 | Your membership couldn't be loaded, so nothing was changed. Try again. |
invalid_role | 400 | A role must be owner, admin or member. Nothing was changed. |
last_owner | 409 | This is the workspace's only owner. Transfer ownership to someone first. Nothing was changed. |
transfer_to_self | 400 | You already own this workspace. Choose someone else to transfer it to. |
invalid_workspaces | 400 | Name the workspaces (workspace_ids, all valid workspace ids), or choose all of them, not both. Nothing was sent. |
too_many_workspaces | 400 | An invite can name only so many workspaces; the message gives the number. Name the ones you want, or send the rest in a second invite. |
invite_failedrevoke_failedaccept_faileddecline_failed | 500 | The invite couldn't be created, revoked, accepted or turned down because of a problem in Cadreen. Nothing was sent or changed (for a revoke, check the invite's state). Try again. If it keeps failing, contact support. |
already_memberalready_in_another_organization | 409 | This person is already on the team of the workspace (or every workspace you chose), or the account already belongs to another organization (one account belongs to one organization). Nothing was sent. |
invite_pendinginvite_not_pending | 409 | This person already has an invite waiting (revoke it to send a new one), or the invite was already accepted or revoked. Nothing was sent. |
invite_not_found | 404 | No invite was found for your email address. Check you're signed in with the address that was invited. |
invite_email_mismatch | 403 | This invite is for a different email address. Sign in with that address to accept it. |
invite_expiredinvite_revokedinvite_used | 410 | This invite has expired, was cancelled, or has already been used. Ask the admin who invited you for a new one. |
organization_deletedorganization_unknown | 403 | The organization this connection belongs to is deleted or isn't known, so nothing was done. Contact the organization's owner or support. |
your_data_unavailable | 503 | What Cadreen holds about you can't be shown. Nothing was changed. Try again. |
deletion_check_unavailable | 424 | Whether this organization can be deleted couldn't be checked, and nothing was changed. Try again. (A 409 with this code means this is a problem in Cadreen: contact support.) |
invalid_terms_version | 400 | The terms version must be a date written YYYY-MM-DD, like 2026-11-01. Nothing was recorded. |
terms_not_accepted | 403 | The account hasn't accepted the terms, so nothing was started. Accept them (error.details.accept_path says where), then send it again. |
terms_unreadable | 503 | Whether the terms were accepted couldn't be checked, so nothing was started. Try again. |
holds_unavailable | 503 | What this visit holds can't be shown. Try again. |
holds_not_removed | 500 | Not all of what this visit holds could be removed. What is left is still there and will be tried again; you can also ask again now. |
Models and answers
| Code | HTTP | What happened, and what to do |
|---|---|---|
intelligence_invalid_id | 400 | The intelligence trace id isn't a valid id. Take it from the list of traces. |
inference_error | 500 | The model couldn't answer this, and the failure wasn't one Cadreen recognises. Try again; if it keeps failing, contact support. |
billing_surface_missing | 500 | This route couldn't tell which product the request is for, so it didn't start a conversation. That is a problem in Cadreen, not a mistake in your request. Try again; if it keeps failing, contact support. |
conflicting_end_user | 400 | The request names the end user twice, as user and as user_id, with different values. Send it once, or make the two the same. |
conversation_surface_mismatch | 409 | That conversation belongs to the other product, so it can't continue here. Leave conversation_id out to start a new conversation here. |
deploy_request_not_sent | 503 | Cadreen couldn't pass your request to the team, so nothing was sent. Try again. |
invalid_memory | 400 | The memory header must be sent once, as on or off, and must agree with the memory field. Send one of them, or make the two match. |
invalid_mode | 400 | mode must be one of auto, chat or execution. |
invalid_user | 400 | user must be valid UTF-8 and at most the allowed length (the message says how many characters). Send a shorter one. |
planner_reply_unreadable | 502 | The planner's answer wasn't a plan Cadreen could read, so nothing was saved. Try again. |
planner_unavailable | 503 | No plan was made, so nothing was saved: either no model is set up to plan a system, or the planner couldn't answer. Try again; if it keeps failing, contact support. |
invalid_audio_fileempty_audio_file | 400 | The request has no audio file, or the file is empty. Send the recording in the audio form field. |
no_speech_heard | 422 | The recording was read, and nothing was said in it. Record again, a little closer to the microphone, and send it in the audio form field. |
failed_to_read_audio_filetranscription_failed | 500 | The audio couldn't be read or turned into text because of a problem in Cadreen. Try again. If it keeps failing, contact support. |
model_orchestrator_unavailablemodel_client_unavailablerouting_store_unavailablecredentials_store_unavailablemodel_catalog_unavailable | 503 | This part of the model settings (the model chooser, its client, the routing rules, the key store or the model list) isn't available for your workspace, so nothing was read or changed. Trying again won't help; contact support. |
invalid_thinking_tokensinvalid_thinking_effortinvalid_daily_spend_capinvalid_system_prompt | 400 | A setting for a model job is out of range: its thinking allowance, thinking effort, daily spend cap or instructions. The message names the job and the allowed range. Nothing was changed. |
missing_tenant_id | 400 | The tenant_id query parameter is missing. Send the organization you mean. |
invalid_credential_idmissing_credential_id | 400 | The key's id is missing or isn't a valid id. Take it from the list of keys. |
credential_in_use | 409 | Something still uses this key (a model setting or a connection), so it wasn't deleted. Switch those to another key first. |
missing_categorymissing_handlermissing_rule_id | 400 | An error-routing rule is missing its Category, its PrimaryHandler or its rule id. Send the missing one. This route is deprecated; use the error-layer rules route instead. |
key_test_failed | 422 | The provider didn't accept the test call made with this key. The answer says whether the key is still on. Check the key with the provider, then test it again. |
model_required | 400 | The request didn't name the model you were shown for the test call, so no test call was made. Send the model's name. |
test_call_unavailable | 409 | No model is available for a test call on this key, so nothing was sent. The answer carries the reason and the current quote. Look at it, then try again. |
test_call_changed | 409 | The model or its price changed since you looked, so nothing was sent. The answer carries the new quote. Look at it, then test again if you still want to. |
another_key_turned_on | 409 | Another key for this provider was turned on at the same moment. Reload to see which one is on. |
model_keys_are_platform_only | 400 | Model keys belong to the platform: model calls never send a workspace's own key. Customers bring their own keys through the model gateway. |
model_not_enabled | 404 | This model isn't enabled, so there is nothing to remove. List the enabled models to check. |
unknown_provider | 404 | No model list is read for this provider, or there is no such payment provider. Use a provider the list of providers shows. |
no_key | 422 | No key is on for this provider, so its list couldn't be refreshed. Add a key, then refresh. |
refresh_in_progress | 409 | This model list is already being refreshed. Try again. |
model_not_listed | 404 | The provider's list has no such model. Refresh the list, then try again. |
model_in_use | 409 | Some jobs use this model, and the message names them. Choose another model for them first, then try again. |
source_required | 400 | Say where the price comes from, for example the provider's pricing page and the date. Nothing was saved. |
invalid_price | 400 | A price isn't a valid non-negative number. Give prices in US dollars per million tokens, for example "3" and "15". Nothing was saved. |
no_such_openrouter_model | 422 | The model catalogue has no priced model with that id. Refresh the catalogue, or pick another model. |
own_list_priced | 409 | This model's own provider list states its price, so it is priced from that, not from the model catalogue. |
added_by_hand | 422 | This provider can't list its deployments, so there is no list to refresh. Add each deployment by the name it has at the provider. |
listed_provider | 422 | This provider's models come from its own list, so none is added or removed by hand. Refresh its list instead. |
invalid_deployment_name | 400 | Give the deployment's name as the provider has it: up to 64 letters, digits, dots, dashes or underscores, starting with a letter or digit. Nothing was added. |
unknown_capability | 400 | A capability isn't one Cadreen knows. The message lists the ones it does. Nothing was added. |
model_enabled | 409 | This deployment is on, so it wasn't removed. Turn it off first, then remove it. |
add_failedremove_failed | 500 | The deployment couldn't be added or removed, so nothing changed. Try again. |
endpoint_missingendpoint_unreadableendpoint_not_httpsendpoint_has_credentialsendpoint_has_queryendpoint_has_portendpoint_not_azureendpoint_path | 400 | This key is saved with the address of its resource, and this one can't be used: the code says why. Give the address from the provider's portal, starting with https://. Nothing was saved. |
invalid_message_id | 400 | The message id isn't a valid id. Take it from the conversation's messages. |
explain_unavailable | 503 | Explanations aren't available for your workspace. Trying again won't help; contact support. |
messages_unavailable | 500 | The conversation couldn't be loaded. Try again. If it keeps failing, contact support. |
message_not_found | 404 | No message with this id was found there. List the messages to find the one you mean. Nothing was changed. |
no_classification | 404 | There is nothing to explain: no decision was recorded for this message. Ask about a message the assistant answered. |
explanation_failed | 502 | The explanation couldn't be written. Try again. |
token_tracking_unavailable | 503 | Token usage isn't tracked for your workspace, so there is no count to read. Trying again won't help; contact support. |
memory_not_saved | 500 | The conversation's memory setting wasn't saved. Try again. If it keeps failing, contact support. (A 503 means conversations aren't stored for your workspace, so the setting can't be saved at all.) |
invalid_after | 400 | after must be a message id. Send the id of the last message you have, or leave it out. |
agent_not_allowed | 400 | This chat is answered by Cadreen's built-in assistant, so it can't be sent to an agent. Send the message without an agent. |
agent_not_found | 404 | No agent with this id is in this workspace. List the agents to find the one you mean. |
agent_check_unavailable | 409 | Agents can't be checked here, so the request wasn't sent to the agent you named and nothing ran. Send it without an agent. |
agent_check_failed | 500 | Cadreen couldn't check the agent you named, so nothing was sent to it. Try again. If it keeps failing, contact support. |
add_message_failed | 500 | The message couldn't be saved properly because of a problem in Cadreen. Try again. If it keeps failing, contact support. |
authorization_failed | 500 | Cadreen couldn't check whether you can see this conversation. Try again. If it keeps failing, contact support. |
gateway_error | 502 | The model gateway couldn't list its models or find your gateway customer, so nothing was returned. Try again. If it keeps failing, contact support. |
gateway_unrecorded | 503 | The model gateway can't record calls, so no call was made. Trying again won't change that: contact support and say this happened. |
model_request_refused | 400 | The model you named refused this request, so nothing was done. Change the request (its length, its tools or its parameters) and send it again. |
gateway_not_configured | 404 | The model gateway isn't available for your workspace, so every gateway route answers this. Contact support to turn it on. |
gateway_key_unreadable | 503 | The model gateway's key couldn't be read, so nothing was sent or changed. It is not known to be off. Try again. |
model_not_in_catalogue | 200 | Not an error. Your chat named a model the gateway has no model for, so Cadreen answered, and the response's model says cadreen. The X-Cadreen-Model-Fallback header and the cadreen.model_fallback object say so. GET /models lists the models you can name. |
model_unavailable_not_configured | 200 | Not an error. The model you named can't be reached on this workspace (the gateway isn't set up, or its key can't be used), so Cadreen answered. Nothing was sent to that model and nothing was charged for it. To get the typed error back instead, send cadreen.model_fallback false. |
model_unavailable_credits | 200 | Not an error. The model you named is out of credit, so Cadreen answered, at Cadreen's rates. Nothing was charged for the model you named. To get the typed error back instead, send cadreen.model_fallback false. |
model_unavailable_rate_limited | 200 | Not an error. The model you named is busy, so Cadreen answered, at Cadreen's rates. To get the typed error back instead, send cadreen.model_fallback false. |
model_unavailable_upstream | 200 | Not an error. The model you named didn't respond (the gateway or the model failed, timed out, or couldn't be reached), so Cadreen answered, at Cadreen's rates. This only happens before any of the answer was sent or any tool ran. To get the typed error back instead, send cadreen.model_fallback false. |
invalid_cadreen_settings | 400 | The request's "cadreen" object, or a key's settings, named something that isn't a switch or wasn't true or false. The switches are named_model, model_fallback, governance, server_tools, memory, conversations, operations and classify. Nothing was made or saved. |
setting_locked | 400 | The request asked to change a switch its key keeps locked, or to turn governance off where the workspace keeps the rules on for every key. Nothing was made. Leave that switch out, or ask a workspace admin to change the key or the workspace. |
conflicting_settings | 400 | Memory was asked both on and off (cadreen.memory, the memory field or the X-Cadreen-Memory header). Ask it once. Nothing was made. |
switch_not_here | 400 | POST /responses takes only named_model and model_fallback in "cadreen": the rules check every tool call there, and memory and conversations belong to chat completions. Nothing was run. Leave the other switches out. |
server_tools_need_governance | 400 | Cadreen's own tools never run without the rules: turn governance on, or turn server_tools off too. Nothing was made or saved. |
turn_not_recorded | 503 | A turn answered by a model you named is recorded as an operation, and this one couldn't be, so it wasn't answered and nothing was sent to the model. Try again; to answer without a record, set cadreen.operations to false. |
key_settings_unreadable | 500 | This key's stored settings couldn't be read, so the request was not run rather than run without them. Ask a workspace admin to set the key's settings again. |
workspace_settings_unreadable | 503 | This workspace's chat settings couldn't be read, so the request was not run rather than run without them. Try again. |
failed_to_save_settings | 500 | The key's or the workspace's settings couldn't be saved. Nothing changed. Try again. |
not_configured | 503 | Usage tracking isn't available for your workspace, so there is no usage to read. Trying again won't help; contact support. |
missing_content | 400 | The message has no content. Send some text in content. |
guest_conversation_lookup_failedguest_limit_check_failedcreate_conversation_failedguest_conversation_save_failed | 500 | The guest conversation couldn't be looked up, checked, created or saved. Try again. If it keeps failing, contact support. |
already_claimed | 409 | This conversation was already saved to another account, so it can't be saved again. |
plan_in_progress | 503 | Your plan is still being made. It can be saved to your account once it is ready. Nothing was changed: try again (wait the seconds in Retry-After). |
guest_conversation_unavailable | 409 | This conversation couldn't be moved to your account. It may have expired. Start a new one. |
guest_conversation_claim_failed | 500 | This conversation couldn't be moved to your account. Nothing changed. Try again. If it keeps failing, contact support. |
claim_files_pending | 503 | Your conversation was saved, but its files couldn't be moved to your account. Nothing is lost: try again (wait the seconds in Retry-After). |
prompt_too_long | 400 | The prompt is longer than 4000 characters. Shorten it and try again. |
image_generation_unavailable | 501 | Image generation isn't available. Nothing was made or charged. |
answer_unavailablequestion_unavailable | 424 | The AI service couldn't write the answer (or the clarifying questions), and nothing was made up in its place. Try again. If no model is set up at all, the answer is 503 model_provider_required instead. |
invalid_agent_id | 400 | agent_id must be the id of one of this workspace's agents. List the agents to find it. |
query_unavailable | 503 | Questions can't be answered. Try again. |
query_failed | 500 | The question couldn't be answered because of a problem in Cadreen. On a stream this arrives as an error event. Try again. If it keeps failing, contact support. |
agent_is_primary | 409 | This is your main agent and the only one that can take work, so it can't be archived or stopped from taking work. Set up another agent first, then change this one. |
create_rule_failedupdate_rule_faileddelete_rule_failedlist_rules_failed | 500 | The error-routing rule couldn't be saved, changed, deleted or listed because of a problem in Cadreen. Try again. If it keeps failing, contact support. |
credential_lookup_failedlist_credentials_failedcreate_credential_failedupdate_credential_faileddelete_credential_failed | 500 | The key couldn't be looked up, listed, saved, updated or deleted because of a problem in Cadreen. Check the key's state before you retry a change. If it keeps failing, contact support. |
generation_failed | 500 | The model didn't answer the test. Check that its provider key works, then try again. |
refresh_failedenable_faileddisable_failedprice_not_savedlink_not_savedcost_vs_charge_unreadablemodel_catalog_unreadable | 500 | The model list or its prices couldn't be read, refreshed or saved because of a problem in Cadreen, so nothing changed. Try again. If it keeps failing, contact support. |
reload_failed | 500 | The model was enabled or disabled, but Cadreen couldn't reload it, so it may not be in the state you chose. Reload the page to see where it stands; contact support if it isn't. |
image_too_big | 413 | This image is too big to read. The message gives its size and the most that can be read. Send a smaller one. |
contents_error | 500 | The attachment's contents couldn't be read because of a problem in Cadreen. Try again. If it keeps failing, contact support. |
usage_fetch_failedview_state_failedmark_viewed_failedcreate_failedarchive_failedprepare_failed | 500 | The conversation's usage or view state couldn't be read or saved, the conversation couldn't be created or archived, or its next questions couldn't be prepared ahead, because of a problem in Cadreen. Try again. If it keeps failing, contact support. |
decider_provider_not_allowed | 400 | The Decider job can only use a model from the platform's approved list. Choose one of those. Nothing was changed. |
model_lacks_required_capability | 400 | That model isn't marked as able to pick one option from a list, which the Decider job needs. Choose a model that can pick one option from a list. Nothing was changed. |
classifier_for_other_job | 400 | That model only picks one option from a list and writes no text, so it can only do the Decider job. Choose another model for this job. Nothing was changed. |
capability_not_settable | 400 | Picking one option from a list is set by Cadreen for the models that can do it, not by hand. Leave it out. Nothing was changed. |
job_takes_no_instructions | 400 | The Decider job doesn't use written instructions: it is sent each question and its options, and picks one. Leave the instructions out. Nothing was changed. |
blank_system_prompt | 400 | The instructions were sent blank, which would replace the saved ones with Cadreen's standard instructions. To do that on purpose, send clear_system_prompt as true. Nothing was changed. |
Rules and decisions
| Code | HTTP | What happened, and what to do |
|---|---|---|
devices_unavailable | 503 | The workspace's devices can't be read, so nothing was changed or listed. Try again. |
already_on | 409 | This ready-made rule is already on in this workspace. You can turn it off, like any of your rules, on the Rules page. Nothing was changed. |
answer_on_mission_page | 409 | These questions are answered on the mission's page. Nothing was changed. Open the page named in open_path and answer them there. |
approval_and_role | 400 | A rule says who approves with its approval or with its approver role, not both. When you set who approves a rule that already asks for a role, choose that role or a higher one, or name people. Nothing was changed. |
approve_or_reject_only | 400 | A held planning search, or a question whose rule names its approvers, can only be approved or rejected, not answered with a note or another way. Send approve or reject. Nothing was decided. |
decided_in_decisions | 409 | This moves money, so it is decided in Cadreen, where you see everything about it first, not from this link. Nothing was decided. |
decision_claim_failed | 500 | This choice was already recorded, but its outcome couldn't be loaded. Don't submit it again: reload the decision to see what happened. If it keeps failing, contact support. |
decision_claim_unavailable | 424 | Cadreen couldn't check earlier choices on this decision, so nothing was decided. Try again. |
decision_conflict | 409 | Someone has already decided this. Reload the decision to see the answer. |
work_ended | 409 | The work this asked about has ended, so there's nothing to decide. Reload the decision to see how the work ended. Nothing was decided. |
decision_emails_unavailable | 424 | Cadreen couldn't load or save your decision email setting, so nothing was changed. Try again. |
sign_in_email_not_verified | 409 | Your sign-in has no verified email address, so nothing was saved. |
job_emails_unavailable | 503 | Job email settings aren't available, or the change can't be recorded. Nothing changed. Try again. |
devices_need_actions | 400 | A rule that names devices has to say which actions it applies to as well: send applies_to actions with the list of actions. Nothing was changed. |
devices_need_workspace_rule | 400 | Only a rule of one workspace can name devices, because a device belongs to one workspace. Nothing was changed. |
invalid_devices | 400 | Name each device once, by the id your software sends it under, at most 50 of them. Nothing was changed. |
decision_needs_operator | 409 | An earlier choice on this was interrupted before it could be confirmed, so it may or may not have taken effect. Cadreen's team has been told. Ask your workspace admin or Cadreen support; don't submit it again. |
decision_record_repairing | 409 | An earlier choice on this took effect and its record is being repaired. There is nothing for you to do: reload. |
decision_in_progress | 409 | This choice is still being recorded. Wait a moment, then reload the decision. Don't submit it again. |
decision_links_unavailable | 503 | Decision links don't work. Open the decision in Cadreen instead. |
decision_not_found | 404 | No decision with this id exists in this workspace. List the decisions to find the one you mean. |
decision_record_load_faileddecision_records_list_faileddecisions_list_failed | 500 | Cadreen couldn't load the decision or decisions you asked for. Try again. If it keeps failing, contact support. |
decision_records_unavailable | 503 | Decision records can't be saved, so nothing was decided. Try again. |
decision_resolution_failed | 500 | Cadreen couldn't confirm whether your choice was saved. Reload the decision before trying again, so you don't decide it twice. If it keeps failing, contact support. |
decision_source_unavailable | 503 | Cadreen couldn't check your role, so nothing was approved. Try again. |
escalation_invalid_id | 400 | The escalation id isn't a valid id. Take it from the list of escalations. |
escalation_not_pending | 409 | Someone already decided this question. Nothing was changed. Reload to see the answer. |
expected_version_required | 428 | Send expected_version: the version of these rules you read. Making an earlier version active replaces the active rules, so this stops it undoing someone else's save. The error says the current version. Nothing was changed. |
follow_up_not_stuck | 409 | Nothing is stuck on this escalation, so there is nothing to retry. |
follow_up_retry_failed | 500 | Cadreen couldn't retry it. Nothing changed. Try again. If it keeps failing, contact support. |
governance_blocked | 403 | A rule of this workspace blocked this, so it wasn't done. Check your workspace's rules, or ask a workspace admin. |
group_moves_money | 409 | These actions move money, so they are decided one by one. Nothing was approved. Open each decision. |
group_too_small | 400 | A group is two or more items. Open a single item and decide it there, where you can see what it is. Nothing was approved. |
group_too_large | 400 | One approval decides a limited number of items at once, and this group is over it. Approve the oldest ones the message names, then look again. |
held_actions_unavailableheld_commands_unavailableheld_tool_calls_unavailable | 503 | Held actions can't be set up or decided, so nothing was changed. Try again; if it keeps failing, contact support. |
hhp_unavailable | 503 | Handing a question to a person isn't available for your workspace, so the question wasn't answered. Contact support to turn it on. |
invalid_applies_to | 400 | Send applies_to or domain, not both: applies_to sets the domain. |
invalid_effect | 400 | A rule's effect isn't one Cadreen knows. The message names the rule and lists the effects you can use. Nothing was saved. |
invalid_version | 400 | expected_version must be 0 or more. Nothing was changed. |
link_decision_mismatch | 400 | This link was sent for a different decision. Use the link from the message about this decision, or open it in Cadreen. |
link_expired | 410 | This link has expired. You can still decide in Cadreen. |
link_not_found | 404 | This link isn't valid. Open the decision in Cadreen instead. |
link_used | 410 | This link was already used. Each link works once. Open the decision in Cadreen to see what was decided. |
messaging_rule | 409 | This rule checks messages between agents, so it can't be changed here. Change it on the agent's rules. |
money_field | 400 | The rule puts a money limit on a field that isn't the amount. The message says which. Rewrite the rule so it limits the amount. Nothing was saved. |
no_rules_yet | 403 | None of this workspace's rules covers routing, so Cadreen refuses to route. A workspace admin can choose the starter rules (run unless a rule says no) or write a rule for routing. Nothing was sent. |
invalid_limit_amount | 400 | Say an amount over zero: a limit is the amount a run must go over. Nothing was changed. |
invalid_limit_currency | 400 | The currency is a three-letter code, such as USD. Nothing was changed. |
unknown_limit_currency | 400 | Router doesn't know that currency, so a limit in it could never match. Use a currency code Router knows. Nothing was changed. |
invalid_limit_effect | 400 | A limit asks a person (effect needs_a_person). Refusing a run outright isn't something Router limits do. Nothing was changed. |
limit_service_too_long | 400 | The service's name is too long (at most 200 characters). Nothing was changed. |
routing_limit_failed | 500 | The limit couldn't be added: the workspace's rules or services couldn't be read or saved. Nothing was changed. Try again. |
unknown_service | 400 | No service of this workspace has that name, so the limit would never apply. Nothing was changed. Check the spelling against the services of your jobs. |
plan_mission_not_cancelled | 500 | Your choice was saved and this plan will not run. Its mission could not be closed; Cadreen keeps trying to close it, and nothing can start it meanwhile. Do not answer it again. |
plan_not_waiting | 409 | This plan is no longer waiting for an answer: it was declined, it ran out of time, or it already started. Nothing more was started. Open the mission to see what happened to it. |
plan_runs_unavailable | 503 | Plans can't be started. Nothing was changed. |
plan_wait_expired | 409 | This plan ran out of time before anyone approved it, so it did not run and its mission ends cancelled. Nothing was started. Start the work again if you still want it. |
platform_decides | 403 | The platform decides this, not your workspace, until it has verified the currency. Nothing was changed. |
rule_compiler_unavailable | 503 | Rules in plain words aren't available. You can still add the rule directly. |
rule_is_company_wide | 409 | This rule is set for your whole company, so it can't be changed on the agent. Change it on the Rules page. |
rule_matches_everything | 422 | This rule would also match requests that carry none of its fields, so it could take most of this group's work. Nothing was saved. If that is what you mean, send it again with confirm_catch_all: true. |
rules_exist | 409 | This workspace already has rules, so routing already runs unless one of them says no. Nothing was changed. |
rules_unavailable | 503 | Your rules can't be read, so Cadreen can't say whether Router has any. Nothing was changed. Try again. |
suggestion_refused_by_rules | 409 | Your rules don't allow this, so nothing was started. Ask a workspace admin about the rule. |
template_install_pending | 409 | This was set up by a template that waits for a workspace admin's decision. It turns on, or is removed, only with that decision: open it in Decisions. Nothing changed. |
unknown_device | 400 | A device named in the rule isn't one of this workspace's devices: registered here, or one your software has sent commands to or heard from. GET /policies/devices lists the recent ones. Nothing was changed. |
version_conflict | 409 | Someone saved a newer version after you read it, so your change would undo theirs and was not saved. Read the current version, make your change on it and send again. |
approval_changed | 409 | What you approved isn't the request as it stands now, so nothing was decided. Reload to see what it is now, then decide again. |
approval_digest_required | 409 | This approval didn't say what it read, so nothing was decided. Read the decision, show the person its approval, and send approval.digest as approval_digest with the same choice. |
action_kind_needed | 400 | One of those names is both a tool Cadreen knows and an action your software sends. Say which you mean: send its kind, software_action or tool. |
invalid_action_kinds | 400 | Each action's kind has to be software_action or tool, one for each action you list. |
invalid_days | 400 | Days must be a whole number in the range the message gives. |
needs_clarification | 400 | Cadreen needs one answer before it can write this rule: the message is its question, in fixed plain words. details holds the question, the connected tools to choose from (options, each with an id and a label; more is true when the list was cut) and, when none is connected, next_step connect_service. Send the ids you choose as actions, with applies_to actions, and try again, or connect a service first. Nothing was saved. |
policy_changed | 409 | This draft was turned on while you were deleting it. Reload your rules, then delete it from the rules that are on. |
needs_confirmation | 409 | This change would make a live rule cover more than it does now. Send confirm_wider: true to make the change. |
asks_less | 409 | This new amount would make the rule ask a person about fewer amounts than it does now (a higher "over", or a lower "under"), so it lets through what it held. Nothing was changed. Send confirm_wider: true with the amount to make the change. |
no_amount_limit | 400 | This rule has no one amount to change: it has no money limit, more than one, or a list of amounts. Nothing was changed. Leave amount out, or write the rule again. |
policy_not_read | 409 | This rule's words were never turned into a rule, so turned on it would ask about everything it applies to. Nothing was turned on. Write it again, or choose what it applies to and send it again. |
rule_too_long | 400 | That rule is too long to read as one rule (over 1,500 characters). Make it shorter, or split it into more than one rule. Nothing was saved. |
observed_actions_unavailable | 503 | Cadreen can't see what your software has been doing, so it can't make a rule about it. Nothing was saved. Try again. |
preview_unavailable | 503 | Cadreen can't look at what your software has been doing, so it can't show what this rule would have done. Nothing was changed. |
rule_not_found | 404 | There is no offer to dismiss for that rule. Nothing was changed. |
rule_offer_not_saved | 503 | That couldn't be saved. Try again. |
rule_offers_unavailable | 503 | This can't be saved. Nothing was changed. |
workspace_rule | 409 | This rule belongs to one workspace, so it names that workspace's own people. Use the workspace's people list instead. Only a rule of your whole organization has the organization's people to choose from. |
invalid_risk_level | 400 | risk_level must be critical, high, medium or low. |
policy_store_unavailable | 503 | Rules can't be read or changed. Try again. |
permit_invalidpermit_key_unknown | 403 | This isn't a Relay permit Cadreen can accept: it's malformed, or it was signed with a key Cadreen doesn't hold (one from elsewhere, or a rotated key). Don't act. Fetch the ask again for a current permit. |
permit_already_usedpermit_supersededarguments_mismatchnot_permitted | 409 | This permit can't authorize the action now: it was already used, it was replaced by a newer one, the arguments aren't the approved ones, or the ask is no longer permitted. Don't act. Fetch the ask again, or ask again. |
permit_expired | 410 | This permit expired before it was used. Don't act; ask again. |
outcome_already_reportedquestion_answered | 409 | An outcome is already recorded for this ask (yours, or a person's answer to whether it happened), and your report wasn't kept. That record stands. |
relay_ask_failedrelay_answer_unreadablerelay_evidence_unreadableprincipal_ambiguous | 500 | The ask couldn't be recorded or answered. Don't act on it. Ask again (send the same Idempotency-Key to get the answer to an ask that was already recorded); if it keeps failing, contact support. |
relay_hold_not_recorded | 503 | This needs a person's approval, but the request for it couldn't be saved (your rules may be unreadable). Nothing was recorded; don't act. Ask again. |
relay_rules_unavailable | 503 | Relay can't read what decides this request (your rules, or whether this kind may go ahead without asking), so it can't tell whether it may run. Nothing was recorded and nothing ran, and nobody was asked to approve it. Send it again with the same Idempotency-Key after Retry-After. |
relay_runner_missing | 503 | Relay isn't set up to run events here. Nothing was recorded and nothing ran. Sending it again doesn't help; contact support. |
decide_unavailable | 503 | Cadreen can't answer. Treat the answer as unknown, not as a yes, and ask again. |
decide_questions_unavailable | 503 | Your questions can't be read or changed. Nothing was changed. Try again. |
question_not_foundanswer_not_found | 404 | This workspace has no question (or no answer) with that key or id, or no such version of the question. Check the key, or the workspace your key belongs to. |
judge_answer_refused | 409 | A rule of your workspace refuses that answer's action now, so it can't be picked. Pick another answer, or say none of these fits. Nothing was decided. |
question_archived | 410 | This question is archived: it answers nothing and can't be changed. Write a new question with another key. Nothing was recorded. |
action_reserved | 400 | This action name is reserved: Cadreen uses it for its own approvals. Name your action something else. Nothing was recorded. |
idempotency_key_not_used | 400 | A dry run records nothing, so it takes no Idempotency-Key. Remove it, or send the event to the real events route with the key when you mean it. |
manifest_requiredmanifest_outdatedmanifest_unreadable | 409 | There is no usable manifest to check against: the workspace has none approved (an admin drafts one and approves it), the version you named is neither in force nor a draft waiting for review, or it can't be read any more. Nothing was recorded. A route that reads events answers the first case as a 404. |
invalid_evidence | 400 | Evidence must be one JSON object of at most 8 KB. Send it that way. Nothing was recorded. |
receipt_unavailable | 503 | The action is finished, but its receipt can't be read. Nothing changed. Ask again with the same Idempotency-Key, or read the action again. |
held_tool_call_unconfirmed | 500 | Cadreen could not confirm whether your choice on a held action was saved. The action did not run here. Do not submit it again: reload the decision, and contact support if it still shows as waiting. |
held_tool_call_outcome_unrecorded | 500 | Your approval was saved and the action ran, but its outcome could not be saved. Do not submit it again: it would run twice. Cadreen's team has been told and will record what happened. |
governance_resolve_failed | 500 | Cadreen could not confirm whether the rule decision was saved. Do not submit it again. Cadreen's team has been told and will check it. |
escalation_decision_failed | 500 | Cadreen couldn't save your decision on the mission's question, so nothing was resumed. Try again. |
planning_decision_unapplied | 500 | Your choice on a plan was saved, but the mission could not be updated. Do not submit it again: reload the mission. Cadreen's team has been told and will check the mission's status. |
schedule_run_not_started | 500 | Your approval of a scheduled run was saved, but the run could not be started, so it is marked failed. Do not submit it again: use Run now to start it again. Cadreen's team has been told. |
agent_message_not_started | 500 | Your approval was saved, but the agent could not start answering the message. Do not submit it again. Cadreen's team has been told and will check the agents. |
learned_pattern_not_checked | 500 | Your approval of a learned pattern was saved, but Cadreen couldn't confirm that nobody revoked it at the same moment. If it was revoked it may still be in use. Cadreen's team has been told: revoke it again to be sure. |
learned_pattern_not_saved | 500 | Your approval of a learned pattern was saved, but saving it for future work failed. The pattern isn't in use; Cadreen will keep trying, and its team has been told. Do not submit it again. |
retirement_target_failed | 409 | Your approval was recorded, but the procedure it replaces could not be retired. Do not submit the decision again. This is a problem in Cadreen; contact support to finish the retirement. |
learned_procedure_unreadable | 503 | Your approval was recorded, but the suggestion couldn't be read, so nothing was saved from it. Do not submit the decision again. This is a problem in Cadreen; contact support to finish it. |
learned_procedure_has_no_task | 409 | Your approval was recorded, but the suggestion doesn't say what a run should do, so it wasn't saved as a routine. Nothing more to do here: write the routine's task and save it yourself. |
blueprint_not_saved | 503 | Your approval was recorded, but the routine couldn't be saved. Do not submit the decision again. This is a problem in Cadreen; contact support to finish it. |
routine_not_marked_deployed | 503 | Your approval was recorded and the routine was saved, but the suggestion wasn't marked as done. Do not submit the decision again. This is a problem in Cadreen; contact support to finish it. |
governance_task_not_pending | 409 | This decision was already made (a held action, a rule decision or a judge question). Nothing was changed. Reload the decision to see the answer. |
not_your_decision | 403 | This one is waiting for other people: the rule that asked for it names who can answer. Nothing was changed. |
asker_cannot_approve | 403 | You asked for this, so someone else approves it. The rule leaves out whoever asked. Nothing was changed. |
asker_unresolved | 403 | Cadreen couldn't tell who asked for this, and the rule leaves out whoever asked, so nobody can approve it. Nothing was changed. It expires like any request that nobody answers. |
cancel_not_allowed | 403 | Only the person who asked, or an admin or owner of the workspace, can cancel a waiting request. If you are one of the people asked to approve it, decline it instead. Nothing was changed. |
plan_already_decided | 409 | The request ended before it could be cancelled: it was approved and has started, declined, expired, or already cancelled. Reload it to see where it stands. Nothing was changed. |
no_plan | 409 | This request has no approval plan, so there is no plan to cancel here. Someone with the role it needs can decline it. Nothing was changed. |
not_cancellable | 409 | Only a held call can be cancelled: another kind of request is answered with its own choices. Nothing was changed. |
vote_already_cast | 409 | You already answered this. Nothing was changed. |
step_already_decided | 409 | Someone answered this step a moment ago. Nothing else is needed from you. |
held_call_expired | 409 | This request expired before anyone approved it, so it can't be approved. Nothing ran. Ask for it again if you still want it. |
held_call_withdrawn | 409 | This request was withdrawn before anyone decided (its mission ended, or no longer waits for it), so it never ran and never will. Nothing was changed. |
sample_mismatch | 409 | This request's records disagree about whether it is a sample, so it can't be approved. Nothing was changed and nothing ran. Contact support to look at it. |
approval_expired | 409 | The schedule's next time has come, so this question is over and nothing ran. The schedule asks again for that time. |
learned_pattern_unusable | 409 | This pattern can't be used as it was saved, so nothing was changed. You can reject it. |
planning_already_running | 409 | This mission is already under way, so it doesn't need a go-ahead. If a new request came with the choice, it wasn't kept. To stop the mission, cancel it. Nothing was changed. |
planning_not_progressing | 409 | Nothing is working on this mission. If a new request came with the choice, it wasn't kept. Cancel the mission, or retry it. Nothing was changed. |
planning_decision_moot | 409 | The mission has moved on, so this decision is no longer needed. Nothing was saved. Reload to see where the mission stands. |
agent_messages_unavailable | 503 | Agent messages can't be answered. Nothing was changed. Try again. |
governance_store_unavailable | 409 | This kind of decision (a rule decision) can't be made here. Nothing was decided. |
proposal_store_unavailable | 409 | This kind of decision (a suggestion) can't be made here. Nothing was decided. |
planning_unavailable | 503 | Planning can't be started again, so nothing was recorded. Try again. |
planning_decision_not_applied | 503 | Nothing was saved: the mission couldn't take your choice. The decision is still waiting for you. Try again. |
approver_required | 403 | Your role isn't enough for this decision. Two cases: a drafted Relay manifest needs a workspace admin, or the stricter role a rule sets, or the owner while the rules can't be read; and a pick on a judge question needs the role a rule of the workspace now asks for that answer. The sentence names who may. Ask one of them, or pick another answer. Nothing was decided. |
desk_unavailable | 503 | The Desk isn't available, so nothing was shown. Try again. |
purgatory_unavailableproposals_unavailabledeny_list_unavailabletask_store_unavailable | 501 | This part of governance (held actions, proposals, the deny list or tasks) isn't available for your workspace, so nothing was read or changed. Trying again won't help; contact support. |
sample_rule | 409 | The sample's rule governs only the sample: it can't name another action, leave its domain, or become an edge rule. Nothing was saved. Publish your own rule instead. |
routing_starter_shape | 400 | The routing starter bundle was changed in a way it doesn't allow. The message says what shape it must keep. Nothing was saved. |
first_run_hold_reserved | 400 | first_run_hold is Cadreen's own mark for the rule that holds a new service's first live run, so it can't be set in a request. Leave it out. You can switch that rule off or remove it like any rule. Nothing was saved. |
tenant_mismatch | 403 | A bundle of rules can only be published for your own organization. Leave its organization out, or send yours. |
scope_mismatch | 403 | A bundle of rules can only be published for the layer this request addresses. Send it to the layer it is for. |
bundle_not_found | 404 | No active bundle of rules was found for this layer. Publish one first. |
guest_rate_limited | 429 | You've checked a lot of workflows in a short time. Wait the seconds in Retry-After and try again, or sign in to keep going. |
task_required | 400 | Describe the work you want to check in task. |
task_too_long | 413 | The description is too long. The message gives the most characters it can have. Shorten it and try again. |
invalid_amount_unit | 400 | The amount unit isn't one the routing rule takes. The message says what is allowed. Nothing was changed. |
invalid_currency | 400 | A currency is a three-letter code in capitals, like USD. Send one. Nothing was changed. |
invalid_time_zone | 400 | A time zone is a name from the IANA list, spelled exactly, like Africa/Lagos. Send one, or null to read the clock in UTC. Nothing was changed. |
invalid_messaging_rule | 400 | A messaging rule must make at least one check on messages, and can't also be a general rule. Fix the rule and send it again. Nothing was saved. |
invalid_audience | 400 | audience must be public, counterparty, auditor or internal (a proof takes only public or counterparty). Nothing was issued. |
unknown_redaction_class | 400 | One of the details to keep private (withhold) isn't one this receipt has. The answer lists the known ones. Nothing was issued. |
invalid_recipient_reference | 400 | The recipient reference isn't valid, or was given for a link anyone can open (which has no reference of its own). The message says which. Nothing was issued or shared. |
receipt_signing_not_configured | 503 | Signed receipts aren't available for your workspace. Nothing was issued. Contact support to turn them on. The live receipt still works. (The roots file answers 404 for the same reason.) |
receipt_signing_unavailable | 503 | Your workspace's signing key can't be used. Nothing was issued. Try again. |
workspace_not_named | 409 | The workspace has no name, and a receipt carries it. Name the workspace, then issue the receipt again. Nothing was issued. |
receipt_rate_limited | 429 | You've issued a lot of receipts in the last minute, so nothing was issued this time. Wait a minute (see Retry-After) and try again. |
receipt_issue_conflict | 409 | Another receipt for this work was issued at the same moment. Issue again to supersede it. |
receipt_inconsistent | 500 | The receipt couldn't be issued: its records disagree with each other. Nothing was issued, and the team was told. Contact support if it keeps happening. |
proof_not_offered | 409 | A proof isn't offered for this receipt. The message says why. Nothing was shared. |
receipt_roots_unavailablerate_limit_unavailable | 503 | The issuer's public keys, this proof link, or your request limit couldn't be read, so the request wasn't run. Try again (see Retry-After). |
no_receipt | 404 | No receipt matches this link. Check the link, or ask whoever sent it for a new one. |
decision_not_pending | 409 | This install isn't waiting for a decision any more. Reload it to see where it stands. |
rule_cannot_go_into_forcetemplate_install_parts_changed | 409 | The template's rules can't go into force as they are (a tool they name may no longer be connected), or something it set up was changed or removed since. Nothing changed; it still waits for a decision. Decline it, or fix what changed and install again. |
parameters_invalid | 400 | Some answers don't fit this template. The message and details say which. Check each one, then look at the plan again. |
template_kind_unknown | 422 | This template has a part Cadreen can't install. Nothing was installed. |
timezones_unavailable | 503 | Time zones can't be read, so the schedule can't be judged and nothing was made or started. The template isn't at fault: try again. |
seed_failed | 500 | The default routing rules couldn't be added because of a problem in Cadreen, so none were added. Try again; if it keeps failing, contact support. |
Connections and tools
| Code | HTTP | What happened, and what to do |
|---|---|---|
monitor_budget_reached | 409 | This month's page checks are used up, so this was not done. Checks start again next month. |
amount_unit_undeclared | 403 | Your amount rule can't read this job's amounts because the job doesn't say whether they are in cents or dollars. Nothing was sent. Set the job's amount unit (minor for cents, major for dollars) and run it again. |
card_budget_unavailable | 503 | This group limits retries per card, and Router can't check that limit, so nothing was sent. Try again. |
card_number_refused | 422 | A field of the request has a long number in it that could be a card number. This job takes a card reference from your payment service, never the card number itself. The answer names the field. Nothing was sent or recorded. |
card_retry_budget_spent | 409 | This card has used up the retries this group allows, so nothing was sent. Use a different card. |
card_token_missing | 422 | This group counts declines per card, and the request has no card token in the field the group declares. Send the provider's token in that field. Nothing was sent or recorded. |
composio_account_error | 424 | Nothing you sent is wrong. The service Cadreen connects through turned the request down, and Cadreen has been told. Connecting again won't help until that is fixed. |
composio_auth_config_missing | 409 | Nothing you sent is wrong. The service Cadreen connects through has no sign-in set up for that app, and Cadreen has been told. Connecting again won't help until it is set up. |
composio_install_failed | 500 | Cadreen couldn't install that app. Try again. If it keeps failing, contact support. |
composio_missing_toolkit | 400 | Name the app to install in toolkit. Nothing was installed. |
composio_provider_unavailable | 424 | Nothing you sent is wrong. The service Cadreen connects through didn't answer. Try connecting again in a little while. |
composio_search_failed | 500 | Cadreen couldn't search for more apps. Try again. If it keeps failing, contact support. |
composio_unavailable | 503 | Ready-made apps aren't available for your workspace, so they can't be searched or installed. Contact support to turn them on. |
invalid_service | 400 | Name the service to look for in service: 2 to 80 characters, on one line. Nothing was looked up. |
lookup_failed | 424 | Nothing you sent is wrong. Cadreen couldn't look for ways to connect this service, and nothing was connected. Try again in a minute. |
lookup_limit | 429 | This workspace has looked up many services in a short time. Wait the number of seconds in Retry-After, then look again. |
connection_already_finished | 409 | This connection was already finished. Start a new one to connect another system. |
connection_exchange_failed | 400 | This connection session is invalid or expired, so the connection wasn't finished. Start a new connection. (If the provider itself didn't answer, the same code comes back as a 424: try again.) |
connection_start_failed | 424 | The one way that offers this service didn't start the connection. The message says why; try again, or connect it another way. |
connect_failed_everywhere | 424 | Every way that offers this service was passed over. The message says how many and why in plain words (not set up here, not offered, turned the request down, no sign-in set up for it, didn't answer), and Cadreen has been told. details names each way's reason for an admin. |
connection_store_failedcredential_store_failed | 500 | Cadreen couldn't save the connection. Try again. If it keeps failing, contact support. |
credential_invalid_id | 400 | The credential id isn't a valid id. Take it from the list of credentials. |
currency_undeclared | 403 | Your rule that limits amounts in a currency can't compare this job's amounts because the job doesn't say which currency they are in. Nothing was sent. Set the job's currency (for example USD) and run it again. |
deadline_exceeded | 400 | The negotiation's deadline has passed, so it takes no more offers. Start a new negotiation. |
governance_denied | 403 | Your rules don't allow the provider this group would use, so nothing was sent. Ask a workspace admin to change the rule, or use another group. |
held_run_ended | 409 | The person asked to approve this run declined it, or nobody approved it in time, so nothing was sent. Send it again with a new Idempotency-Key. |
held_runs_unavailable | 503 | A rule of yours needs a person to approve this run, but waiting for approval isn't available for your workspace. Nothing was saved or sent. |
group_not_found | 404 | No job with this id exists in this workspace. List the jobs to find the one you mean. |
idempotency_not_forwarded | 400 | This provider's tool says it doesn't pass Cadreen's idempotency key on, so it can't be declared to honour it. Leave that setting off for this provider. |
integration_not_found | 404 | That integration isn't in the catalog. Search the catalog to find its id. |
invalid_jsonrpc_request | 400 | The request body isn't a valid JSON-RPC request. Send a JSON-RPC 2.0 message. |
invalid_advisor_settings | 400 | The advisor's mode must be "off" or "shadow", and its certainty a number from 0.5 to 0.99. Send mode, fields and threshold together. |
advisor_field_not_allowed | 400 | The advisor may read only currency, boolean, number, amount and choice fields. A text field or the recipient is never sent to a model. |
invalid_scoring_weights | 400 | Each weight must be zero or more, and at least one must be more than zero. |
invalid_signature | 401 | The webhook's signature didn't check out, so it was ignored. Send it with the signature the provider gives, signed with the shared secret. |
job_is_company_wide | 409 | This job is shared by your whole organization, so a service connected for one workspace can't be added to it here. Connect the service under Connected services, then add it to the job. |
mapping_needs_shape | 409 | This job has no shape to map to, or its saved shape can't be read. Set the job's shape first. Nothing was saved. |
mapping_tool_unreadable | 409 | Cadreen can't read this provider's tool and its input schema, so it can't check the mapping. Check the provider's connection. Nothing was saved. |
name_ambiguous | 409 | More than one job has this name, so Router won't guess which you mean. Use the job's id, or rename one of them. Nothing was sent. |
name_taken | 409 | You already have a job with this name. Choose another name. Nothing was made or changed. |
nango_connection_denied | 403 | This connection isn't yours: only the person who made it can use it. Make your own connection. |
nango_delete_failednango_list_failednango_load_failednango_reconnect_failednango_records_failednango_session_failednango_status_failednango_sync_trigger_failed | 500 | Cadreen's request to the service that holds app connections failed. Try again. If it keeps failing, contact support. |
nango_proxy_failed | 502 | The request couldn't be passed on to the app. Try again. |
nango_unavailable | 503 | That way of connecting apps isn't available for your workspace, so connections made through it can't be used. Contact support to turn it on. |
no_eligible_provider | 422 | No provider of this group meets its requirements for this request, so Router sent nothing. The message and selection say why. Change the request, or the group's requirements. |
no_healthy_providers | 424 | Every service of this job is resting, so nothing was sent. Try again once one of them is working, or add another service to the job. |
no_mapped_provider | 409 | None of this group's providers has a mapping for the job's shape, so Router sent nothing. Map the job's shape to a provider's tool, then run it again. |
no_providers | 400 | No providers are configured for this group, so nothing was sent. Add a provider to the group. |
test_behaviors_need_test_run | 400 | test_behaviors only works with a test run (test_run: true). Nothing was sent. |
test_behavior_unknown_service | 400 | test_behaviors names a service this job doesn't have. Use the ids of the job's services, not their names. Nothing was sent. |
test_behavior_not_a_test_service | 400 | test_behaviors can only name a built-in test service, and one of the services named isn't. Nothing was sent. |
test_behavior_invalid | 400 | test_behaviors names a behavior the test service doesn't take. Nothing was sent. |
no_test_service | 409 | This job has no test services, so a test run can't run here. Add a test service, or run it for real. |
not_connectable_yet | 409 | That app can't be connected: it isn't offered until it works from start to finish. Choose another app. |
only_test_services | 409 | This job has only test services, so real work can't run here. Add a real service, or use Run it to try it. |
operations_unavailable | 503 | Cadreen couldn't check that operation. Nothing was sent. Try again. |
provider_facts_conflict | 409 | Someone changed this provider's facts after you read them. Read them again, then make your change. |
provider_in_split | 409 | This group's split sends work to this provider. Change the split first, then remove the provider. Nothing was changed. |
provider_not_allowed | 400 | One of those services isn't one Router offers for this job, so nothing was added. List the services Router found for the job and pick from those. |
provider_not_discovered | 400 | There's no service with that tool_id in this workspace, so nothing was added. Connect the service first, or pick one Router found for the job. |
provider_tool_unknown | 400 | That provider has no tool with the name you sent, so nothing was added. List the provider's tools and use one of them. |
repeat_harmless_takes_amount | 409 | This job takes an amount or a card, or has no shape that says it doesn't, so a repeat can't be declared harmless. A run that stops on it waits for a person. Nothing was changed. |
reconcile_required | 409 | An earlier try of this work is waiting for its service to say whether it worked, so Router sent nothing. Once the provider's result is known, record it on that execution, then try again. |
routing_in_progress | 409 | An earlier try of this work is still running, so Router sent nothing. Wait for it to finish, then try again; if it was stranded, the message says how to check it. |
routing_input_invalid | 400 | The request doesn't match the job's shape: a field is missing, has the wrong type, or isn't one the job takes. The message names the field. Nothing was sent or recorded. |
routing_proposals_unavailable | 503 | Cadreen couldn't save the rule for approval. Nothing was changed. Try again. |
routing_records_unavailable | 503 | Router couldn't read its routing records, so it sent nothing. Try again. |
routing_requirements_unreadablerouting_rule_invalidrouting_split_invalidrouting_weights_unreadable | 409 | Something saved on this group (its requirements, split, scoring weights or a rule) can't be read or checked any more, so Router routes nothing for it. A workspace admin must set it again. Nothing was sent. |
routing_shape_unusable | 409 | This job's saved shape can't be used to check the request, so Router sent nothing. A workspace admin must set the shape again. |
routing_split_conflict | 409 | Someone changed this group's split after you read it. Read the group again and decide on its current split. Nothing was changed. |
service_already_connected | 409 | This workspace already has that service connected. Reconnect it instead of starting a new one; the error names the service to reconnect. |
service_list_failed | 500 | Cadreen couldn't list the connected services. Try again. If it keeps failing, contact support. |
draft_not_found | 404 | That draft wasn't found: it was thrown away, or it belongs to another job. Start again from Add a service. |
draft_expired | 410 | This draft is more than a day old, so it was thrown away. Start again so you see what the service's description says now. |
draft_not_asking | 409 | This draft isn't asking a question, so there is nothing to answer. Read the draft to see where it is. |
draft_already_used | 409 | This draft was already used, so it can't change. Nothing was changed. |
draft_cooling | 429 | A draft of that service was just made. Wait the number of seconds in Retry-After, or read the draft that was made. |
draft_limit | 429 | This workspace has reached its limit on drafts. Try again, or set the service up by hand. |
job_has_no_shape | 409 | This job doesn't say what it takes and returns, so there is nothing to draft against. Set that first, or set the service up by hand. |
spec_url_refused | 400 | That address can't be used for an API description: it isn't an https link, or it carries a key or a password. Paste a plain link. |
service_drafts_unavailable | 500 | Setting up a service by name isn't available. You can set it up by hand. |
routing_unavailable | 500 | Routing is not available, so nothing was set up. Try again, or set the service up by hand. |
draft_rules_unavailable | 500 | Your rules couldn't be read or saved, so nothing was added: a service set up from a name needs the rule that holds its first live run. Try again. |
draft_not_confirmed | 500 | Cadreen had a problem while using the draft, and the service that had been added was taken back, so nothing was added. The draft is still there: try again, or set the service up by hand. |
change_not_available | 409 | That draft has no other operations to choose from: only a ready draft, or one that ended with a list of operations, can be changed. Start again from the name. |
change_not_listed | 400 | That isn't one of the operations the card listed for this service. Change takes the draft you saw (from_draft_id) and one of the alternatives on its card. |
draft_changed | 409 | The card changed since you saw it, so nothing was added. Read the draft again and use the card you see now. |
question_open | 409 | This draft is still waiting for your answer, so it can't be used. Answer its question first. |
draft_not_ready | 409 | This draft isn't ready, or it is being added. Read it again. |
spec_changed | 409 | The service's API description changed since this was drafted, so nothing was added. Start again so you see what it says now. |
draft_not_saved | 409 | The drafted setup didn't pass the checks when it was saved, so the connection and the service were taken back together. Start again, or set it up by hand. |
service_name_taken | 409 | This job already has a service with that name. When starting a draft, pick another name. When using a draft, the service may already have been added from it: check the job's services and keep it or remove it. |
service_not_offered | 409 | That way of connecting a service isn't offered. Pick another service, or come back when it is. |
service_not_pending | 409 | That service isn't waiting for you to sign in. It may already be connected, or the sign-in may have run out. Start again if you still need it. |
service_records_failed | 500 | Cadreen couldn't list the records of this service. Try again. If it keeps failing, contact support. |
service_tools_failed | 500 | Cadreen couldn't list the tools of this service. Try again. If it keeps failing, contact support. |
session_id_required | 400 | Send the session id, in the Mcp-Session-Id header or the session_id query parameter. |
session_not_found | 404 | That session doesn't exist or has expired. Open a new one. |
session_not_yourssession_wrong_workspace | 403 | That session belongs to another account or was opened in another workspace, so you can't use it. Open a session of your own. |
status_lookup_real_tool_on_test_service | 409 | That service is a built-in test service, and a test service can only be looked up with a test tool: a real tool would make a real call. Nothing was saved. |
status_lookup_not_read_only | 409 | That tool doesn't say it only reads, so Router won't use it to look anything up: a lookup that could send might do the work twice. Pick a tool its connection declares read-only. Nothing was saved. |
status_lookup_tool_unreadable | 409 | Cadreen can't read that tool, so it can't tell whether it only reads. Check the service's connection and try again. Nothing was saved. |
invalid_undo | 400 | That undo isn't valid. Check it against the undo in the API reference: a tool of the service that changes something, a request that carries the attempt's key, and the answer that says the work is undone. Nothing was saved. |
undo_tool_read_only | 409 | That tool says it only reads, so it can't undo anything. Pick the service's tool that cancels or voids. Nothing was saved. |
undo_tool_unreadable | 409 | Cadreen can't read that tool, so it can't check what the undo would send. Check the service's connection and try again. Nothing was saved. |
undo_real_tool_on_test_service | 409 | That service is a built-in test service, and its undo can only be a test tool: a real tool would make a real call. Nothing was saved. |
service_questions_busy | 409 | Router is reading other services' descriptions at this moment. Try again in a few seconds. |
streaming_unsupported | 500 | This connection can't stream, so a session can't be opened on it. Use a connection that supports streaming. If it keeps failing, contact support. |
template_does_not_fit | 409 | Cadreen checked a service of this template against what your workspace has and it doesn't fit, so nothing was made. The template needs to be updated for that service. |
template_instance_not_found | 404 | There is no such installed template in this workspace. List the installed templates to find the one you mean. |
template_not_found | 404 | There's no template with that id. List the templates to find the one you mean. |
template_service_unavailable | 503 | Templates aren't available. Try again. |
template_services_missing | 409 | This template needs services your workspace doesn't have. The message lists them. Connect them first. Nothing was made. |
template_unreadable | 503 | Cadreen couldn't check which of your connected services this template needs, so nothing was made. Try again. |
test_service_unavailable | 503 | The test service isn't available for your workspace. Contact support to turn it on. |
tool_connection_failed | 502 | Cadreen couldn't connect the tool pack. Try again. |
unsupported_provider | 400 | This integration can't be installed with one click. Use its own endpoint. |
waiting_for_provider | 409 | An earlier try of this work is still waiting on its provider, so Router sent nothing. Wait for it to finish, or record its result, then try again. |
webhook_unavailable | 503 | Webhooks aren't available, or the subscriptions couldn't be read. Nothing was changed. Try again. |
webhook_creation_failed | 500 | The subscription couldn't be saved. Nothing was created. Try again; if it keeps failing, contact support. |
webhook_not_found | 404 | No subscription in this workspace has that id. List this workspace's subscriptions and take the id from there. |
webhook_forbidden | 403 | This subscription belongs to another workspace, so you can't use it. List this workspace's subscriptions. |
webhook_invalid_id | 400 | The subscription id isn't a valid id. Take it from the list of subscriptions. |
webhook_invalid_url | 400 | The URL is private, internal or reserved, or can't be resolved, so Cadreen won't send events to it. Use a public https address. |
webhook_unknown_event | 400 | An event name is empty, null or not one Cadreen sends. Name each event as the API reference's event list spells it. |
webhook_delivery_not_found | 404 | No webhook delivery of this workspace has that id. Delivered and failed deliveries are kept 30 days. List this workspace's deliveries and take the id from there. |
webhook_delivery_not_failed | 409 | Only a failed delivery can be sent again. This one was delivered (it is never sent again) or is still being tried. Nothing was sent. Reload the deliveries to see where it is. |
webhook_delivery_subscription_gone | 409 | The delivery's webhook was deleted or turned off, so sending it again would fail at once. Nothing was sent. Add the webhook again to get new events. |
routing_numbers_too_slow | 503 | Counting this many days took too long. Ask for fewer days. |
routing_numbers_need_temporary | 503 | These numbers can't be counted: the database role lacks the TEMPORARY privilege that counting needs. An admin grants it (GRANT TEMPORARY ON DATABASE <database> TO <app role>); Cadreen tries to after every migration run. |
setup_session_keys_unreadable | 409 | The keys staged in this setup can't be read, so it can't be used. Discard it and start it again. |
setup_session_applying | 409 | This setup is being applied, so it can't be discarded. Wait for it to finish; if its apply died, it is marked failed after 15 minutes without progress. |
setup_stopped | 409 | This setup was stopped while it was being applied, so it did not finish. |
answer_invalid | 400 | An answer isn't one the service's description allows. The details name which answer and why; fix it and send it again. |
job_not_supported | 400 | Only the "payouts" job can be proposed so far. Send job=payouts. |
proposal_changed | 409 | What Cadreen would make is no longer what you were shown (the service's description changed). Look at the card again. Nothing was made. |
proposal_not_ready | 409 | The card still has something to answer, so nothing was made. The details list what is missing. |
service_not_found | 404 | There's no connected service with that id in this workspace, or the operation you chose isn't one of its operations. |
template_choice_invalid | 400 | That isn't one of the connections to choose from for this service. Nothing was made. |
template_choice_required | 409 | This template needs a choice before it can be made: the details list the choices. Nothing was made. |
template_two_step_not_ready | 409 | This template needs a step before the transfer, which Router can't run. Nothing was made. |
mapping_changedno_mapping | 409 | Nothing is chosen to watch for this source, or the choice changed since the sidecar fetched it. Fetch the choice again and count again under its new version. Nothing was recorded. |
mapping_not_set | 404 | Nothing has been chosen to watch for this source. A person chooses in the dashboard. |
too_many_webhookstoo_many_pairingssidecar_limit_reacheddiscovery_limit_reached | 409 | This workspace (or this key) is already at its limit for this: active Relay webhooks, open pairing codes, sidecars per key, or held discovery reports. Use or remove an existing one (a pairing code runs out after 10 minutes), or reuse the sidecar id you already have. Nothing was recorded. |
delivery_not_deadrelay_webhook_disabled | 409 | The webhook or delivery isn't in a state that allows that: only a dead delivery of an active webhook can be sent again, and a disabled webhook can't be disabled again. |
pairing_code_invalid | 404 | That pairing code doesn't work any more. A code lives 10 minutes, works once, and stops working for an address after 5 wrong tries from it. Make a new one in the dashboard. |
service_not_connected | 422 | This workspace has no connected service by that name. Name one of its connection tools by id, or leave service out. Nothing was recorded. |
invalid_actions | 400 | Cadreen can't take this list of actions: it has too many, one of them isn't valid, or one appears twice. The message says which. Fix the list and send it again. Nothing was recorded. |
poll_already_open | 429 | This key already has a request waiting. Use one at a time: wait for the open one to finish, then ask again. |
sidecar_not_found | 404 | This workspace has no sidecar by that name. Check the sidecar's name. |
capability_not_found | 404 | No capability has this id. List the capabilities to find the one you mean. |
credential_fields | 422 | The credential's fields aren't complete or aren't valid. The message says which. Nothing was saved: fix them and send again. |
credential_store_unavailable | 503 | Credentials can't be saved, so nothing was saved. Try again. |
secret_required | 400 | The new key is empty. Type the new key and send again. Nothing was changed. |
username_and_password_required | 400 | This API signs in with a username and password. Send them as username:password. Nothing was changed. |
not_a_connected_api_key | 422 | This isn't the key of a connected API, so there is nothing here to replace. Nothing was changed. |
invalid_transition | 409 | This step isn't available in the state the thing is in now. The message says what the state is. Do the step that comes first, or load it again to see where it stands. |
url_required | 422 | Give the address of the API (url), or of its specification (spec_url), to build a connection. |
drafts_unresolved | 409 | Some operations were drafted by Cadreen. Confirm or remove each of them first, then try again. |
spec_url_not_supported | 503 | Building from a specification address isn't available for your workspace. Give the API's own address (url) instead. |
path_not_deployable | 422 | One of the chosen paths can't be turned into an operation. The message says which and why. Choose differently and try again. |
nothing_to_deploy | 422 | With these choices no operation would be left to use. Choose at least one operation to keep. |
unknown_operation | 422 | One of the operations named isn't one this connection drafted. The message says which. Use the operations the connection lists. |
operation_in_progress | 409 | Something is already running on this connection, so this step wasn't started. Wait for it to finish, or cancel it. |
session_changed | 409 | This connection changed while you were acting, so nothing was changed. Load it again and decide again. |
forge_unavailable | 503 | Custom connections aren't available for your workspace. Trying again won't help; contact support. |
disconnect_failed | 500 | Cadreen couldn't confirm that all of this connection's tools were removed, so it still shows as added. Try disconnecting again. If it keeps failing, contact support. |
target_required | 400 | The target field is empty. Send what you want to connect: a service name, an address, a spec or a server. |
invalid_target_kind | 400 | target_kind must be one of service_name, url, openapi_spec, mcp_server, protocol or custom. |
creation_faileddiscovery_not_started | 500 | The connection session couldn't be created, or it was created but its search couldn't start (it is then marked stopped). Try again by creating a new session. If it keeps failing, contact support. |
list_failedget_failed | 500 | The connection sessions (or their events) couldn't be listed or read because of a problem in Cadreen. Try again. If it keeps failing, contact support. |
invalid_after_seq | 400 | after_seq (or the Last-Event-ID header) must be a whole number, zero or more. Send one, or leave it out to start from the beginning. |
choice_required | 400 | The choice_id field is missing. Send the id of the choice you made. |
operations_required | 400 | Name the drafted operations to keep (confirm) and to drop (remove). Send at least one. |
credential_list_unavailable | 503 | Your saved credentials couldn't be loaded. You can still add a new one, or try again. |
coordinator_not_available | 503 | Connections (or their deploy approvals) can't change, so nothing was changed. Try again. |
oauth_unavailable | 503 | Signing in to an API isn't available for your workspace. Trying again won't help; contact support. |
not_waiting_for_sign_in | 409 | This connection isn't waiting for a sign-in. Save the app's client ID and secret for it first, then start the sign-in. |
oauth_start_failed | 502 | The sign-in couldn't be started. Check the app's client ID and secret saved for this connection, then try again. |
ownership_unavailable | 503 | Cadreen couldn't check who owns this connection, so nothing was changed. Try again. |
compile_failed | 400 | The function couldn't be compiled. Check the code and try again. |
dry_run_failed | 400 | The function's test run failed. Check the function and the input you sent, then run it again. |
deploy_failed | 400 | The function couldn't be deployed. Check it with a test run, then deploy again. |
partially_deleted | 500 | The connection (or integration) was deleted, but some of its tools couldn't be removed. Try again to clear what is left. If it keeps failing, contact support. |
invalid_proxy_request | 400 | The method must be GET, POST, PUT, PATCH or DELETE, the path must stay inside the API, and a GET has no body. Fix the request and try again. |
proxy_failed | 502 | The request to the service failed, so no answer came back. Try again. |
sync_trigger_failed | 500 | The sync couldn't be started because of a problem in Cadreen. Try again. If it keeps failing, contact support. |
failed_to_create_credentialfailed_to_update_credentialfailed_to_delete_credentialfailed_to_read_credentialfailed_to_store_credentials | 500 | The credential couldn't be created, changed, deleted, read or stored because of a problem in Cadreen. Try again, and check the credential's list before you retry a change. If it keeps failing, contact support. |
unavailable | 503 | The event sources can't be read. Try again. |
public_address_unknown | 503 | Cadreen can't give you an address to send events to. This is a problem in Cadreen; contact support. |
template_unknown | 422 | There is no template of that name. Nothing was created. Pick a template from the list. |
invalid_slug | 400 | The slug isn't allowed. For an event source it is 1 to 40 lower-case letters, digits or hyphens, starting with a letter; for an organization it can't look like an organization id. Nothing was created. |
invalid_name | 400 | The name can't be used. A source takes a name of up to 120 characters; your own name in a workspace is one line of at most 80 characters, with no curly double quote, and is not another member's name or address or one Cadreen uses itself. Nothing was created or changed. |
scheme_required | 400 | A signed source needs the signature scheme the sender uses (a template gives it). Nothing was created. |
signing_secret_invalid | 400 | The signing secret is the wrong length: it must be within the range the message gives, up to 512 characters. Send another. |
weak_algorithm_reason_required | 400 | HMAC-SHA1 is the weaker choice: say in weak_algorithm_reason (up to 300 characters) why this sender can't sign with SHA-256. Nothing was created. |
unverified_reason_required | 400 | Receiving with no signature has to be said and explained: say in unverified_reason why this sender can't sign. Nothing was created. |
verification_required | 400 | Say how deliveries are checked: choose a template, or set verification to signed (with a scheme) or to the unsigned option with a reason. Nothing was created. |
invalid_mapping | 422 | The mapping doesn't fit the workspace's list of events. The answer lists each problem with its place. Nothing was saved: fix them and send again. |
event_type_declared_differently | 422 | Your list of events already has a kind of event with this name that is set up differently, so it was not replaced. Nothing was saved: pick another name, or change that entry first. |
example_not_trusted | 422 | That delivery didn't pass its check, so it can't be the example to learn from. Nothing was saved: pick one that arrived normally. |
category_required | 400 | A connection to a system you already use is made for one kind of system at a time: send exactly one of ticketing, crm, hris, ats, accounting, filestorage, knowledgebase or mktg. Nothing was started. |
slug_taken | 409 | This slug is already used, by another source in the workspace or by another organization. Nothing was created. Choose another. |
too_many_sources | 409 | This workspace has as many inbound sources as it may. Turn one off, or ask for the limit to be raised. Nothing was created. |
platform_taken | 409 | This workspace already has a source for that platform. Nothing was created. Change the existing one instead. |
sealing_unavailable | 503 | A signing secret can't be kept for your workspace, so nothing was created. Trying again won't help; contact support. |
no_address | 409 | This source has no address to replace: its events come through its own webhook address. |
delivery_not_found | 404 | This source has no delivery with that id. List the source's deliveries to find the one you mean. |
no_key_to_replace | 409 | This source has no signing key of its own to replace. Nothing changed. |
key_already_set | 409 | This source already has its key. Nothing changed. |
invalid_overlap | 400 | The old key can keep working for 0 up to the number of hours the message gives. Send a number in that range. Nothing changed. |
rotation_in_progress | 409 | A key change is already in progress. End it first, or wait until the old key stops. Nothing changed. |
same_key | 400 | That is the key this source already has. Send a new one. Nothing changed. |
no_old_key | 409 | There is no old key still working, so there is nothing to end. Nothing changed. |
failed_to_list_integrations | 500 | The integrations couldn't be listed because of a problem in Cadreen. Try again. If it keeps failing, contact support. |
integrations_unavailable | 503 | Integrations (or removing them) aren't available for your workspace, so nothing was changed. Trying again won't help; contact support. |
mcp_connect_failed | 400 | Cadreen couldn't connect to that MCP server. Nothing was connected. Check the address and the sign-in you gave, then try again. |
invalid_openapi_spec | 400 | The OpenAPI spec couldn't be read as one. Send a valid OpenAPI document or its address. |
openapi_registration_failed | 500 | Cadreen couldn't register the tools of the API or server, so nothing was connected. Try again. If it keeps failing, contact support. |
side_effect_contradicts_tool | 409 | The service was declared read-only, but its own tool says calling it changes things. Nothing was connected or added. Declare it as one that changes things, or leave that tool out. |
tool_not_found | 404 | No tool has this id. List the tools to find the one you mean. |
cost_estimate_failed | 400 | The cost of that call couldn't be estimated. Check the tool and its inputs. |
capability_request_failed | 500 | Your capability request couldn't be saved because of a problem in Cadreen. Try again. If it keeps failing, contact support. |
compositions_unavailable | 503 | Compositions can't be run. Nothing ran. Try again. |
composition_needs_person | 409 | A step in this composition needs a person's approval, so it didn't run (or the rest didn't). Ask Cadreen in a conversation instead. |
invalid_composition | 400 | The composition's plan has a problem. The message and kind say what, with the step and tool. Fix it and send again. Nothing ran. |
composition_check_failed | 500 | The plan couldn't be checked because of a problem in Cadreen. Try again. If it keeps failing, contact support. |
connection_deploy_unconfirmedconnection_deploy_faileddecision_outcome_unconfirmed | 500 | Your approval took effect, but the result couldn't be confirmed (the deploy, or this request). The message says which. Don't approve or submit it again: reload to see where it stands. If a deploy failed with nothing live, the connection records why. |
connection_not_foundtask_not_found | 404 | No outside-agent connection (or task) has this id in this workspace. List them to find the one you mean. |
agent_name_requiredagent_card_url_requiredtask_id_requiredinvalid_connection_idinvalid_task_id | 400 | A required field is missing or an id isn't valid: the outside agent's name (1 to 200 characters), the address of its card (agentCardUrl), or a connection or task id. The message says which. Fix it and try again. |
connections_list_failedconnection_read_failedinteractions_list_failedworkspace_settings_unavailable | 500 | The connections, one connection, its interactions or the workspace's settings couldn't be read because of a problem in Cadreen. Try again. If it keeps failing, contact support. |
external_agents_disabled | 403 | Outside agents are turned off for this workspace. A workspace admin can turn them on. |
public_address_not_configuredaccess_keys_unavailable | 503 | This isn't available for your workspace. Nothing was connected. Trying again won't help; contact support, or connect the agent without a key. |
access_key_invalid | 400 | That access key can't be used: it must be 1 to 4096 visible characters with no spaces. Nothing was connected. |
agent_card_unreadable | 400 | The outside agent's card couldn't be fetched (the address is refused, doesn't resolve, or didn't answer). Check the address and try again. Nothing was connected. |
connection_not_pendingconnection_not_activeconnection_not_suspendedconnection_not_revocable | 400 | The connection isn't in the state this step needs (waiting for approval, active, suspended, or one that can be revoked). Nothing was changed. Load the connection to see its state. |
resource_not_in_workspace | 403 | That belongs to another workspace, so this connection can't reach it. Use an id from your own workspace. |
connection_credential_missingconnection_credential_invalid | 401 | The connection's credential is missing or isn't valid (the connection may have been suspended or revoked). Send it as Authorization: Bearer sk_a2a_...; a workspace admin creates it when connecting the outside agent. |
connection_credential_check_failed | 503 | The connection credential couldn't be checked. Try again. |
routing_record_failed | 500 | The call ran, but its result couldn't be saved. The answer carries the provider's outcome. Don't assume it is recorded: check before you rely on it or repeat it. |
routing_failed | 424 | The run was sent and saved, and it stopped before it finished. The answer carries its record: explanation says what happened. When failure.reconcile_required is true, a service may have done the work: check it before you send the work again. |
agent_not_specified | 404 | This host serves many agents, so its own card address names none of them. Ask for one agent's card at the address the message gives, with that agent's id. |
agent_create_failedagent_import_failed | 500 | The agent couldn't be saved because of a problem in Cadreen, so nothing was created or imported. Your request didn't cause it. Try again; if it keeps failing, contact support. |
template_instantiate_gone | 410 | Creating an agent from a template isn't available, so nothing was created. Create the agent from scratch instead. |
template_load_failedtemplates_list_failed | 500 | The templates couldn't be read because of a problem in Cadreen, so nothing was shown. Try again; if it keeps failing, contact support. |
sidecar_key_unbound | 403 | This key isn't tied to a sidecar, so it can't report as one. Pair the sidecar again (relay-sidecar pair) to get keys that are. Nothing was recorded. |
sidecar_mismatch | 403 | This key belongs to another sidecar. Report with the key of the sidecar that is reporting. Nothing was recorded. |
check_too_soon | 429 | A check of this data source was just made. Wait as long as the message (and retry_after_seconds) says, then try again. |
nothing_to_check | 422 | Made-up rows from a web API data source come from its declared layout alone, so Cadreen never connects to it. There is nothing to check. |
example_not_json | 422 | This delivery's body isn't JSON, which is all this door reads, so there is nothing to map from. |
example_too_large | 422 | This delivery is too large to suggest a mapping from. Write the mapping by hand. |
mapping_required | 400 | Send the mapping to try on this delivery. |
no_event_list | 409 | This workspace has no approved list of events, so there is nothing to map to. Approve one first. |
no_template | 409 | This source wasn't made from a template, so there is no template mapping to use. Send a mapping instead. Nothing was saved. |
template_has_no_mapping | 409 | The template this source was made from has no mapping to use. Send a mapping instead. Nothing was saved. |
template_changed | 409 | The template changed since you looked at it. Reload the page and look again. Nothing was saved. |
preview_cooldown | 429 | This source was just previewed. Wait as long as Retry-After says, then try again. |
invalid_source_name | 400 | A source's name starts with a lowercase letter and uses lowercase letters, digits, '_' and '-', at most 64 characters, like erp-watch. Nothing was changed. |
invalid_engine | 400 | engine is postgres, mysql, mssql or sqlite. Nothing was changed. |
invalid_dsn_env | 400 | Give only the NAME of the variable that holds the database address on the sidecar's machine (capital letters, digits and underscores, like ERP_READONLY_DSN), never the address itself. Nothing was changed. |
missing_key | 401 | Ask with the sidecar's key. |
push_disabled | 409 | Sending sources to this sidecar is off. Turn it on for this sidecar first. Nothing was changed. |
source_exists | 409 | This sidecar already has a source with that name. Nothing was changed. |
epoch_changed | 409 | This sidecar was paired again since it asked. Ask again. Nothing was recorded. |
Executions
| Code | HTTP | What happened, and what to do |
|---|---|---|
blueprint_archived | 409 | This workflow is archived, so it can't be changed. Create a new workflow instead. |
forget_failed | 500 | Cadreen couldn't forget what it learned from this execution, and nothing changed that you can see. Try again. |
blueprint_creation_failedblueprint_delete_failedblueprint_update_failed | 500 | Cadreen couldn't save this change to the workflow. Try again. If it keeps failing, contact support. |
blueprint_has_active_schedules | 409 | This workflow has an active schedule, so it can't be archived. Pause or delete the schedule first, then archive the workflow. |
blueprint_has_no_intent | 422 | This workflow doesn't say what it should do, so it can't run. Edit it to add what it should do, then run it again. |
blueprint_not_found | 404 | No workflow with this id exists in this workspace. List the workflows to find the one you mean. |
blueprint_not_placed | 409 | This schedule's workflow belongs to no workspace (it couldn't be placed when Cadreen was updated), so the schedule can't be changed. Contact support to give it a workspace. |
events_query_failed | 500 | Cadreen couldn't read the events. Try again. If it keeps failing, contact support. |
invalid_at | 400 | The at time isn't a valid RFC 3339 time such as 2026-07-19T00:30:00Z. |
invalid_blueprint_id | 400 | The workflow id isn't a valid id. Take it from the list of workflows. |
invalid_end | 400 | The end time isn't a valid RFC 3339 time such as 2026-07-19T01:00:00Z. |
invalid_source_type | 400 | source.type must be one of mission, trace, manual, template or learned_procedure. |
invalid_start | 400 | The start time isn't a valid RFC 3339 time such as 2026-07-19T00:00:00Z. |
missing_parameter | 400 | The at time is required, as an RFC 3339 time such as 2026-07-19T00:30:00Z. |
missing_parameters | 400 | Both start and end are required, as RFC 3339 times such as 2026-07-19T00:00:00Z. |
no_active_version | 400 | This agent has no active version. Deploy the agent first, then try again. |
no_fresh_check | 409 | Router has no recent check that found the service didn't do this work, so it won't let you say so or send it again. Ask Router to check again first, then try again. Nothing was changed. |
no_other_service | 409 | This job has no other service to send the work to. Add another service, or send it again from where you started it. Nothing was changed. |
no_primary_agent | 404 | This workspace has no agent, and doesn't need one: Cadreen does the work itself. |
no_sealed_request | 409 | Router didn't keep a copy of this request, so it can't send it again for you. Send it again from where you started it. Nothing was changed. |
no_status_lookup | 409 | Router can't look this up for you: the service hasn't said how to ask whether a request went through. Check with the service yourself, then give your answer. |
routing_run_terms_unreadable | 500 | Whether the terms were accepted couldn't be read, so nothing was sent. Try again. |
not_reconcilable | 409 | This execution doesn't need checking, or someone already recorded what happened. |
not_resendable | 409 | This run belongs to a larger job, so it can't be sent again separately. Send it again from the job. Nothing was changed. |
not_waiting_for_provider | 409 | This execution isn't waiting for its provider's result, or someone already recorded it. |
not_your_recovery | 403 | Only the person who started this recovery, or a workspace admin, can stop it. |
parameter_schema_invalid | 400 | The workflow's input description isn't valid. The message says what is wrong. Fix it and send again. Nothing was saved. |
params_invalid | 400 | These inputs don't match what the workflow asks for. The message lists the problems. Fix them and send again. Nothing was saved. |
plan_not_ready | 409 | This scheduled run's plan is still being made, so there is nothing to approve. Nothing was changed. Approve it once the plan is ready. |
recovery_active_not_found | 404 | No recovery is running with this id. It may have finished already. |
recovery_already_acting | 409 | It's already fixing this. Wait for it to finish. |
recovery_cancel_failedrecovery_record_failed | 500 | Cadreen couldn't stop or record the recovery. Try again. If it keeps failing, contact support. |
replay_not_initialized | 503 | Replay isn't available for your workspace. Contact support to turn it on. |
request_unreadable | 409 | Router can't open the request it kept. Send it again from where you started it. Nothing was changed. |
run_already_started | 409 | This Idempotency-Key already started this run, so nothing was sent again. The message gives the operation: read its outcome there. details.never_started is true when that run never reached a service: ask again with a new key. |
run_creation_failed | 500 | Cadreen couldn't create the run. Try again. If it keeps failing, contact support. |
run_start_failed | 409 | The run didn't start: it was cancelled before it started (409), or the workflow couldn't be started and the run is recorded as failed (502, then try again). The message says which. |
schedule_creation_failedschedule_delete_failed | 500 | Cadreen couldn't save this change to the schedule. Try again. If it keeps failing, contact support. |
schedule_not_active | 409 | This schedule isn't active, so it can't be paused. Read it to see its state. |
schedule_not_found | 404 | No schedule with this id exists in this workspace, or it was changed meanwhile. List the schedules to find the one you mean. |
schedule_not_paused | 409 | This schedule isn't paused or stopped, so it can't be resumed. Read it to see its state. |
invalid_trigger | 400 | The schedule's trigger is missing a type (recurring or cron), or the saved trigger can't be read or used (409: send a new trigger with the time zone, or edit it before resuming). The message says which. |
schedule_run_mission_not_cancelled | 500 | Your skip was saved and the run will not run, but its plan could not be closed. Nothing can start it. Contact support if it stays open. |
schedule_runs_unavailable | 503 | Scheduled runs can't be started. Nothing was changed. Try again. |
schedule_update_failed | 500 | Cadreen couldn't save the change to the schedule. Try again. If it keeps failing, contact support. |
start_unavailable | 503 | The run or execution could not be started, and nothing ran. A run that was waiting for approval waits for it again. Try again. |
status_not_settable_here | 400 | An agent's status isn't set here: use PATCH /api/v1/cadreen/agents/{id}. Nothing was saved. |
step_not_found | 404 | No suggestion with this id exists. List the suggestions to find the one you mean. |
steps_unavailable | 503 | Suggested steps can't be used. Nothing was done. Try again. |
suggestion_accept_in_progress | 409 | This suggestion is being accepted. Check again; don't accept it twice. |
suggestion_declined | 409 | A person said no to this suggestion. Nothing was started. |
suggestion_failed | 409 | This suggestion's work couldn't be started (for example, it has no description of the work, or it was approved but its work didn't start). The message says why. Nothing was started. A 500 can be tried again. |
suggestion_not_open | 409 | This suggestion is no longer open. Nothing was started. |
suggestion_not_recorded | 500 | The suggestion's work started, but the suggestion couldn't be marked as applied. Don't accept it again; contact support. |
suggestions_unavailable | 503 | Suggestions can't be accepted. Nothing was started. Try again. |
start_needs_its_decision | 409 | This execution belongs to a scheduled run, and starts only when a person approves its plan in Decisions. Nothing was started. Approve it there. |
scheduled_run_not_waiting | 409 | The scheduled run this execution belongs to is no longer waiting for approval: it was skipped, its time passed and the schedule asked again, or it already started. Nothing was started. Reload the decision. |
key_cannot_start_run | 403 | A workflow's Run now pressed with an API key can't start the plan it makes, so nothing was started (the request is refused before a run is made; a run that gets that far ends with this code). Run it again from the dashboard. |
starter_cannot_start | 409 | The person who started a workflow's Run now can no longer start it, so nothing was started and the run ended. Run it again as someone who can. |
starter_unknown | 409 | Cadreen couldn't tell who started a workflow's Run now, so nothing was started and the run ended. Run it again from the dashboard. |
continue_in_progress | 409 | Someone is already continuing this workspace's waiting work. Give it a moment and look again. Nothing changed. |
conversation_not_in_mission | 400 | That conversation doesn't belong to this execution. Use a conversation that belongs to this execution. |
execution_unavailable | 409 | 409: work can't be started or controlled from here; this is a problem in Cadreen, so contact support. 424: Cadreen couldn't carry on with this work, so try again. |
nothing_of_yours_to_continue | 409 | None of the waiting work was started by you. Ask whoever started it, or an admin, to continue it. Nothing changed. |
already_executing | 409 | This execution has already started, or it is no longer waiting for approval. Look at its status instead of starting it again. |
already_responded | 409 | Someone already answered this step's request for human input. Nothing was changed. Look at the step's current state. |
answer_not_recorded | 500 | Your answer couldn't be saved because of a problem in Cadreen. Send it again; if it keeps failing, contact support. |
answers_not_stored | 500 | Some of your answers couldn't be saved, so the execution has not moved on. The answer lists how many were received and which weren't kept: send those again. |
approval_already_answered | 409 | This approval was already answered. Look at the execution's status to see what happened next. |
approval_failedrejection_failed | 500 | The step couldn't be approved (or rejected) because of a problem in Cadreen. Look at the step's state, then try again. If it keeps failing, contact support. |
approval_not_found | 404 | This execution has no approval waiting. It may already have been answered. Look at the execution's status. |
approval_required | 400 | A plan's pause is answered with an approval. Send {"inputType":"approval","response":{"approvalResponse":{"approved":true}}} to run the plan, or "approved":false to cancel the execution. |
approval_resuming | 409 | Another request is already resuming this execution from this approval. Wait a moment and look at its status. |
approval_superseded | 409 | The plan changed since this pause, and the execution paused again for the new plan. Answer that new approval instead. |
approvals_unavailable | 503 | Approvals aren't available. Try again. |
artifact_not_founddocument_not_found | 404 | No artifact or document with this id is visible to you in this workspace. List the execution's artifacts to find the one you mean. |
artifact_not_loaded | 500 | This artifact couldn't be loaded because of a problem in Cadreen. Try again; if it keeps failing, contact support. |
context_unavailableinteractions_unavailablenarration_unavailable | 500 | The execution's context, conversation or narration couldn't be loaded because of a problem in Cadreen. Try again; if it keeps failing, contact support. |
control_not_saved | 500 | Your request to control this execution couldn't be saved, so nothing changed. Try again. |
events_unavailable | 503 | This execution's events aren't available (a read that fails midway answers 500). Try again. |
execution_active | 409 | This execution is still running, so this can't be done now. Pause or stop it first, or wait for it to pause or stop. |
invalid_from | 400 | from must be checkpoint or start. |
invalid_input | 400 | The answer to this step's request for human input isn't valid. The message says what is wrong with it. Fix it and send it again. |
invalid_plan | 400 | On an execution, it has no readable plan to work from. When creating or changing an organization, plan must be free, starter, pro or enterprise. |
limit_below_spentlimit_not_lower | 409 | The new limit can't be lowered to that: the execution has already spent that much, or its limit is already at or below it. Nothing was changed. |
limit_failed | 500 | The limit couldn't be changed because of a problem in Cadreen. Nothing was changed. Try again. |
limit_not_savedlimit_unavailable | 503 | The spending limit can't be changed. Nothing was changed. Try again. |
limit_proposal_changed | 409 | The proposed limit changed since your page loaded. Reload to see it and answer again. Nothing was changed. |
limit_proposal_unreadable | 500 | The proposed limit can't be read, so nothing was changed. Ask for it again in the execution's chat. |
no_limit_proposal | 409 | No proposed limit is waiting to be answered. It may already have been confirmed or dismissed. Nothing was changed. |
link_check_failed | 500 | Cadreen couldn't check who started this execution, so the upload wasn't taken. Try again; if it keeps failing, contact support. |
list_error | 500 | The files couldn't be loaded because of a problem in Cadreen. Try again. |
message_not_saved | 500 | Your message couldn't be saved because of a problem in Cadreen. Send it again. |
mission_cancelled | 409 | This execution was cancelled and can't be changed. Start a new one if you still need the work. |
mission_changed | 409 | This execution changed while it was being started again, so nothing was changed. Look at it again and try once more. |
mission_not_moved_on | 500 | Your answers were saved, but the execution couldn't move on to analysis. The answer says how many were stored. Try again. |
mission_not_running | 409 | This execution isn't running, so its limit can't be changed now. Nothing was changed. |
mission_untracked | 409 | This execution can't start: its work isn't tracked in a workspace of yours. Open it from your workspace and try again. |
modification_failed | 400 | That change couldn't be applied to the plan. Check the change against the plan's steps and send a corrected one. |
no_plan | 400 | This execution has no orchestrated plan, so it can't be started or changed. Run its analysis first. |
not_cancelled | 409 | Your rejection is saved and the plan will not run, but the execution couldn't be marked cancelled. Cancel it from the execution page. |
not_collaborative_pause | 409 | This step isn't in a collaborative pause, so there is nothing to answer. Look at the step's state. |
not_restartable | 409 | There is nothing to start again: this execution has not run, or it is running now. Pause or stop it first. |
not_resumable | 409 | This execution can't be resumed from its current status (only a stopped or failed run can). If it came after an approval, your answer is saved: resume the execution from its page. |
not_retryable | 409 | There is nothing to try again: this execution hasn't stopped or failed. |
parse_error | 400 | The upload couldn't be read as a form. Send the file as multipart/form-data and try again. |
pause_not_cleared | 503 | Your pause couldn't be lifted, so nothing was started. Try again. |
plan_approval_unavailable | 500 | The plan's approval couldn't be read, or your decision couldn't be saved, because of a problem in Cadreen. Try again; if it keeps failing, contact support. |
plan_approval_unreadable | 500 | Your answer was saved, but its result couldn't be read. Reload the execution to see what happened; don't send the answer again. |
plan_changed | 409 | The plan changed since you looked (or since the execution paused), so your answer no longer matches it. Read the new plan and decide again. Nothing was installed or approved by this request. |
response_failed | 500 | No reply could be written because of a problem in Cadreen. Try again. |
restart_unavailable | 503 | Starting this execution again from the beginning isn't available. Nothing was changed. Retry it to continue from where it stopped, or try again. |
resume_failed | 500 | Your answer or resume couldn't be saved because of a problem in Cadreen (one route answers 503 when it can't tell whether the execution is running). Try again. |
sse_not_supportedstreaming_unavailable | 500 | Live streaming isn't available on this connection. Fetch the result without streaming, or try again. |
state_not_found | 404 | This step has no collaborative or human-input state. It may not be waiting on a person. |
state_unavailable | 500 | The step's state or the execution's waiting questions couldn't be read because of a problem in Cadreen. Try again; if it keeps failing, contact support. |
total_size_exceeded | 400 | The execution's attachments together would be over the allowed total size (100 MB unless a different limit is set). Remove one, or send a smaller file. |
update_failedupload_failed | 500 | The modified plan or the uploaded file couldn't be saved because of a problem in Cadreen. Try again; if it keeps failing, contact support. |
waiting_on_held_call | 409 | This step is waiting for a person to approve what it wants to do. That is decided in Decisions, not answered here. |
wrong_input_type | 400 | This question is answered with a different kind of response. Read the question's inputType and answer with that kind. |
already_decided | 409 | Someone already decided this (a plan's run or a chargeback). Nothing was changed. Look at the current decision. |
step_route_retired | 410 | Retired: answer this step on the execution's approval, POST /missions/{id}/steps/{stepId}/human-input with an approval. This route no longer decides anything, and nothing was changed. |
step_not_waiting | 409 | This step isn't waiting for anyone's decision (it was already decided, or never asked for one). Nothing was changed. Look at the step's current state. |
step_decisions_unavailable | 503 | Steps can't be decided on this route. Nothing was changed. Try again, or decide the step on the execution's approval. |
not_waiting | 409 | The thing you answered isn't waiting for a person any more (a step's human input, a refund's credit or a debit). Nothing was changed. Look at its current state. |
recipe_staleproposal_already_decided | 409 | This changed after you loaded it (or someone already decided it). Reload it, reapply your edit or decision if it still applies, and try again. |
recipe_exists | 409 | A routine with this kind and version already exists. Use it, or create a new version. |
recipe_in_userecipe_has_variantsrecipe_has_proposals | 409 | This routine can't be deleted: it has operation history, other routines were made from it, or a proposal refers to it. Retire it instead (or delete the routines made from it first) so the history stays intact. |
recipe_activation_irreversiblerecipe_plan_immutablerecipe_already_retired | 409 | This version has already been active or retired, so it can't go back to a draft, have its work plan changed or be reactivated. Create a new version to change it. |
recipe_not_runnable | 409 | This routine can't start work: it is still being prepared, it is documentation only, or it is retired. Run an active routine instead. |
recipe_lineage_invalidrecipe_origin_missingproposal_source_invalid | 409 | This work isn't tied to a routine that can be checked: the routine isn't in your catalog, the work has no recorded routine to improve, or a proposal needs a completed run of the routine in this workspace. The request was refused. |
measurement_limit_exceeded | 422 | This routine has more operations than one request can measure exactly. Ask for a smaller range, or lower max_operations. |
self_approval_forbidden | 403 | You proposed (or installed) this change, so someone else must approve it: another workspace admin, or the workspace owner. Nothing changed. |
operation_admission_failedoperation_replay_lookup_failed | 500 | The run couldn't be started, or Cadreen couldn't check whether it had already started, because recording it failed. Nothing was started. Try again; if it keeps failing, contact support. |
execution_get_failedmission_get_failed | 500 | The execution couldn't be read because of a problem in Cadreen. Try again. If it keeps failing, contact support. |
mission_has_no_run | 409 | This execution has no run to continue: it never started, or its run is gone, or it is in a state a run can't be continued from. Nothing was changed. Start it from its page instead. |
mission_service_unavailable | 503 | The execution service isn't available, so nothing was changed. Try again. |
mission_not_found | 404 | No execution with this id exists here, or you can't see it. Nothing was changed. Take the id from the list of executions. |
sse_unavailable | 503 | The live event stream isn't running, so no stream was opened. Try again. |
streaming_not_supported | 500 | A live stream couldn't be opened for this connection, so none was started. Try again, or read the result without streaming. If it keeps failing, contact support. |
mission_state_failed | 500 | Cadreen couldn't read where this conversation's execution stands. Try again. If it keeps failing, contact support. |
retry_check_failedretry_failed | 500 | Cadreen couldn't check what went wrong last time, or couldn't start the retry, so nothing was retried. Try again. If it keeps failing, contact support. |
mission_not_retryable | 409 | This execution can't be retried from the state it is in. The message says why, for example its plan is already waiting for approval. |
retry_in_progress | 409 | A retry of this execution is already running. The message says how long to wait before trying again. |
invalid_task_type | 400 | task_type isn't a kind of work Cadreen knows. The choices are in the training readiness answer. Send one of them. |
unsupported_file | 415 | That isn't a photo or a PDF that can be read. Send a JPEG, PNG or WebP photo, or a PDF. |
logs_fetch_failedlogs_save_failed | 500 | The logs couldn't be loaded (or saved) because of a problem in Cadreen. Try again. If it keeps failing, contact support. |
no_entries | 400 | Send at least one log entry in entries. |
invalid_wait | 400 | wait must be a whole number of seconds from 0 to 30. |
cursor_expired | 410 | The cursor is older than the feed keeps, so reading on could skip changes. Read again from the beginning (the message says where to start). |
cursor_from_another_database | 410 | This cursor came from another database (another cluster, or this one before a restore), so reading from it could skip or repeat events. Read again from the beginning. |
invalid_operation_id | 400 | The operation id must be a UUID. Take it from the list of operations. |
what_happened_unavailable | 503 | What happened to this work can't be read. Nothing changed. Try again. |
invalid_window | 400 | since and until must both be given, as times like 2026-10-23T00:00:00Z, with since before until. |
receipt_line_unavailablereceipt_code_unavailable | 503 | The receipt's line and code (or the lookup of a code) can't be made. Nothing changed. Try again. |
receipt_code_not_found | 404 | No receipt has that code in this workspace. Check the code and try again. |
missing_mission_id | 400 | The execution id is missing from the address. Share an execution by its id. |
share_store_unavailableshare_lookup_failed | 503 | Sharing isn't available, or the shared link couldn't be opened. Try again. |
share_creation_failed | 500 | The share link couldn't be made because of a problem in Cadreen. Try again. If it keeps failing, contact support. |
share_not_foundfile_not_found | 404 | No shared link (or no shared file) matches. It may have been revoked, or the address is wrong. Ask the person who shared it for a new link. |
share_expired | 410 | This shared link has expired. Ask the person who shared it for a new one. |
share_revoke_failed | 503 | The execution's share links couldn't be revoked, so they may still be open. Try again. |
invalid_stream_path | 400 | Send {"method": "GET", "path": "/api/v1/..."}: the method and path of the stream the ticket is for. |
mission_text_requiredmission_id_requiredworkspace_component_required | 400 | A required part of the execution is missing: its description, its id, or at least one workspace component. The message says which. Send it and try again. |
no_active_executionalready_runningnot_cancellableundo_failed | 409 | The execution isn't in a state for this: it has no active run, is already running, can't be cancelled from where it is, or its last step couldn't be undone. The answer carries its state. |
pause_failedcancel_failed | 500 | The execution couldn't be paused or cancelled because of a problem in Cadreen. Try again. If it keeps failing, contact support. |
stream_not_found | 404 | There is no live stream with this id. Open the stream of an execution or a conversation by its own id. |
retry_not_started | 503 | The analysis couldn't be started again, so nothing was retried. Wait the seconds in retry_after (or the Retry-After header), then retry. |
change_requiredchange_too_long | 400 | The change has no words, or more than 1,000 characters. Say in a sentence or two what should be different about the plan. Nothing was changed. |
plan_not_changeable | 409 | This plan can't be changed in the state it is in: it has started, it has ended, or it isn't ready. The message says which. Nothing was changed. |
plan_being_changed | 409 | The plan is being made again with the words someone gave. A second change, or a start of the old plan, waits for the new one, which appears in the conversation when it's ready. Nothing was started or changed. |
plan_change_failed | 500 | The change couldn't be saved, so the plan is as it was. Try again. |
plan_change_not_startedplan_change_unavailable | 424 | The new plan couldn't be started, or who may change this plan couldn't be checked. The plan is as it was. Try again. |
waiting_for_decision | 409 | This is waiting for your answer, so it can't resume. Decide it first, and it carries on. |
confirm_failed | 500 | The connection couldn't be added. Try again. |
connection_ambiguous | 409 | This connection matches more than one tool, so none can be picked for the step. Say no, or ask for the step to use a tool of your choice. |
connection_not_confirmable | 409 | This connection can't be added as tools here. Connect it on Connections. |
connection_not_yours | 409 | This connection is under another person's sign-in. Connect the service yourself, or ask the person who connected it to confirm. |
Devices and edges
| Code | HTTP | What happened, and what to do |
|---|---|---|
agent_token_route_retired | 410 | The old route that edges used with a workspace API key is closed. Register the edge (a workspace admin calls POST /api/v1/cadreen/edge/devices), set the token it returns as CADREEN_EDGE_DEVICE_TOKEN on the edge, and remove CADREEN_AGENT_TOKEN. Nothing was changed. |
alert_not_found | 404 | No alert with this id exists in this workspace. List the alerts to find the one you mean. |
alert_rule_changed_meanwhile | 409 | Someone changed this alert rule after you read it, so your change was not saved. Read the rule again and make your change on that version. |
alert_rule_not_found | 404 | No alert rule with this id exists in this workspace. List the rules to find the one you mean. |
bci_not_initialized | 503 | The brain-computer interface part isn't running. Try again; if it keeps failing, contact support. |
bci_policy_unavailable | 503 | The brain-computer interface rules can't be changed. Try again. |
command_claimed_by_another | 409 | Another edge holds this command, so this edge can't mark it sent. Nothing was changed. Leave it to the edge that holds it. |
command_enqueue_failed | 500 | Cadreen couldn't queue the command for the device. Try again. If it keeps failing, contact support. |
command_not_claimed | 409 | This edge wasn't handed the command, so it can't mark it sent. Poll for pending commands first to take it. |
command_not_found | 404 | No command with this id exists for this device. List the device's commands to find the one you mean. |
command_not_held | 503 | This command needs a person's yes, and Cadreen couldn't save it for one, so nothing was queued. Try again. |
command_not_pending | 409 | This command is no longer pending, so it wasn't marked sent. Read the command to see what happened to it. |
command_refused | 403 | A rule refused this device command. The message says which rule. Nothing was queued; change the command, or ask a workspace admin about the rule. |
command_store_unavailable | 503 | Device commands aren't available for your workspace, so nothing was queued. Contact support to turn them on. |
commands_unavailable | 503 | Cadreen couldn't check this workspace's edges. Ask again. |
edge_conflict_transition_invalid | 409 | The edge's state can't follow the operation's state in the cloud (it is already final, for one), so it wasn't applied and nothing changed. You can keep the cloud's state. |
device_already_registered | 409 | That device id is already registered in this workspace. Use another id, or work with the device that exists. |
device_commands_unavailable | 503 | Sending commands to devices isn't available for your workspace, so nothing was sent. Contact support to turn it on. |
devices_required | 400 | Name the devices this edge serves, one device parameter each: the cloud hands an edge only the commands for its devices. Nothing was claimed. |
edge_id_required | 400 | Name the edge in the X-Edge-Id header: 1 to 128 letters, digits, dots, underscores or hyphens (the edge's CADREEN_EDGE_ID). The cloud hands each command to one edge only, so nothing was claimed. |
engine_not_initialized | 503 | The intent engine isn't running. Try again; if it keeps failing, contact support. |
estop_failed | 500 | Cadreen couldn't queue the emergency stop. Try again right away, and use the device's own stop or hardware stop if it is unsafe. If it keeps failing, contact support. |
estop_store_unavailable | 503 | Device commands aren't available for your workspace, so the emergency stop wasn't queued. Use the device's own stop or hardware stop, and contact support to turn commands on. |
event_id_not_supported | 400 | event_id and event_seq are taken only by the edge sync route. Leave them out of these readings. |
field_not_changeable | 400 | That field can't be changed on an alert rule. To watch another device or sensor, make another rule. Nothing was changed. |
invalid_active_window | 400 | The active window needs days (1 for Monday to 7 for Sunday, none twice), a start and an end time (HH:MM, 24-hour, not the same) and a time zone name such as Europe/London. Fix it and send again. |
invalid_command_id | 400 | The command id isn't one Cadreen recognises. Use the id the command was queued with. |
invalid_condition | 400 | The condition must be one of gt, lt, eq, gte or lte. Nothing was saved. |
invalid_device | 400 | Each device id is 1 to 128 bytes of UTF-8, without /, +, #, : or a null character. Fix the ids and ask again. |
invalid_device_id | 400 | The device id must be 1 to 128 bytes of UTF-8, without /, +, #, : or a null character. Nothing was queued. |
invalid_event_id | 400 | The alert id isn't one Cadreen recognises. Take it from the list of alerts. |
invalid_expect_updated_at | 400 | expect_updated_at is the updated_at of the rule you read, exactly as it was given (a date and time). Nothing was changed. |
invalid_for_seconds | 400 | for_seconds is how long the reading must stay across the value: from 0 to 86400 (a day). |
invalid_message | 400 | The alert's message is at most 500 bytes. Shorten it and send again. |
invalid_payload | 400 | The request body couldn't be read. Send valid JSON of the shape the route takes. |
invalid_rule_id | 400 | The rule id isn't one Cadreen recognises. Take it from the list of rules. |
invalid_scope | 400 | scope must be "workspace" or "tenant". |
invalid_severity | 400 | severity must be one of: info, warning, critical. |
invalid_unit | 400 | unit is words for people, at most 16 characters of text (for example °C or %). |
label_required | 400 | The intent label is required. Send label. |
nothing_to_change | 400 | Send at least one of condition, threshold, unit, for_seconds, severity, message or active to change on the rule. Nothing was changed. |
operation_not_found | 404 | No operation with this id exists, so the command wasn't queued. Check the id. |
operation_required | 503 | A device command needs an operation to record it under, and none is available. Nothing was queued. Try again. |
operation_state_conflict | 409 | That operation has finished or is waiting for a person, so it can't take new device commands. Use a different operation, or leave it out. |
operation_unavailable | 503 | This command needs an operation to record it under, and none could be made. Nothing was queued. Try again. |
source_id_required | 400 | source_id is required. Send it. |
stop_not_found | 404 | No emergency stop with this id exists in this workspace. Check the id. |
stream_unavailable | 503 | Live readings aren't available for your workspace. Use the readings list instead, or contact support. |
task_changed | 409 | The task was changed by another request after you read it. Read it again and retry. |
time_zones_unavailable | 503 | Cadreen can't load time zones, so the window can't be checked. Try again. |
too_many_devices | 400 | A claim names more devices than it may. The message gives the most. Claim in smaller groups. |
too_many_readings | 400 | A request takes at most 100 readings. Send fewer at a time. |
topic_required | 400 | Name the topic to send the command to. Nothing was queued. |
use_device_token | 403 | This workspace has registered edges, so their commands go to them with their device token (CADREEN_EDGE_DEVICE_TOKEN); an API key can't list them. Use the device token, or list the commands of one device as a signed-in person. |
bci_sources_not_available | 410 | Cadreen doesn't connect brain-computer interface devices for you, so there is no source to connect, disconnect or stream. Send what your decoder produces to POST /api/v1/cadreen/bci/intent. |
edge_conflict_unconfirmed | 500 | Cadreen could not confirm whether your choice on an edge sync conflict was saved. Do not submit it again: reload the decision. Cadreen's team has been told and will check the conflict. |
edge_conflict_stale | 409 | The operation changed since this conflict was recorded, so the edge's state was not applied. Reload the decision. |
invalid_event | 400 | The event couldn't be read. Send an event part and 2 to 6 JPEG frames. |
library_unavailable | 503 | The Arduino library can't be downloaded. Try again. |
invalid_edge_device | 400 | The edge id or the device name is too long. The message gives the limits in bytes. Nothing was registered. |
edge_device_existsdevice_key_exists | 409 | This workspace already has a device (or a key for that device) with that id, so nothing was added. Revoke the existing one first to register it again. |
invalid_kind | 400 | kind must be edge (the default), ingest or all. |
edge_device_not_found | 404 | No device has this id in this workspace. List the devices to find the one you mean. |
edge_device_revoked | 409 | This device is already revoked, so it can't be revoked or replaced again. Add the edge again to give it a new key. |
edge_not_found | 409 | This workspace has no edge with that id. Add the edge first: its broker files are what the login is written into. |
invalid_mqtt_login | 400 | An edge id or a device id for a broker login may only hold letters, digits, ., _ and - (a device id up to 63 characters), and a name is at most 200 bytes. Fix it and send again. |
mqtt_login_exists | 409 | That device already has a broker login. Replace its password, or revoke it first. |
mqtt_login_not_found | 404 | No broker login with that id exists in this workspace. List the device's logins to find the one you mean. |
mqtt_login_revoked | 409 | That login is already revoked. Make a new one for the device. |
not_an_edge_key | 409 | This key belongs to a sensor connection, not to an edge, so it can't be replaced here. Nothing was changed. |
invalid_device_token | 401 | This device token isn't valid. It may have been revoked: replace the key in the dashboard and set the new one on the edge. |
device_auth_unavailablerole_unavailable | 503 | The device token (or your role) couldn't be checked, so nothing was accepted or changed. Try again. |
device_key_not_allowed | 403 | This is a device's own key. It can post that device's readings and nothing else. Use the edge's device token for this. |
device_key_mismatch | 403 | This key posts readings for one device only, and not for the one named. Send the readings under the device the key was made for. |
captured_at_not_allowedevent_id_not_allowed | 400 | A device's own key can't set captured_at, event_id or event_seq: readings are stamped when they arrive. Leave them out. Only an edge's key sends them. |
stop_not_for_this_edge | 403 | This device was registered after the stop was created, or is revoked, so it was never handed that stop. |
no_stop_to_close | 404 | This device has no emergency stop in this workspace to close. Nothing was closed. |
stop_not_applied_by_this_edge | 403 | This edge hasn't acknowledged that stop as applied, so it can't close through it. The edge sends the acknowledgement first; the report is kept and sent again meanwhile. |
sync_unavailablestatus_unavailablestop_reset_unavailabletelemetry_unavailablepolicies_unavailable | 503 | The cloud couldn't take what the edge sent (changes, readings, a status report, a reset report or blackboard entries), or couldn't build the bundle of rules. Nothing was kept or applied. The edge keeps what it sent and sends it again; with rules, it keeps the bundle it has. |
batch_too_large | 413 | The request carries more entries than one request takes. The message gives the number. Send them in smaller batches. |
device_token_required | 401 | This route needs the edge's device token. Send sk_edge_... (or, where allowed, the device's own sk_ingest_... key) as Authorization: Bearer <key>. |
invalid_since_version | 400 | since_version must be a whole number, 0 or more. Send the version you have, or leave it out. |
bundle_signing_not_configured | 404 | Cadreen has no public key to give for the edge's bundles of rules. Contact support. |
invalid_device_key | 400 | A device key needs a device id of 1 to 63 bytes, with no space at either end and none of /, +, # or :. Its name can be at most 200 bytes. Nothing was made. |
fast_path_failedconnect_failedstream_start_failedstream_stop_failedprocessing_failed | 500 | The brain-computer interface step failed: a control signal, connecting a source, starting or stopping a stream, or processing an intent. Try again. If it keeps failing, contact support. |
bci_policy_update_failed | 500 | The BCI rules couldn't be saved. Try again. If it keeps failing, contact support. |
state_query_failedreplay_failed | 500 | The state at that time, or the replay, couldn't be built because of a problem in Cadreen. Try again. If it keeps failing, contact support. |
too_many_pairing_codes | 429 | This workspace already has as many pairing codes waiting as it may. Use one, or wait ten minutes. |
quiet_rule_is_device_level | 400 | A quiet rule watches the whole device, so it names no sensor: leave sensor_id out (or send *). To watch one sensor's value, make a rule with a comparison. |
Money and billing
| Code | HTTP | What happened, and what to do |
|---|---|---|
not_refundable | 409 | This payment can't be refunded now: it is already refunded, or it was never paid. Nothing was changed. |
cash_grant_unusable | 409 | Nothing was moved: one of this account's grants is damaged and can't be used. Ask the currency's owner to correct it. |
insufficient_balance | 400 | The balance doesn't cover this amount. Nothing was sent. Add funds or send less. |
no_billing_surface | 409 | It isn't clear which balance pays for this run, so nothing was started. Try again; if it keeps failing, contact support. |
requires_approval | 403 | The amount is over the approval threshold, so a person has to approve it. Ask one to approve it, or send a smaller amount. |
retired_keys_invalid | 503 | The list of retired signing keys can't be read, so records signed with an old key can't be checked. This is a problem in Cadreen; contact support. |
schedule_no_billing_surface | 409 | This schedule doesn't record which balance pays for its runs, so it can't be resumed. Create it again. |
signing_counter_unavailable | 503 | No entry can be signed: the signing key's counter can't move. Nothing was written. This is a problem in Cadreen; contact support. |
verification_failed | 500 | Cadreen couldn't load the verification data. Try again. If it keeps failing, contact support. |
workspace_holds_money | 409 | This workspace holds money or has a payment that isn't finished, so it can't be deleted: the money would have no one to move it. Settle or move it first. Nothing was deleted. |
already_redeemed | 409 | You have already used this promo code. |
expiredexhausted | 410 | This promo code can't be used any more: it has expired, or every use of it is taken. Use another code. |
invalid_code | 404 | No promo code matches what you sent. Check the spelling and try again. |
promo_currency_unsupported | 409 | This promo code can't be used. Nothing was added. Contact support. |
promo_lookup_failed | 409 | That promo code couldn't be checked. Nothing was added. Try again; if it keeps failing, contact support. |
credit_failed | 409 | The credit couldn't be added to your balance. Contact support. |
get_balance_info_failedbilling_account_lookup_failedget_all_refunds_failedget_balance_info_for_surface_failedget_currencies_with_rates_failedget_mission_token_usage_failedget_refunds_by_status_failedget_unnotified_completed_failedget_wallet_debt_failedlist_top_ups_failednotification_prefs_read_failed | 500 | This billing or usage information couldn't be read, so nothing was returned. Your request didn't cause it. Try again; if it keeps failing, contact support. |
list_invoices_failedusage_query_failedget_refunds_by_tenant_failed | 424 | Your invoices, usage or refunds couldn't be read, so nothing was returned and nothing changed. A read that failed is never shown as an empty list. Try again. |
spend_summary_failed | 424 | Your spending couldn't be read, and nothing was changed. Try again. |
paused_work_failedlist_chargebacks_failed | 424 | The work that is waiting, or your reversed payments, couldn't be read, so nothing was returned and nothing changed. Try again. |
provision_errorprovision_all_unprovisioned_failedreconcile_billing_emails_failedbatch_approve_all_failedbatch_approve_by_tenant_failedprocess_approved_refunds_failed | 500 | A background job (provisioning accounts, reconciling emails or approving refunds) failed and may have done part of its work. Look at the current state before you run it again. If it keeps failing, contact support. |
below_minimum | 400 | The amount is below the smallest top-up allowed. The message gives the minimum, and minimum and unit carry it. Send a larger amount. Nothing was charged. |
free_day_used | 409 | Today's free usage is used up. It starts again at 00:00 UTC; continue then. Nothing changed. |
not_enough_balance | 409 | The balance doesn't cover a waiting task. Add money first, then continue. Nothing changed. |
idempotency_key_reusedidempotency_conflict | 409 | That idempotency key was already used for a different request, so nothing was done for this one. Use a new key for a new request, or send the original request exactly to repeat it. |
invalid_amount | 400 | The amount must be a number more than zero, like 25 or 10.50. |
invalid_params | 400 | A field of the manual payment is missing or out of range (the message says which): a workspace id and a positive USD amount are required, invoiceReference can be up to 200 characters, description up to 500, and tokensToCredit can't be negative. |
invalid_surface | 400 | surface must be aa or cadreen. |
missing_session | 400 | A session id the route needs is missing (the top-up's session_id or a guest session's id; the message says which). Send it and try again. |
mission_lookup_failed | 424 | Cadreen couldn't load this mission. Try again. |
no_secret | 503 | Cadreen can't verify the webhook's signature, so nothing was applied. This can't be fixed from here. Contact support; the sender retries. |
provider_ambiguous | 409 | More than one payment provider takes this currency, so none was chosen. Nothing was charged. Contact support. |
rate_unavailablerates_not_configured | 409 | Cadreen can't price a top-up in this currency because there is no current exchange rate (or rates aren't available for your workspace). Nothing was charged. Try again, or pay in US dollars. |
topup_provider_movedtenant_on_ledger | 409 | This workspace's balance is kept in Cadreen's own ledger, so top-ups no longer go through an outside billing provider. Nothing was charged. |
settlement_resolution_failed | 500 | The settlement choice could not be made, or Cadreen could not confirm it was saved. If the sentence says nothing changed, try again. If it says it could not be confirmed, do not submit it again: Cadreen's team has been told and will check it. |
settlement_approve_unsafe | 409 | This payment may already have reached the provider, so sending it again could pay twice. Nothing changed. Reject it instead: the provider is asked first, and the money comes back only if nothing was paid. |
settlement_reject_unconfirmed | 409 | The provider has not confirmed this payment failed or never happened, so the money stays held. Check with the provider, then try again. |
settlement_resolution_conflict | 409 | This settlement decision is no longer pending: someone already decided it. Nothing was changed. Reload the decision. |
provider_payout_id_mismatch | 409 | The payment provider already gave this payout another id. Check the id against the provider's records and try again. |
provider_payout_id_invalid | 400 | The payment provider's id is at most 128 characters, with no spaces or special characters. Copy it from the provider's records. |
settlement_queue_unavailable | 409 | This kind of decision (a settlement) can't be made here. Nothing was decided. |
transcription_not_admitted | 500 | It isn't clear which balance pays for this transcription, so nothing was sent to be transcribed. Try again. If it keeps failing, contact support. |
charging_notice_unavailable | 409 | The charging notice isn't available for your workspace, so nothing was sent and no date is set. Nothing is charged until it is. |
charging_notice_failed | 409 | The charging notice couldn't be sent or read. Run it again: workspaces already told are not told twice. If it keeps failing, contact support. |
invalid_lead_days | 400 | lead_days must be a whole number of days from 0 to 365. |
workspace_unreadable | 500 | That organization's billing couldn't be read, so no billing account was made. Your request didn't cause it. Try again; if it keeps failing, contact support. |
account_not_needed | 409 | This workspace's balance is kept in Cadreen's own ledger, so it gets no outside billing account. Nothing was created; use the workspace's balance as it is. |
balance_unavailable | 500 | The balance couldn't be read. Try again. If it keeps failing, contact support. |
balance_low | 402 | Your balance is too low to set a service up by name. A draft that was refused for this says so as its reason. Add funds and try again, or set the service up by hand. |
guest_budget_exhausted | 402 | The guest's free allowance is used up. Sign up to continue. |
balance_needs_review | 503 | The balance needs a person on the team to check it before more work can run. Nothing was sent and nothing was charged. Contact support. |
budget_check_failed | 503 | The balance couldn't be checked. Nothing was sent. Try again. |
top_up_method_unavailable | 400 | You named a way of paying (payment_method) that isn't available for this top-up: it needs a workspace whose balance is kept in Cadreen's ledger, and that way connected. Nothing was charged. Leave payment_method out to pay the usual way. |
guest_limit_reached | 403 | Guests are limited to one conversation. Sign up to continue. |
topup_routing_unavailable | 409 | Choosing which provider takes a top-up in each currency isn't available for your workspace. Nothing was changed. |
live_not_tested | 409 | Test the live connection first. Live can be turned on only after its test passes. |
connection_in_use | 409 | This connection is in use. Switch to the other mode before removing it, or save new keys over it. |
not_connected | 404 | Nothing is saved for this provider in this mode (or, for archive runs, the billing provider isn't connected; that one is a 409). Save and test the connection first. |
changed_during_test | 409 | The connection was saved again while it was being tested, so the test doesn't count. Test it again. |
changed_meanwhile | 409 | Someone saved this connection while the provider was being asked. Nothing was saved: look at it again, then enter your change. |
run_not_found | 404 | There is no archive run with this id. List the runs to find the one you mean. |
wrong_mode | 400 | This event belongs to the other mode's address (test or live). Send it to the address for its own mode. |
aa_proof_unavailable | 503 | Free credit can't be used on live updates: Cadreen can't check that request, or a ticket couldn't be made. Try again. |
aa_proof_required | 403 | Tickets for live updates are only given to the AccomplishAnything app itself. |
billing_surface_not_allowed | 403 | This sign-in can't be charged to that balance: an API key is always charged to your Cadreen balance, and only a signed-in person can use their AccomplishAnything balance. Remove the X-Billing-Surface header, or sign in. |
invalid_billing_surface | 400 | X-Billing-Surface must be aa or cadreen. |
confirm_required | 409 | This needs your confirmation first, because it would cost credits; the message and details give the estimate. Nothing was started. Send the request again with confirmation if you accept it. |
approve_refund_failedreject_refund_failedbatch_approve_failed | 500 | The refund couldn't be approved or rejected, so check its state before you retry. Try again. If it keeps failing, contact support. |
invalid_return_url | 400 | The page to return to after paying must be a page of this app. Nothing was charged. Send a path on this app or an address on its origin. |
account_mismatch | 409 | That billing account isn't this workspace's any more. Refresh the list and try again. Nothing was granted. |
grant_failed | 500 | The grant couldn't be made. Nothing was granted. Try again. If it keeps failing, contact support. |
billing_account_missing | 409 | This workspace's billing isn't set up. Nothing was charged. Contact support to finish setting it up. |
topups_paused | 409 | Adding money is paused while charges are off for this workspace. Nothing was charged. |
topups_not_set_up | 409 | This workspace's way of adding money in that currency isn't set up. Nothing was charged. Choose another currency, or ask Cadreen to set it up. |
global_approval_disabled | 409 | Approving every pending refund at once is turned off. Approve refunds by their ids, or all of one organization's at once. Nothing was changed. |
Knowledge and documents
| Code | HTTP | What happened, and what to do |
|---|---|---|
invalid_confidence | 400 | confidence must be a number from 0 to 1, or left out. |
invalid_fact_type | 400 | factType isn't one of the kinds Cadreen knows. The message lists them. |
invalid_user_id | 400 | The user id can't be used: it is blank, too long or not valid text. Send the id of the person. |
invalid_visibility | 400 | visibility must be workspace, tenant or federation. |
memory_delete_failed | 500 | Cadreen couldn't delete that memory. Try again. If it keeps failing, contact support. |
uploader_required | 401 | Sign in, or use an API key, to upload a document or save typed examples. Nothing was saved. |
invalid_data_source_id | 400 | The data source id isn't a valid id. Take it from the list of data sources. |
unsupported_type | 400 | This data source type can't be created. Choose one of the types listed at /api/v1/datasources/types; the answer lists them. |
invalid_config | 400 | The data source's settings are missing or won't work. The message says what to fix. Nothing was saved. |
transform_required | 400 | This type of data source needs a transform: how its records become knowledge. Add one and send again. |
name_too_longdescription_too_long | 400 | The name or description is longer than the limit; the message gives it. Use a shorter one. |
data_source_not_found | 404 | No data source has this id in this workspace. List the data sources to find the one you mean. |
data_source_exists | 409 | A data source with this id already exists, so nothing was created. Use another id, or change the existing one. |
invalid_layout | 400 | The data source's layout won't work; the message says what is wrong with it. Fix the layout in its settings. (Made-up rows answer it as a 422: no rows were made.) |
address_refused | 400 | The address points somewhere Cadreen won't connect to (a private, internal or reserved address). Use a public address. Nothing was saved. |
connection_failed | 422 | The data source didn't connect with these settings. The message says why. Check them, or save without testing (test_connection: false). |
data_sources_unreadable | 503 | Some saved data sources can't be read, so changes are paused. Nothing was changed. Contact support if this doesn't clear. |
data_sources_unavailable | 503 | Saved data sources couldn't be reached. Try again. |
invalid_base_url | 400 | baseUrl isn't a valid address, or doesn't start with http or https. Fix it and try again. |
discovery_unavailable | 503 | Looking for data sources isn't available for your workspace, so nothing was searched. Trying again won't help; contact support. |
discovery_failed | 502 | The search for data sources (or, on the tools route, for tools) didn't finish. Try again. If it keeps failing, contact support. |
location_required | 400 | The location field is missing. Send the address to test. |
invalid_auth | 400 | The sign-in settings for this test are incomplete or not valid. The message says what the sign-in needs. Fix them and test again. |
download_failed | 500 | The file couldn't be downloaded because of a problem in Cadreen. Try again. If it keeps failing, contact support. |
version_not_found | 404 | No such version of that document exists, or it isn't yours. List the document's versions to find the one you mean. |
document_file_missing | 410 | The document's file is gone: it was kept somewhere Cadreen can no longer read. Upload it again. |
document_already_archived | 409 | This document is already archived. Nothing was changed. |
document_not_archivable | 409 | This document can't be archived, for example because it is still being read. The message says why. Nothing was archived; try again when it is ready. |
reserved_metadata_key | 400 | A metadata key you sent is set by the system. Use another name. Nothing was archived. |
signer_mismatch | 403 | You can only sign as yourself. Leave out signer_id, or send your own. Nothing was signed. |
claims_not_available | 501 | Reading claims out of documents isn't available. Nothing was extracted. |
documents_unavailable | 503 | Documents aren't available for your workspace. Trying again won't help; contact support. |
invalid_document_id | 400 | The document id isn't a valid id. Take it from the list of documents. |
file_required | 400 | No file was sent. Add the file to the upload, in the document form field (the file field on a human-input attachment). |
failed_to_read_file | 500 | The file couldn't be read because of a problem in Cadreen. Try again. If it keeps failing, contact support. |
ids_required | 400 | Name the data sources to look at: ids=<id>,<id>. |
invalid_levelinvalid_formatinvalid_row_count | 400 | A choice has a value outside what's allowed: the level (structure or structure_and_values), the format (json or csv) or the number of rows (1 up to the limit the message gives). Fix it and try again. |
export_busysynthetic_too_soon | 429 | An export is already running, or made-up rows were generated for this data source less than a minute ago. Wait the seconds in Retry-After, then try again. |
export_timed_outrun_timed_out | 504 | Reading the data source or the made-up rows took too long, so no file or rows were made. Try again, or choose fewer columns in the data source's settings. |
synthetic_not_supportedsynthetic_level_not_availablelayout_not_declaredno_tabletable_not_foundduplicate_column_namesreserved_column_nameshape_unreadablenothing_to_imitatetoo_many_columns | 422 | Made-up rows can't be made for this data source as it is set up: its kind isn't supported, its layout or table isn't declared or can't be found or read, or its columns can't be imitated. No rows were made. The message says what to change in the data source's settings. |
source_turned_offsynthetic_not_on | 409 | This data source is turned off, or made-up rows are off for it, so no rows were made. Turn it on first (a workspace admin switches made-up rows on). |
synthetic_source_full | 409 | This data source already holds as many made-up rows as it can. The answer says how many and the limit. Delete some to make more. |
synthetic_run_ended | 409 | Made-up rows were switched off or deleted, or the level was lowered, while this run was going, so the run was stopped. Check the settings, then start it again. |
source_unreachable | 502 | Cadreen couldn't reach this data source, so no rows were made. Check that it is online, then try again. |
conversion_not_supported | 422 | Converting between these two formats isn't supported. Nothing was converted. Choose a format pair the converter lists. |
pdf_pages_unreadablepdf_unreadable | 422 | Some pages of the PDF (or all of them) couldn't be read. The message lists the pages. Nothing was converted. Send a PDF whose pages can be read. |
archiver_required | 401 | Sign in, or use an API key, to archive a document. Nothing was archived. |
document_already_signeddocument_not_approveddocument_has_no_versionversion_not_latestdocument_already_approveddocument_not_approvable | 409 | The document isn't in the state this step needs: it is already signed or approved, must be approved first (the latest version), has no file, or can't be approved. The message says which. Nothing was changed. |
invalid_version_id | 400 | version_id isn't a version id. Take it from the document's versions. Nothing was approved. |
governance_check_not_available | 501 | Checking what a document needs before it is published, sent or signed isn't available. A document must be approved before it can be signed. Nothing was checked. |
delete_unavailable | 503 | Conversations can't be deleted, so nothing was deleted. Try again. |
invalid_query | 400 | The search text in q is too long (more than 200 characters). Send a shorter search. |
invalid_filters | 400 | A filter in the request isn't one the knowledge search understands. Fix the filter parameters and send it again. |
knowledge_create_failedknowledge_export_failedknowledge_query_failed | 500 | The knowledge couldn't be saved, read or exported because of a problem in Cadreen, so nothing was changed or returned. Try again; if it keeps failing, contact support. |
knowledge_unavailable | 503 | Adding knowledge isn't available for your workspace, so nothing was saved. Trying again won't help; contact support. |
Learning and training
| Code | HTTP | What happened, and what to do |
|---|---|---|
acknowledgement_required | 400 | Switching training on needs your yes: a finished training set keeps its rows even if training is switched off afterwards. Send acknowledge: true with the request. Nothing was changed. |
admin_of_every_workspace_required | 403 | Only the owner of the account, or an admin of every workspace in it, can look at and approve training data. Ask one of them to do it. |
advice_running | 409 | A comparison for this job and task is already running. Wait for it to finish, then read its result. |
canary_not_rolled_back | 502 | The test version couldn't be taken down and may still be running. Nothing else was changed. Try again, or ask support to check it. |
canary_unavailable | 503 | The test version system didn't say whether that test version is running, so nothing was taken down. Try again, or ask support to check it. |
canary_unknown | 409 | This test version isn't running as a test any more (it finished its test, or it isn't known), so it can't be taken down from here. Ask support to check it. |
cancel_unsupported | 409 | This run can't be stopped once it has started, so it keeps running. You can abandon it instead: it stops being tracked here and may keep running. You pay only for what it used. |
charge_changed | 409 | The price of this run changed after you looked at it, so nothing was approved. Look at the run again, then approve it at the price it shows now. |
data_not_awaiting_approval | 409 | This run has no cleaned data waiting for approval. Nothing was approved. Check the run's state. |
database_reads_busy | 429 | Your database is already being read for this workspace. Wait a moment and try again. |
dataset_changed | 409 | The data changed after you looked at it, so nothing was approved. Look at the new sample and approve again. |
dataset_unavailable | 503 | The cleaned data can't be shown, so nothing was approved. Try again. |
diagnosis_required | 400 | Say what kind of problem it was: send at least one of error_category, error_type, strategy, semantic_reason or root_cause. |
file_too_large | 413 | The uploaded file is too large: a seed file is at most 2 MiB. Send a smaller file. |
hyperparameters_not_supported | 409 | Training settings aren't available for this run, so it would not use the ones you gave. Start the run without them. |
invalid_pattern_id | 400 | pattern_ids holds pattern ids (UUIDs). Fix the list and send again. |
invalid_run_cap | 400 | The most one run may spend is a dollar amount above 0 and at most 1000. Fix run_cap_usd and send again. |
invalid_strategy | 400 | strategy isn't one of the recovery strategies Cadreen knows. The message lists them. |
licence_not_acknowledged | 428 | Confirm that Cadreen may hand over these weights outside Cadreen under their licence and the rights of the data they were trained on, then ask for the download again with acknowledge_licence set to the licence's id. Nothing was downloaded. |
metrics_query_failed | 500 | Cadreen couldn't read the usage numbers. Try again. If it keeps failing, contact support. |
model_not_offered | 409 | Pick a model from the list of models. Nothing was started. |
no_approved_patterns | 409 | There are no approved patterns to make examples from. Approve a pattern first. |
no_canary_to_roll_back | 409 | This run has no test version that may still be running, so there is nothing to take down. |
no_examples | 409 | There are no made-up examples to check. Make some first. |
not_downloadable | 409 | No copy of this model's weights was saved here, so there is nothing to download. |
not_enough_examples | 409 | There aren't enough examples to start this run. The message says how many are needed and how many there are. Add examples, then try again. |
not_serving | 409 | This model isn't switched on for that kind of work in this workspace, so there is nothing to switch off. |
not_set_up | 409 | Comparing models isn't set up. This can't be fixed from here. Contact support. |
not_waiting_for_funds | 409 | This run isn't waiting for money, so there is nothing to continue. |
over_run_cap | 422 | This run would cost more than the most one run may spend. The message gives both amounts. Nothing was started. Raise the limit, or make fewer examples. |
precedent_not_found | 404 | No precedent with this id exists in this workspace. List the precedents to find the one you mean. |
proposal_accept_failed | 400 | Cadreen couldn't approve this learning suggestion. Read the suggestion again to see its state, then try again. |
proposal_dismiss_failed | 400 | Cadreen couldn't dismiss this learning suggestion. Read the suggestion again to see its state, then try again. |
proposal_invalid_status | 409 | This learning suggestion can't take that step from its current state (it was already applied, or it is rejected, dismissed or rolled back). Read it to see its state. |
proposal_list_failedproposal_stats_failed | 500 | Cadreen couldn't read the learning suggestions. Try again. If it keeps failing, contact support. |
proposal_not_found | 404 | No learning suggestion with this id exists in this organization. List the suggestions to find the one you mean. |
provider_not_configured | 409 | This run can't be stopped from here. The message says what to do. |
recipe_not_supported | 409 | This kind of training run isn't available. Nothing was started. Choose another kind of run. |
rights_already_confirmed | 409 | This source is already confirmed. Revoke the confirmation first to confirm it again. |
rights_already_revoked | 409 | This confirmation was already revoked. Nothing was changed. |
run_in_progress | 409 | A run is already going in this workspace. Wait for it to end. |
run_too_large | 409 | This run could cost more than one charge can hold, so it wasn't approved and nothing was sent. Start a smaller run, with less data. |
held_run_too_large | 409 | This run is too large to approve. Nothing was started. Decline it; a smaller run, with less data, can start. |
seed_file_already_offered | 409 | This exact file is already waiting for approval or was approved. Nothing was added. |
send_ids_not_supportedsend_ids_no_safe_accesssend_ids_turned_off | 409 | Runs that keep the ids of your records aren't available for this run. Start the run without ids. Nothing was started. |
service_not_readable | 400 | Training can't read this service. It isn't connected, or no reader exists for its kind. Nothing was read or saved. |
source_not_found | 404 | No source with this id exists in your organization. Check its id, then confirm again. |
source_rights_unconfirmed | 409 | Nobody has confirmed that you may train on this source. Confirm it first. Nothing was read. |
statement_changed | 409 | The statement you confirmed isn't the current one. Read it again, then confirm with its current statement_version. |
synthetic_examples_off | 409 | Made-up training examples are off for this workspace. A workspace admin turns them on first. |
synthetic_unavailable | 503 | The made-up examples setting can't be read. Try again. |
too_many_examples | 409 | The sources you chose hold more examples, or more text, than one run takes. Lower the limit of one or more of them, or leave one out, then try again. |
trainer_out_of_date | 503 | Your model can't be switched on: a part of training is out of date, so it can't keep a switched-on model's weights from expiring. Nothing was changed. This can't be fixed from here. Contact support. |
trainer_unreachable | 503 | Your model can't be switched on: Cadreen couldn't check that a switched-on model's weights will be kept from expiring. Nothing was changed. Try again; if it keeps failing, contact support. |
training_in_progress | 409 | A training run is already in progress for this workspace. Wait for it to finish, or end it, before you start another. |
training_not_configured | 409 | Training isn't available for this account. Contact support. |
training_use_off | 409 | Training is turned off for at least one of your workspaces, so nothing was read or started. A workspace admin turns it on first. |
training_use_unavailable | 503 | Whether training is turned on for your workspaces couldn't be checked, so the run was not started. Nothing was sent. Try again. |
base_thinking_not_off | 409 | The starting model can't answer without thinking first, so a preference run can't start from it, or this run can't be asked a question. Nothing was started, sent or charged. For a preference run, pick another starting model. |
preference_runs_off | 409 | Teaching it which answer is better is switched off for this workspace, so nothing was started. A workspace admin can switch it back on in Settings, under Training. |
preference_runs_unavailable | 503 | Whether teaching it which answer is better is on for this workspace couldn't be checked, so the run was not started. Nothing was sent. Try again. |
comparison_off | 409 | Comparing models is switched off for this workspace. A workspace admin can switch it on in the Training settings. Nothing was spent. |
comparison_setting_unavailable | 503 | Whether comparing models is switched on for this workspace couldn't be checked. Nothing was spent. Try again. |
judge_not_set | 409 | No model is set up to compare answers. details[0] has field "cause" and one of two words: no_model (no model is set up for it) or model_not_enabled (the model set up for it isn't turned on). Nothing was spent. Contact support. |
grader_not_set | 409 | No model is set up to grade the quiz. details[0] has field "cause" and one of two words: no_model (no model is set up for it) or model_not_enabled (the model set up for it isn't turned on). Nothing was spent. Contact support. |
settings_unavailable | 503 | This workspace setting can't be read or changed. Nothing was changed. Try again. |
usage_record_failed | 500 | Cadreen couldn't record the usage. Try again. If it keeps failing, contact support. |
usage_tracking_unavailable | 503 | Usage tracking isn't available for your workspace. Contact support to turn it on. |
weights_changed | 409 | The saved weights aren't the ones this model was saved with, so they are not sent. Contact support. |
weights_not_available | 404 | The weights of this model can't be downloaded (they are held at an address this download doesn't serve, or no copy exists). The message says which. |
weights_storage_unavailable | 502 | The storage the weights are kept in didn't answer. Try again. |
price_unreadable | 503 | What this training run would cost can't be worked out, so nothing was approved and nothing was sent. Cadreen has been told; contact support if it doesn't clear. |
proposal_refused_by_rules | 409 | Your rules don't let this routing change be applied, so it is still waiting. The message says which rule and what to do. |
unknown_label_level | 409 | Some runs are labelled with a level training doesn't know. Change those labels to a known level or remove them, then check readiness again. |
answer_not_usable | 422 | That answer can't be used. Write a different one, no longer than 2,000 characters. |
batch_not_waiting_for_review | 409 | This set of questions isn't waiting for you to check it: it is still being made, or it was already checked. |
decision_not_recognised | 400 | Choose approve, edit or reject for the question. |
document_not_readable | 422 | Only plain text documents (txt or md) up to 2 MB can be turned into questions. Choose another document. |
documents_required | 400 | Choose between 1 and 20 documents to make questions from. |
full_size_already_started | 409 | A full-size run from this taste is already going: details name its job. Follow that one instead. Nothing was started. |
maker_already_recorded | 409 | Someone is already recorded as having made this database. Nothing was changed. |
maker_not_a_member | 400 | That person isn't a member of your organization, so they can't be recorded as having made this database. |
no_platform_key | 409 | Trying a model you trained isn't set up. Nothing was sent. This can't be fixed from here. Contact support. |
no_price | 409 | There is no listed price for this model, so a message can't be priced and wasn't sent. |
no_version | 409 | There's no trained version of this to refresh. Train one first. |
not_a_taste | 409 | Only a first taste can be followed by a full-size run. Start a new run from the Training page instead. |
nothing_new | 409 | There's nothing new to learn from, so no new version was proposed. |
pair_already_decided | 409 | This question was already checked. Load the set again to see its answer. |
pair_cost_ack_invalid | 400 | pair_cost_ack_usd must be an amount of dollars, for example "3.50". Nothing was started. |
pair_cost_not_acknowledged | 409 | Preparing the comparison pairs costs money: the message says at most how much, and details.pair_cost_ceiling_usd the amount. Send it back as pair_cost_ack_usd to agree. Nothing was started. |
pair_cost_unavailable | 503 | What preparing the comparison pairs would cost can't be worked out, so nothing was started. Try again. If it keeps happening, contact support. |
proposal_not_open | 409 | Someone already answered this proposal. Load it again to see the answer. |
qa_batch_running | 409 | Another set of questions is already being made in this workspace. Wait for it to finish, then try again. |
qa_review_incomplete | 409 | Check the first ten questions first. The run can start once the rest of the questions are written. |
quiz_running | 409 | A quiz for this job is already running. Read its result when it finishes. |
results_unavailable | 503 | The results couldn't be read. Try again. |
source_already_assigned | 409 | This source is used for another workspace. An admin of that workspace has to take it back first. Nothing was changed. |
source_not_assigned | 409 | A data source in this run isn't used for this workspace: details name it. An admin of the workspace has to choose it first. Nothing was started. |
source_not_confirmed | 403 | Nobody has confirmed that this data source may be used. Ask a workspace admin to confirm it first. Nothing was read. |
source_not_released | 403 | This data source isn't used for this workspace. An admin of the workspace has to choose it for this workspace first. Nothing was read. |
source_not_yours | 403 | Only the person who connected this source can use it for training here. Ask them to do it, or an owner of the workspace can take it back. Nothing was changed. |
source_use_unavailable | 503 | Whether this data source may be used here couldn't be checked, so nothing was read. Try again. |
taste_message_failed | 424 | The taste didn't answer, and it had no more give-backs, so the message counted as one of those a taste takes. It wasn't charged. |
taste_not_finished | 409 | The full-size run can start once the taste has finished training. Nothing was started. |
taste_not_ready | 409 | This taste isn't ready to talk to. You can once it has finished training. |
taste_too_dear | 409 | A first taste would cost more than it promises at today's price, so nothing was started. Start a full run instead. |
receipt_not_applicable | 404 | This run has no receipt: it was never priced, because it was started before training runs were charged here. |
receipt_not_ready | 409 | This run's receipt is made once what it cost is settled. Look again after the run has ended. |
taste_unavailable | 424 | The taste didn't answer. Nothing was charged and the message wasn't counted. Try again. |
training_preferences_error | 500 | Your training preferences can't be read. Try again; if it keeps failing, contact support. |
training_preferences_unavailable | 503 | Your training preferences can't be read. Try again. |
training_source_unavailable | 409 | Training on connected services and databases isn't available. Use an uploaded file or your workspace's work. |
try_limit_reached | 429 | This taste has been asked all the messages it takes. Train the full-size model to go further. |
ask_limit_reached | 429 | This run has been asked all 20 questions it takes. |
ask_too_fast | 429 | One question at a time. Wait, then try again. Nothing was counted. |
ask_unavailable | 424 | Neither model answered. You weren't charged and it wasn't counted. Try again. |
ask_failed | 424 | Neither model answered. You weren't charged, but it counted as one of the 20: a run gives back at most 5. |
ask_check_failed | 424 | That question wasn't sent, so nothing was charged and it wasn't counted. Try again. |
ask_not_set_up | 409 | Asking a model something isn't available. Contact support. |
not_a_full_run | 409 | A first taste is talked to alone. Ask a finished full-size run instead. |
run_not_ready | 409 | This run isn't ready to ask. You can once it has finished training. |
try_too_fast | 429 | One message at a time: wait a moment and send it again. Nothing was counted. |
rights_confirmation_required | 422 | Approving a seed file confirms you have the right to use its data to train a model. Read the statement, then approve if it is true. |
seed_file_changed | 422 | The kept file no longer matches what was offered, so nothing was added. You can reject it. |
examples_refused | 400 | Some typed examples can't be used: each needs a question and an answer. The answer names each one. Nothing was saved. |
examples_count | 400 | Send between 1 and 200 typed examples at a time. Nothing was saved. |
examples_file_busy | 409 | Other examples were being saved to the same file at the same moment. Nothing was saved. Try again. |
examples_saved_too_often | 429 | You've saved examples too often. Wait the time the answer gives, then try again. Nothing was saved. |
examples_daily_limit | 429 | You've reached today's limit for saving examples. The answer says when you can save again. Nothing was saved. |
examples_limit_unavailable | 424 | Saving examples isn't available, and nothing was saved. Try again. |
examples_file_full | 413 | The typed examples file is full (50 MB or 200,000 lines). Nothing was saved. |
examples_saved_confirmation_not_reset | 500 | The examples were saved, but the file's confirmation couldn't be reset. Ask an admin to revoke and confirm the file again before a run uses it. |
training_readiness_unavailable | 424 | Your training data couldn't be read. Try again. |
typed_examples_unavailable | 424 | Saving examples isn't available. Nothing was saved. |
training_run_hold_not_found | 404 | There is no such held run. List the held runs again and use an id from the list. |
training_run_hold_decided | 409 | This run was already approved or declined, so nothing was changed. |
learning_patterns_unreadable | 500 | The learning patterns couldn't be read because of a problem in Cadreen. Try again. If it keeps failing, contact support. |
failed_to_list_replays | 500 | The replays couldn't be listed because of a problem in Cadreen. Try again. If it keeps failing, contact support. |
invalid_replay_id | 400 | The replay id isn't a valid id. Take it from the list of replays. |
replay_not_found | 404 | No replay has this id in this workspace. List the replays to find the one you mean. |
pattern_read_failedlearned_pattern_unreadable | 500 | The learned pattern couldn't be read because of a problem in Cadreen. Nothing was changed. Try again. If it keeps failing, contact support. |
failed_to_generate_proposalsfailed_to_apply_proposalfailed_to_dismiss_proposalfailed_to_get_summary | 500 | The proposals couldn't be generated, applied, dismissed or summarized because of a problem in Cadreen. Look at the proposal again before you retry a change. If it keeps failing, contact support. |
invalid_proposal_id | 400 | The proposal id isn't a valid id. Take it from the list of proposals. |
decision_route_unavailable | 503 | Learned patterns can't be decided. Nothing was changed. Try again. |
procedure_removal_unavailableprompt_removal_unavailable | 503 | The saved procedure (or prompt) can't be removed, or can't be found to remove, so nothing was revoked. Try again. |
procedure_unreadable | 500 | The saved procedure couldn't be read, so it wasn't removed and nothing was revoked. Try again. If it keeps failing, contact support. |
procedure_not_removedprompt_not_removed | 500 | The saved procedure (or prompt) couldn't be removed. The message says whether it is already marked revoked; if it is, it may still be in use. Try again. |
deny_list_not_updated | 500 | The procedure was removed, but Cadreen couldn't note that it shouldn't learn it again. The message says whether it is marked revoked. Try again to write the note. |
prompt_not_linked | 409 | This prompt can't be found to remove, so nothing was revoked. Cadreen's team has been told. Contact support if it matters. |
learned_pattern_changed | 409 | Someone else changed this pattern while you were revoking it, so it wasn't marked revoked. The message says what this attempt removed. Look at it again, then try again. |
revoke_not_recorded | 500 | The revoke couldn't be recorded. Try again. If it keeps failing, contact support. |
revoked_pattern_not_removed | 500 | The revoke was recorded, but the saved pattern couldn't be removed. Revoke it again to finish. |
search_failed | 500 | The search didn't finish because of a problem in Cadreen. Try again. If it keeps failing, contact support. |
no_certified_synthetic_examples | 409 | The run chose made-up examples, and none is certified for it. Check your made-up examples first, or start the run without them. |
scenario_not_found | 404 | No scenario has this id in this workspace. List the scenarios to find the one you mean. |
read_aloud_not_set_up | 409 | Read-aloud isn't available because no voice is set up for it. Trying again changes nothing. Contact support. |
learn_unavailable | 503 | Learn isn't available. |
learn_free_courses_full | 409 | Today's free courses are all taken, so no course was started. Come back tomorrow to start one. |
learn_free_courses_unchecked | 424 | Free courses couldn't be checked, and nothing was started. Try again. |
learn_lesson_failed | 424 | Exercises for this lesson couldn't be written. Try again. |
learn_tutor_failed | 424 | The tutor couldn't answer. Try again. |
learn_roleplay_failed | 424 | This conversation couldn't be set up. Try again. |
learn_roleplay_reply_failed | 424 | The other side of the conversation couldn't answer. Say it again. |
learn_questions_failed | 424 | Your questions couldn't be written: the message says why, and whether what the AI used was charged. Please try again. |
learn_not_set_up | 409 | No model is set up for the part that writes a course's questions, so nothing was started and nothing was charged. Contact support. |
learn_task_not_found | 404 | That task couldn't be found. |
learn_unsupported_file | 400 | This file isn't a photo or a recording that can be read. Use a JPEG, PNG or WebP photo, or an MP3, M4A, WebM, OGG or WAV recording. |
learn_email_not_verified | 400 | This account's email address isn't confirmed. Confirm it from the sign-in page, then start a course. |
learn_weekly_email_not_verified | 400 | Your sign-in's email address isn't verified. Verify it, sign in again, then turn this on. |
learn_bot_check_failed | 403 | Checking that you're a person didn't work. Try again, or sign in to start your free course. |
invalid_depthinvalid_partinvalid_iteminvalid_asideinvalid_explain_style | 400 | A required field is missing or isn't valid: the depth (-2 to 2), how the learner likes things explained (style), the course part (module_index), the item (kind, item_id and show), or whether to set a task aside (aside). Send it and try again. |
Support
| Code | HTTP | What happened, and what to do |
|---|---|---|
ticket_not_found | 404 | No ticket in this workspace has that id. List the tickets to find the one you mean. Nothing was changed. |
queue_not_found | 404 | No queue in this workspace has that id. List the queues to find the one you mean. Nothing was changed. |
team_not_found | 404 | No team in this workspace has that id. List the teams to find the one you mean. Nothing was changed. |
category_not_found | 404 | No category in this workspace has that id. List the categories to find the one you mean. Nothing was changed. |
not_a_support_worker | 403 | You aren't one of the people who work this workspace's tickets. An owner or admin can change who may, in the Support settings. |
ticket_closed | 409 | This ticket is closed for good. A reply to it starts a new ticket linked to it. Nothing was changed. |
ticket_finished | 409 | This ticket is solved or closed, so it can't be handed to anyone or taken off anyone. Reopen it first. Nothing was changed. |
ticket_transition_not_allowed | 409 | A ticket can't move between those two statuses. Nothing was changed. |
ticket_already_claimed | 409 | Someone already has this ticket: details.assignee_id says who. Nothing was changed. |
assignee_not_eligible | 422 | That person may not work this ticket: they aren't one of the people who work tickets here, or they aren't on the ticket's queue's team. Nothing was changed. |
person_not_a_member | 422 | That person isn't a member of this workspace, so they can't be given a ticket, put on a team or made its lead. Nothing was changed. |
category_retired | 409 | That category is retired and can't be given to a ticket. Pick one that isn't. Nothing was changed. |
queue_archived | 400 | That queue is archived, so a ticket or a rule can't be given to it. Choose a queue that isn't archived, or bring that one back first. Nothing was changed. |
support_name_taken | 409 | This workspace already has a team or a queue with that name (capitals don't count). Pick another. Nothing was changed. |
triage_queue_exists | 409 | This workspace already has a triage queue, where tickets no rule matched wait. Archive it first to make another. Nothing was changed. |
team_in_use | 409 | A live queue or the setting for who may work tickets still uses this team. Change those first, then archive the team. Nothing was changed. |
ticket_not_closed | 409 | Only a closed ticket can be archived. Close the ticket first, then archive it. Nothing was changed. |
category_locked | 409 | A person chose this ticket's category, so only a person can change it: a rule, a form or a key can't. Nothing was changed. |
message_body_already_erased | 409 | This message's words were already erased. Nothing was changed. |
erasure_target_not_found | 404 | No customer, identity or erasure request with that id is in this workspace. Check the id, and that you are in the workspace it came from. Nothing was changed. |
erasure_unavailable | 409 | Erasure requests aren't available here. Nothing was changed. |
support_retry_unavailable | 409 | Support can't save this safely here, so nothing was saved. Contact support. |
category_key_taken | 409 | This workspace already has a category with that key. A key is never changed or reused: pick another. Nothing was changed. |
category_limit_reached | 409 | This workspace has the most categories it can have (100). Retire one you no longer use, then try again. Nothing was changed. |
category_too_deep | 409 | A category can have at most two levels: its parent can't have a parent of its own. Pick a top-level category as the parent. Nothing was changed. |
macro_not_found | 404 | No macro with that id is in this workspace, or it is a personal macro of someone else (those can't be seen). Check the id in the list of macros. |
macro_archived | 409 | This macro is archived, so it can't be edited or pressed. Make a new macro from it. Nothing was changed. |
macro_limit_reached | 409 | This workspace has the most macros it can have (1,000). Archive one you no longer use, then try again. Nothing was changed. |
macro_scope_locked | 409 | A macro's scope and team are fixed when it is made. Make a new macro with the scope you want. Nothing was changed. |
macro_action_unavailable | 409 | This macro has a step that isn't available: asking a person to approve. It can be saved, but pressing it is refused. Take the step out to press it. Nothing was changed. |
macro_queue_missing | 409 | This macro hands the ticket to a team or a role that has no queue, so there is nowhere to put it. Make a queue for that team or role, or take the step out. Nothing was changed. |
macro_variable_missing | 422 | This macro writes a value Cadreen doesn't have for this ticket (the customer's name, say), and the macro has no "use this instead" text for it. The variable is in details. Add a fallback to the macro, then press it again. Nothing was changed. |
survey_kind_unknown | 400 | The survey kind isn't one Cadreen knows. Use csat. |
survey_kind_not_available | 400 | That kind of survey isn't available. Use csat. |
survey_scale_points | 400 | The scale has a number of points Cadreen can't use. Use 2 or 5. Nothing was saved. |
survey_scale_labels | 400 | The scale needs one short label for each point. Fix the labels. Nothing was saved. |
survey_scale_direction | 400 | Say which end of the scale is good: higher_is_better or lower_is_better. Nothing was saved. |
survey_positive_from | 400 | The point from which an answer counts as good is outside the scale. Pick one on the scale. Nothing was saved. |
survey_question_invalid | 400 | The question is empty, too long or has characters that can't be shown. Rewrite it. Nothing was saved. |
survey_comment_prompt_invalid | 400 | The comment prompt is too long or has characters that can't be shown. Rewrite it. Nothing was saved. |
survey_no_channels | 400 | Choose at least one channel to send the survey on. Nothing was saved. |
survey_channel_unknown | 400 | One channel isn't one Cadreen sends surveys on. Use email or chat. Nothing was saved. |
survey_channel_duplicate | 400 | A channel is listed twice. List each once. Nothing was saved. |
survey_delay_range | 400 | The wait before sending is outside the allowed range (0 to 30 days). Nothing was saved. |
survey_cap_range | 400 | How many days between surveys to one customer is outside the allowed range (0 to 90). Nothing was saved. |
survey_link_life_range | 400 | How long the link lasts is outside the allowed range (1 hour to 30 days). Nothing was saved. |
survey_floor_range | 400 | The number of answers needed before a percentage shows is outside the allowed range (1 to 1000). Nothing was saved. |
survey_unknown_field | 400 | The survey has a field Cadreen doesn't know. Remove it. Nothing was saved. |
survey_not_found | 404 | There is no such survey version in this workspace. |
survey_link_unavailable | 404 | This survey link doesn't work: it was never valid, it was already used, or it ran out. Everyone who tries a link like that gets this same answer. Nothing was changed. If you still want to give feedback, send the team a new message. |
survey_stop_unavailable | 404 | This link doesn't work: it was never valid or it has run out. Everyone who tries a link like that gets this same answer. Nothing was changed. If you still want to stop survey emails, send the team a new message. |
survey_open_first | 409 | The survey page has to be opened before an answer can be sent. Open the link in a browser, then send your answer. |
survey_answer_invalid | 400 | The answer isn't one of the choices on the page. Choose one, then send it. |
survey_comment_invalid | 400 | The comment is too long (2000 characters at most) or has a character that can't be kept. Shorten it, then send it again. |
survey_unavailable | 503 | The survey can't be opened. Try the link again. |
surveys_unavailable | 503 | Surveys aren't available. Try again. Nothing was changed. |
test_chat_ended | 409 | This test chat has ended. Send a message to start a new one. |
test_chat_no_email | 409 | A test chat sends no email, so nothing was sent. A real visitor's chat can send one. |
test_chat_unavailable | 424 | The test chat isn't available, so nothing was started. This can't be fixed from here: contact support. |
widget_off | 409 | The chat widget is off, so the test chat can't start. A workspace admin turns it on in Support, then try again. |
chat_unavailable | 503 | Chat isn't available, so no new chat was started. Nothing was sent. Try again; if it stays, contact support. |
widget_unavailable | 404 | There is no chat widget with that id, or it is turned off. Check the widget id in your embed code, and that the widget is on. Nothing was sent. |
origin_not_allowed | 403 | The site this chat call came from isn't one of the widget's allowed sites. A workspace admin adds the site's exact address (https://host or https://host:port, no path, no wildcard) to the widget's allowed sites. Nothing was sent. |
visitor_token_invalid | 401 | The visitor token isn't this widget's, was changed, or has ended (it lasts 7 days from the last message, and every message gives a fresh one; ending a widget's visitor tokens ends all of them). Start the chat again without a token. Nothing was sent. |
signed_identity_invalid | 401 | The signed identity from your backend didn't verify: it must be an HS256 token signed with the widget's secret (the current one, or the previous one for a day after a change), carry external_id and an exp no more than a day ahead, and not be issued in the future. Send the message without it to chat as an anonymous visitor. Nothing was sent. |
identity_conflict | 409 | Not expected from the chat any more: a browser that belongs to one signed-in customer and is handed another's signed identity starts a new conversation for the second instead (the first stays as it was). If it is ever returned, start a new chat with no visitor token. Nothing was moved and nothing was sent. |
history_requires_proof | 403 | Earlier chats are shown only to a visitor who proved who they are in this conversation: the customer's signed identity sent with a message, or a confirmed email address. A typed email, or a proof from an earlier visit, shows nothing. Offer the visitor the way to confirm, then read the history again. |
reply_email_unavailable | 503 | Replying by email isn't available for your workspace (it needs mail for replies and for the confirmation link), so the visitor can't leave an address. Nothing was saved or sent. Offer no email field, or tell the visitor to stay on the page. |
reply_email_invalid | 400 | The address isn't one that can be mailed. Ask the visitor to check it. Nothing was saved. |
proof_unavailable | 503 | Confirming an email address by link isn't available for your workspace. Nothing was sent. Offer no confirm-by-email step. |
proof_link_invalid | 400 | The confirmation link was never made, was already opened, was replaced by a newer one, has run out or is for another widget. It is the same answer for each. Ask the visitor to request a new link. |
proof_code_invalid | 400 | The six-digit code isn't one that can confirm this chat: it is wrong, has run out, was already used, has been tried too many times, or no link was opened for this chat. It is the same answer for each. The code is typed into the chat that asked for the link; ask for a new link if it keeps failing. |
proof_conflict | 409 | The code was right but the address already belongs to a different customer than this chat's visitor, so nothing was joined and the code is spent. Support can sort it out; the visitor can carry on without their earlier chats. |
history_before_invalid | 400 | The before value isn't one the history gave. Pass next_before from the page before, exactly as it came, or leave it out for the first page. |
chat_not_started | 404 | This visitor hasn't sent a message, so there is no chat to stream. A chat begins with the first message: send it, then open the stream. |
chat_busy | 503 | Cadreen (or this organization) has as many chat streams open as it allows. The Retry-After header says how long to wait; open the stream again with the same Last-Event-ID. Nothing was lost: the conversation is read from the ticket. |
message_in_progress | 409 | A request with this message_key is being made, so this one waits. The Retry-After header says how long (2 seconds). Send the same message with the same message_key again: it is answered with the first request's result and is never sent twice. |
message_key_used | 409 | This message_key already belongs to another visitor's message, so it can't be used again here. Make a new random message_key (16 to 64 letters, digits, _ or -) for each new message and keep it only for that message's retries. |
chat_too_many_tabs | 429 | This chat is already open in three tabs. Close one, then open the stream again. |
chat_rate_limited | 429 | A chat limit is spent: this visitor's messages, new chats from this address or this organization's, or all chat messages of the organization. The Retry-After header says how many seconds to wait. Nothing was sent. Waiting is the whole fix. |
challenge_required | 403 | This address needs a bot check before it can start another chat. Show the check named in details (details.challenge, with the public site_key), then send the same message again with its token as challenge_token. If no bot check is available, the start stays refused. Nothing was sent. |
challenge_failed | 403 | The bot check's token didn't pass (it may have expired, been used already, or been made for another page or purpose: render the check with action chat_start on the chat's own page). Run the check again and send the message with the new token. Nothing was sent. |
widget_archived | 409 | This chat widget is archived. Restore it first, then turn it on. Nothing was changed. |
widget_not_found | 404 | There is no chat widget with that id in this workspace. List the workspace's widgets to see their ids. |
chat_secret_unavailable | 503 | Signed identities can't be set up for your workspace. Nothing was changed. This can't be fixed from here. Contact support. |
message_invalid | 400 | A chat message is 1 to 4,000 characters. Nothing was sent. |
usage_limit | 503 | The workspace's plan allowance for chat sessions this month is used up, so a new chat can't start. Conversations already open can go on. Nothing was sent. |
chat_ended | 409 | This chat has ended (its customer record was deleted, or its ticket can't take more messages). Start a new chat. Nothing was sent. |
macros_unavailable | 503 | Macros aren't available. Try again. Nothing was changed. |
answerer_unavailable | 424 | The settings for Cadreen's answers couldn't be read or saved, or answering couldn't be turned on. Nothing was changed. Try again. (A 409 with this code means Cadreen's answers aren't available here.) |
answer_source_not_found | 404 | That isn't available to mark here. Nothing was changed. |
answer_source_not_allowed | 409 | Cadreen can answer only from a document shared in this workspace or a workspace macro, and not from an archived one. Nothing was changed. |
answer_sources_full | 409 | This document would take Cadreen past the most it can read, 2,000 passages (short pieces of your documents). Unmark a document it uses, then try again. Nothing was changed. |
daily_cap_required | 409 | Set a daily spending limit before turning on Cadreen's answers. Nothing was changed. |
daily_cap_below_one_answer | 409 | This daily limit is too low for one answer. Set a daily limit of at least the figure the message gives. Nothing was changed. |
support_disclosure_not_published | 409 | Cadreen's answers can't be turned on: the terms that tell customers that Cadreen answers their messages first aren't published. Nothing was changed. |
support_answer_label_not_chosen | 409 | Cadreen's answers can't be turned on: the label that tells customers an answer is Cadreen's isn't chosen. Nothing was changed. |
macro_body_too_long | 400 | The macro's message is too long. Shorten it. Nothing was saved. The path of the problem is in details. |
macro_too_many_segments | 400 | The macro's message has too many pieces. Shorten it. Nothing was saved. The path of the problem is in details. |
macro_empty_segment | 400 | The macro's message has an empty piece. Remove it. Nothing was saved. The path of the problem is in details. |
macro_unknown_variable | 400 | The macro uses a placeholder that isn't one of the nine Cadreen knows. Pick one from the list. Nothing was saved. The path of the problem is in details. |
macro_placeholder_text | 400 | The macro's text has curly brackets that look like a placeholder and would be sent as written. Pick the placeholder from the list instead. Nothing was saved. The path of the problem is in details. |
macro_control_character | 400 | The macro's text has a character that can't be sent. Retype that part. Nothing was saved. The path of the problem is in details. |
macro_fallback_too_long | 400 | A "use this instead" text in the macro is too long. Shorten it. Nothing was saved. The path of the problem is in details. |
macro_unknown_action | 400 | The macro has a step Cadreen doesn't know. Use one of the eight kinds. Nothing was saved. The path of the problem is in details. |
macro_action_field_not_for_kind | 400 | A step has a setting that doesn't belong to its kind. Remove it. Nothing was saved. The path of the problem is in details. |
macro_bad_status | 400 | A step sets a status that macros can't set (new or closed, or one that doesn't exist). Use open, pending, on_hold or solved. Nothing was saved. The path of the problem is in details. |
macro_bad_priority | 400 | A step sets a priority Cadreen doesn't know. Use low, normal, high or urgent. Nothing was saved. The path of the problem is in details. |
macro_bad_category | 400 | A step names a category that isn't a valid id. Nothing was saved. The path of the problem is in details. |
macro_bad_tag | 400 | A tag isn't valid. Use lowercase letters, numbers, dashes and underscores, up to 40. Nothing was saved. The path of the problem is in details. |
macro_bad_assignee | 400 | A step assigns the ticket to someone who isn't valid. Nothing was saved. The path of the problem is in details. |
macro_bad_name | 400 | A macro's name is 1 to 80 characters, on one line. Nothing was saved. The path of the problem is in details. |
macro_bad_scope | 400 | The macro's scope and team don't match: a team macro names a team, the others don't. Nothing was saved. The path of the problem is in details. |
macro_bad_version | 400 | The macro's version isn't valid. Nothing was saved. The path of the problem is in details. |
macro_empty | 400 | The macro does nothing. Give it a message or a step. Nothing was saved. The path of the problem is in details. |
macro_body_without_reply | 400 | The macro has a message but no send_reply step. Add the step or remove the message. Nothing was saved. The path of the problem is in details. |
macro_reply_without_body | 400 | The macro has a send_reply step but no message. Write the message. Nothing was saved. The path of the problem is in details. |
macro_duplicate_action | 400 | The macro has the same kind of step twice (only add_tag can repeat, with different tags). Keep one. Nothing was saved. The path of the problem is in details. |
macro_too_many_actions | 400 | The macro has too many steps. Twelve at most. Nothing was saved. The path of the problem is in details. |
macro_note_body_missing | 400 | A note step has no text. Nothing was saved. The path of the problem is in details. |
macro_reason_body_missing | 400 | An approval step has no reason for the approver. Nothing was saved. The path of the problem is in details. |
macro_unknown_channel | 400 | The macro can't be written for that channel. Nothing was saved. The path of the problem is in details. |
routing_rule_invalid | 400 | A routing rule can't be used as written: details.index says which rule and details.problem what is wrong (a field a rule may not read, an operator it may not use, a value of the wrong shape, an empty name). Rules read a ticket's channel, category, language and priority, and nothing about the customer. Nothing was published. |
sla_invalid | 400 | A calendar or a service-level policy can't be used as written: details.problem says what is wrong (a time zone that isn't an IANA name, windows that overlap or leave the day, a missing priority, a target outside 1 to 525600 minutes, two steps at one percent, a step that names nobody it can tell). Nothing was published. |
calendar_not_found | 404 | No calendar with that id in this workspace. List the calendars first, or publish one without a calendar_id to make a new one. |
Platform admin
| Code | HTTP | What happened, and what to do |
|---|---|---|
api_address_unknown | 503 | Cadreen can't give out a base URL or check a new key against it, so nothing was created. This is a problem in Cadreen; contact support. |
api_reference_unavailable | 503 | Cadreen can't publish its API reference. Try again; if it keeps failing, contact support. |
human_required | 403 | Only a signed-in person can do this, not an API key. Sign in and try again. |
alerts_unavailableinbox_unavailableledger_status_unavailableplatform_wallets_unavailableledger_action_failed | 500 | This screen for Cadreen's team couldn't read or record what it needed because of a problem in Cadreen. Nothing was changed. Try again; if it keeps failing, check Cadreen's log. |
wrong_stateagent_payment_stateexit_changedno_loan_waitingnot_deadnot_needs_attentionnothing_owednothing_to_decideplatform_review_decidedtopup_not_credited | 409 | This isn't in a state that allows that: it was already decided, sent or settled, it changed since your list showed it, or there is nothing owed or waiting. Nothing was changed. Reload it to see where it stands. |
not_ready | 409 | This isn't ready for what you asked, so nothing was changed. Read the message to see what is missing. |
lane_busyflush_running | 409 | Another process is sending this tenant's debits or applying this provider's events. Nothing was changed. Try again. |
earlier_attempt_unconfirmed | 409 | An earlier try to send this never got an answer, so it may already have been paid, and giving the money back could pay twice. Check the provider, then say whether it was paid (confirm_paid or confirm_not_paid). Nothing was changed. |
grant_already_recorded | 409 | That credit grant is already recorded on another refund. Nothing was changed. |
unreadable_not_retryable | 409 | This delivery's event type couldn't be read when it arrived, so nothing in Cadreen can apply it. Nothing was changed. Compare it with the provider's dashboard and resolve it with a reason. |
invalid_range | 400 | The from and to of a bulk resolve must be times like 2026-11-22T00:00:00Z. Nothing was changed. |
bulk_filter_incomplete | 400 | A bulk resolve needs the provider, the consumer, one event type, and a date range where from is before to. Nothing was changed. |
money_back_confirmation_required | 400 | This event type says money back (a refund, dispute, chargeback, reversal, clawback, return or recall), and closing it in bulk could close real reversals under one reason. Add confirm_money_back: true if you mean it, or close them one at a time. Nothing was changed. |
bulk_matching_changed | 409 | A different number of events match than the dry run showed, so new ones arrived. Nothing was closed. Run the dry run again, look at the new ones, then confirm with the new matching as expected_matching. |
database_unavailable | 503 | Cadreen has no database connection, so no migration was run. Try again once it is connected. |
migrations_failedexternal_api_migrations_failed | 500 | The migrations couldn't all be applied. The reason is in Cadreen's log; once it is fixed, run them again. If it keeps failing, contact support. |
registry_sync_unavailable | 503 | The tool registry sync isn't running, so there is no report to read. Try again; if it keeps failing, contact support. |
invalid_value | 400 | A setting is out of range. The audit log can be kept for 1 to 365 days. Send a number in that range. |
db_role_check_failed | 503 | The database role couldn't be checked. Try again. |
run_already_active | 409 | An integrity run is already in progress (the answer names it), so none was started. Wait for it, or cancel it. |
no_running_runno_paused_runno_active_runintegrity_run_failed | 400 | No integrity run is running, paused or active to pause, resume or cancel, or the run couldn't be changed. Check the run's state first, then try again. |
audit_scope_missing | 500 | The audit trail couldn't be read. Try again. If it keeps failing, contact support. |
failed_to_list_actionsfailed_to_get_actionfailed_to_get_mission_replayfailed_to_get_mission_timelinefailed_to_query_actionsfailed_to_count_actionsfailed_to_get_statsfailed_to_verify_chain_integrity | 500 | The audit trail (actions, a replay, a timeline, counts, stats or the chain check) couldn't be read because of a problem in Cadreen. Try again. If it keeps failing, contact support. |
invalid_path | 400 | The address of this request isn't valid: an id is missing from the path. Use the full address with the id. |
invalid_action_id | 400 | The action id isn't a valid id. Take it from the list of actions. |
mailbox_unavailable | 424 | Your messages couldn't be reached, so nothing was changed. Try again. |
sending_check_unavailable | 424 | Whether every address can be reached couldn't be checked, so nothing was sent. Try again. |
domain_setup_unavailable | 424 | The domain's setup couldn't be read or changed, so nothing was changed. Try again. |
address_taken | 409 | That address is already an inbox or another inbox's address. Choose another. Nothing was created or changed. |
already_done | 409 | This conversation is already in Done. Nothing was moved. |
domain_in_use | 409 | This domain still has inboxes or other addresses. Remove them, or move them to another domain, first. Nothing was removed. |
files_too_large | 413 | The files add up to more than 25 MB. Send fewer or smaller files. Nothing was sent. |
folder_required | 400 | A list of mail needs a folder or a search. Choose one. |
from_not_yours | 400 | A message can be sent only from one of the inbox's own addresses. Choose one of them. Nothing was sent. |
inbox_receives_catch_all | 409 | This inbox receives the mail sent to unassigned addresses on a domain. Choose another inbox for that first. Nothing was removed. |
invalid_domain | 400 | Enter a domain you own, such as example.com, without www or https. Nothing was added. |
invalid_file | 400 | One of the files wasn't attached. Attach it again. Nothing was sent, and a draft keeps what it had. |
invalid_address_filter | 400 | Choose one of the addresses this inbox receives for, or All mail. |
invalid_position | 400 | The position is a whole number of conversations from the top of the list. |
invalid_until | 400 | Choose a time from a minute from now to a year ahead. Nothing was moved. |
key_required | 400 | Each message carries a key, so pressing Send twice sends it once. Reload the page and send again. Nothing was sent. |
last_inbox | 409 | This is the only inbox. Add another before you remove it. Nothing was removed. |
mail_change_refused | 400 | The mail server didn't accept that. Check what you entered. Nothing was changed. |
mail_item_not_found | 404 | That message, conversation, draft or folder isn't in this inbox. It may have been moved, sent or deleted. Reload the list. |
message_too_long | 413 | The message is too long to save or send. Shorten it. Nothing was sent, and a draft keeps what it had. |
receiving_record_missing | 409 | Add the domain's MX record first, so its mail comes here. Then turn on receiving. Nothing was changed. |
recipient_required | 400 | Add at least one address to send to. Nothing was sent. |
recipients_not_reachable | 409 | Sending reaches only your own domains and verified addresses, and the message names the ones it can't reach. Nothing was sent. |
search_too_long | 400 | A search is at most 200 characters. Shorten it. |
send_already_gone | 409 | The message has already gone, so it can't be taken back. |
send_in_progress | 409 | This message is being sent. Wait a few seconds, then press Send again: it won't be sent twice. |
send_refused | 409 | The mail server didn't take this message. Check the addresses and the files, then send again. Nothing was sent. |
too_many_addresses | 400 | An inbox can have at most 50 other addresses. Remove one first. Nothing was changed. |
too_many_files | 400 | A message can carry at most 10 files. Nothing was sent, and a draft keeps what it had. |
too_many_passwords | 409 | An inbox can have at most 20 app passwords. Remove one you no longer use. Nothing was created. |
too_many_recipients | 400 | A message can go to at most 100 addresses. Nothing was sent, and a draft keeps what it had. |
mail_import_unavailable | 424 | The mail couldn't be reached where it is, or here, so nothing was changed. Try again. |
app_password_needed | 400 | The account asks for an app password, not its own password. Make one in the account's security settings and paste it here. Nothing was brought in. |
certificate_invalid | 400 | The mail host's certificate isn't valid for its name, so it wasn't trusted. Check the host's name. Nothing was brought in. |
host_not_allowed | 400 | That host is inside a private network, and mail is brought in only from hosts on the internet. Nothing was brought in. |
host_unknown | 400 | No mail host answers to that name. Check how it is spelled. Nothing was brought in. |
imap_off | 400 | IMAP is turned off for this account. Turn it on in the account's mail settings, then try again. Nothing was brought in. |
inbox_unknown | 400 | Choose one of your inboxes for the mail to go into. Nothing was started. |
invalid_list | 400 | Ask for one of the import's lists: here, imported, copies, failed or missing. |
mail_import_invalid | 400 | Check the host, the port, the user name and the password. A host is a name such as imap.example.com. Nothing was changed. |
mail_import_not_found | 404 | That import isn't one of yours here. Nothing was changed. |
mail_import_state | 409 | The import has moved on since the page was loaded. Reload it to see where it is. Nothing was changed. |
sign_in_refused | 400 | The mail host didn't accept that user name and password. Check both and try again. Nothing was brought in. |
source_limit | 429 | The mail host says it has been read too much. Wait, then try again. Nothing was brought in. |
credit_items_unavailable | 503 | Out-of-credit alerts aren't available. |
credit_not_recorded | 500 | Couldn't record that credit was added. Try again. |
no_credit_item | 409 | This key isn't marked as out of credit, so there is nothing to clear. |
not_a_platform_key | 400 | Only the platform's model keys are watched for credit. |
escalations_unavailable | 503 | Faults on Cadreen's side can't be closed. |
invalid_escalation_reason | 400 | Say why it is closed: fixed, or not_a_fault. Nothing was changed. |
escalation_not_found | 404 | No open fault has that reference. It may already be closed. |
escalation_not_closed | 500 | Couldn't close it. Try again. |
email_settings_unavailable | 409 | Product email settings can't be changed here. The email settings in use still apply. |
email_settings_failed | 500 | The product email settings couldn't be read or saved. Nothing was changed. Try again. |
invalid_email_provider | 400 | Choose Brevo or Cloudflare. Nothing was saved. |
invalid_email_settings | 400 | The chosen provider is missing something it needs, like a key or an account id. Nothing was saved. |
nothing_to_save | 400 | Nothing was entered, so nothing was saved. |
no_admin_email | 400 | Your sign-in has no email address, so the test email has nowhere to go. |
Recovery after failures
For tool failures and execution errors, Cadreen has a healing subsystem that diagnoses root causes and records recoveries:
POST /api/v1/cadreen/healing/diagnose— Diagnose a failure by error message, category, and tool name. Returns root cause, confidence, and recovery strategy.GET /api/v1/cadreen/healing/precedents— Browse past recoveries to find a pattern that matches your failure.
What not to do
Common integration mistakes and how to avoid them.
- 1Do not parse prose to decide what happened. Always branch on
type,status, orintelligence.governance.reason_code. Message content strings may change phrasing. - 2Do not ignore governance gates. When the
X-Cadreen-Gateheader saysblocked(a blocking gap:intelligence.humility.blockingis above 0), do not retry without resolving it first. The header is sent on a successful answer, only with the audit profile and by routes that write their own intelligence object, and not when the rules could not be read (intelligence.governance.unavailableis true) unless a blocking gap makes itblocked; otherwise readintelligence.governanceandintelligence.humility. - 3Do not retry blindly. Check
intelligence.governanceandnext_actionfirst. Retries without resolving the root cause are wasted calls and will hit the same block. - 4Do not store secrets in memory items. Use
POST /api/v1/cadreen/credentialsfor API keys, tokens, and secrets. Memory items are queryable and shareable — credentials are encrypted at rest and never surfaced in traces. - 5Do not treat
intelligence.process.duration_msas SLA. It varies with model latency and system load. UseX-Cadreen-Trace-IDfor observability, not timing contracts. - 6Do not hard-code field paths inside
intelligence. Use thefield_stability.stablelist to know what is safe to depend on. Fields inevolvingmay change. - 7Do not discard the setup response.
POST /api/v1/cadreen/setupreturns your installation checklist: connections to register, memory to upload, rules to confirm, and webhooks to configure. Revisit it as your integration grows.