# 错误代码

API 返回和控制台显示的每个错误都带有一个稳定的 `code`；API 的回答还带有 `doc_url`，即指向下文对应条目的链接。每个条目说明该代码的含义，并链接到其所属类别页面上的完整说明：最常见的原因、应如何处理以及由谁处理。

## 错误回答包含的内容

- `error`：面向人员的一句话，使用英文。其内容可能变化：切勿在代码中检测它。
- `code`：稳定的标识符。请检测这一字段。
- `doc_url`：指向本页该代码章节的链接，使用您部署自身的地址。
- `field`：对于 `validation_failed`，指出请求中被拒绝的字段，以点分路径表示。
- `refusal`：针对网关拒绝的调用，在开启自带说明的拒绝时提供：阻止了什么、原因、哪条规则及其负责人、合规的选项，并使用调用方的语言。

此处未列出的代码只属于某个页面或某个路由，其消息会说明应如何处理。

## 访问与登录

[查看此类别的全部完整条目](https://www.azothos.ai/zh/docs/errors/access)

- [`session_required`](https://www.azothos.ai/zh/docs/errors/access#session_required) — 请求未携带有效会话：它在未登录的情况下访问了仪表板路由。
- [`session_expired`](https://www.azothos.ai/zh/docs/errors/access#session_expired) — 该会话已超过此部署允许的最长会话时长，因此即使仍在刷新也会被拒绝。
- [`mfa_challenge_required`](https://www.azothos.ai/zh/docs/errors/access#mfa_challenge_required) — 您的账户已启用双因素认证，而此会话尚未完成该认证。
- [`workspace_required`](https://www.azothos.ai/zh/docs/errors/access#workspace_required) — 请求未指明其所针对的工作区。
- [`forbidden`](https://www.azothos.ai/zh/docs/errors/access#forbidden) — 您的账户已登录，但无权访问该请求所指的内容。
- [`not_a_member`](https://www.azothos.ai/zh/docs/errors/access#not_a_member) — 您已登录，但不是此请求所指工作区的成员。
- [`admin_required`](https://www.azothos.ai/zh/docs/errors/access#admin_required) — 此操作仅限工作区的所有者和管理员。
- [`owner_required`](https://www.azothos.ai/zh/docs/errors/access#owner_required) — 此操作仅限工作区的所有者。
- [`mfa_required_by_workspace`](https://www.azothos.ai/zh/docs/errors/access#mfa_required_by_workspace) — 该工作区要求每位成员使用双重身份验证登录。
- [`mfa_enrolment_required`](https://www.azothos.ai/zh/docs/errors/access#mfa_enrolment_required) — 该工作区要求其所有者和管理员在更改角色、保留期限、API 密钥、治理模式或规则之前启用双重身份验证。
- [`membership_lookup_failed`](https://www.azothos.ai/zh/docs/errors/access#membership_lookup_failed) — Azoth 无法核实您的成员身份，因此选择拒绝，而不是猜测。
- [`csrf_origin_mismatch`](https://www.azothos.ai/zh/docs/errors/access#csrf_origin_mismatch) — 该请求来自应用无法识别的网址，为保护您免受跨站请求攻击而被拒绝。
- [`second_admin_required`](https://www.azothos.ai/zh/docs/errors/access#second_admin_required) — 此操作需要第二个人批准，而该工作区只有一位所有者或管理员。
- [`reviewer_must_differ_from_declarant`](https://www.azothos.ai/zh/docs/errors/access#reviewer_must_differ_from_declarant) — 授权须由申报人以外的人员审核。
- [`email_not_verified`](https://www.azothos.ai/zh/docs/errors/access#email_not_verified) — 您的电子邮件地址尚未确认。
- [`captcha_failed`](https://www.azothos.ai/zh/docs/errors/access#captcha_failed) — 表单的人机验证未通过。
- [`invalid_credentials`](https://www.azothos.ai/zh/docs/errors/access#invalid_credentials) — 该邮箱地址和密码无法打开任何账户。
- [`email_domain_not_accepted`](https://www.azothos.ai/zh/docs/errors/access#email_domain_not_accepted) — 使用一次性邮箱服务地址的注册会被拒绝。
- [`professional_use_required`](https://www.azothos.ai/zh/docs/errors/access#professional_use_required) — Azoth OS 仅向企业和专业人士提供：只有在声明用于企业或专业活动后才会开立账户。
- [`weak_password`](https://www.azothos.ai/zh/docs/errors/access#weak_password) — 注册因密码过弱而被拒绝。
- [`support_access_required`](https://www.azothos.ai/zh/docs/errors/access#support_access_required) — 未经所有者批准，Azoth 的工作人员无法开启对此工作区数据的访问。
- [`permission_denied`](https://www.azothos.ai/zh/docs/errors/access#permission_denied) — 您在此工作区中的角色不具备此操作所需的权限。
- [`invitee_already_member`](https://www.azothos.ai/zh/docs/errors/access#invitee_already_member) — 邀请用于将某人加入工作区；它绝不会更改已是成员者的角色。此地址属于一名成员，因此未创建邀请。
- [`invite_role_not_allowed`](https://www.azothos.ai/zh/docs/errors/access#invite_role_not_allowed) — 邀请在被接受时授予其角色，依据的是发送者的权限：可为工作区中除所有者以外的任何角色。所请求的角色不在其中，因此未创建邀请。
- [`already_a_member`](https://www.azothos.ai/zh/docs/errors/access#already_a_member) — 您打开了一个您已是成员的工作区的邀请。该邀请已被使用且未做任何更改：您的角色保持不变。
- [`org_invitee_already_member`](https://www.azothos.ai/zh/docs/errors/access#org_invitee_already_member) — 邀请用于将某人加入组织，绝不会更改已是成员者的角色。此地址属于一名成员，因此未创建邀请。
- [`already_an_org_member`](https://www.azothos.ai/zh/docs/errors/access#already_an_org_member) — 您打开了一个您已是成员的组织的邀请。该邀请已被使用且未做任何更改：您的角色保持不变。
- [`feature_disabled`](https://www.azothos.ai/zh/docs/errors/access#feature_disabled) — 此路由所属的模块未在本部署中启用。
- [`assistant_disabled`](https://www.azothos.ai/zh/docs/errors/access#assistant_disabled) — 该工作区已关闭其助手：无论在应用内、聊天应用中还是通过 API，都不再有任何内容回答其问题。
- [`origin_not_allowed`](https://www.azothos.ai/zh/docs/errors/access#origin_not_allowed) — 浏览器从另一个网站的页面发送了此请求。MCP 端点只响应 MCP 客户端或本部署的页面——绝不响应其他网站的页面，否则这类页面可能借由打开它的人的浏览器访问这些端点。
- [`capability_off`](https://www.azothos.ai/zh/docs/errors/access#capability_off) — 此功能在本部署中运行，工作区的套餐也包含它，但工作区自行将其关闭。
- [`cannot_remove_self`](https://www.azothos.ai/zh/docs/errors/access#cannot_remove_self) — 在此处任何人都不能将自己移出工作区：由所有者或管理员移除其他成员。
- [`last_owner`](https://www.azothos.ai/zh/docs/errors/access#last_owner) — 工作区始终至少保留一位所有者：最后一位所有者既不能被移除，也不能更改角色。
- [`org_admin_required`](https://www.azothos.ai/zh/docs/errors/access#org_admin_required) — 只有组织的管理员才能向其中添加工作区。
- [`owner_mfa_first`](https://www.azothos.ai/zh/docs/errors/access#owner_mfa_first) — 要求工作区成员使用双重身份验证，需要您自己的账户先启用它。
- [`invite_daily_limit`](https://www.azothos.ai/zh/docs/errors/access#invite_daily_limit) — 今天发送的邀请邮件过多（发往此地址、由您发送或来自此工作区），因此本封未发送。
- [`sso_required`](https://www.azothos.ai/zh/docs/errors/access#sso_required) — 此地址所属组织通过单点登录让成员登录：使用密码的登录、注册或重置均被拒绝。
- [`member_not_found`](https://www.azothos.ai/zh/docs/errors/access#member_not_found) — 此工作区中没有使用此 ID 的成员。
- [`invite_already_accepted`](https://www.azothos.ai/zh/docs/errors/access#invite_already_accepted) — 此邀请已被接受：一份邀请只能使用一次。
- [`invite_expired`](https://www.azothos.ai/zh/docs/errors/access#invite_expired) — 此邀请已过期，无法再接受。
- [`invite_email_mismatch`](https://www.azothos.ai/zh/docs/errors/access#invite_email_mismatch) — 此邀请发往的电子邮件地址与当前登录账户的不同：只有受邀地址可以接受它。
- [`invite_no_longer_valid`](https://www.azothos.ai/zh/docs/errors/access#invite_no_longer_valid) — 此邀请已失效：发送者已无法再授予邀请中提供的角色。
- [`invite_already_pending`](https://www.azothos.ai/zh/docs/errors/access#invite_already_pending) — 已有一份邀请在等待此地址，因此未创建第二份。
- [`account_email_missing`](https://www.azothos.ai/zh/docs/errors/access#account_email_missing) — 当前登录的账户没有电子邮件地址，而此操作需要一个：邀请通过其地址接受，测试邮件也发往该地址。
- [`org_role_protected`](https://www.azothos.ai/zh/docs/errors/access#org_role_protected) — 在组织中，任何人都不能更改自己的角色，所有者的角色也不会被更改或移除。
- [`signup_failed`](https://www.azothos.ai/zh/docs/errors/access#signup_failed) — 账户无法创建，注册未说明原因。
- [`only_workspace`](https://www.azothos.ai/zh/docs/errors/access#only_workspace) — 这是您账户唯一的工作区，因此不会被单独删除。

## API 密钥与调用所代表的人员

[查看此类别的全部完整条目](https://www.azothos.ai/zh/docs/errors/keys)

- [`api_key_invalid`](https://www.azothos.ai/zh/docs/errors/keys#api_key_invalid) — 随调用发送的 Azoth API 密钥与任何有效密钥都不匹配。
- [`api_key_missing`](https://www.azothos.ai/zh/docs/errors/keys#api_key_missing) — 该调用未携带 Azoth API 密钥。
- [`api_key_scope_denied`](https://www.azothos.ai/zh/docs/errors/keys#api_key_scope_denied) — 该密钥有效，但受到限制——限于某些权限范围（它可调用的 API 部分）、某些连接器或某些环境——而此调用超出了这些限制。在上报时，响应中的 `dimension` 字段说明是哪项限制拒绝了它：`connector` 或 `environment`。
- [`api_key_name_taken`](https://www.azothos.ai/zh/docs/errors/keys#api_key_name_taken) — 工作区中已有一个有效密钥使用了所请求的名称：同一工作区的两个有效密钥不会同名。
- [`api_key_role_denied`](https://www.azothos.ai/zh/docs/errors/keys#api_key_role_denied) — 该密钥有效，但其角色（读取、写入或管理）低于此路由的要求：读取密钥不能调用会写入的路由，导出工作区设置需要管理密钥。
- [`ip_not_allowed`](https://www.azothos.ai/zh/docs/errors/keys#ip_not_allowed) — 该密钥有效，但调用来自工作区 IP 允许列表之外的地址：工作区只接受来自其所列地址的 API 密钥调用。
- [`on_behalf_of_not_allowed`](https://www.azothos.ai/zh/docs/errors/keys#on_behalf_of_not_allowed) — 此调用已被阻止：其 API 密钥不能指明调用所代表的人员。
- [`human_identity_required`](https://www.azothos.ai/zh/docs/errors/keys#human_identity_required) — 此调用已被阻止：它没有指明所代表的人员。
- [`identity_unavailable`](https://www.azothos.ai/zh/docs/errors/keys#identity_unavailable) — 此调用已被阻止：无法核实其所代表的人员。
- [`invalid_on_behalf_of`](https://www.azothos.ai/zh/docs/errors/keys#invalid_on_behalf_of) — `X-Azoth-On-Behalf-Of` 标头不是 Azoth 能读取的人员标识。
- [`key_not_bound_to_agent`](https://www.azothos.ai/zh/docs/errors/keys#key_not_bound_to_agent) — MCP 网关只响应绑定到某个智能体的 API 密钥——由该智能体的授权决定密钥可以调用什么——而此密钥未绑定任何智能体。
- [`invalid_key_identity`](https://www.azothos.ai/zh/docs/errors/keys#invalid_key_identity) — 个人密钥始终代表其所有者：它不能再代表其他人。

## 模型提供商与试用密钥

[查看此类别的全部完整条目](https://www.azothos.ai/zh/docs/errors/providers)

- [`provider_key_rejected`](https://www.azothos.ai/zh/docs/errors/providers#provider_key_rejected) — 模型提供商拒绝了您输入的 API 密钥，因此未保存。
- [`provider_permission_denied`](https://www.azothos.ai/zh/docs/errors/providers#provider_permission_denied) — 模型提供商接受了工作区的 API 密钥，但拒绝了此次调用（HTTP 403）。
- [`provider_key_unusable`](https://www.azothos.ai/zh/docs/errors/providers#provider_key_unusable) — 输入的内容不是提供商接受用于调用模型的 API 密钥，因此未保存。
- [`provider_key_storage_unavailable`](https://www.azothos.ai/zh/docs/errors/providers#provider_key_storage_unavailable) — Azoth 无法加密该密钥，因此未将其存储：此部署目前无法存储提供商密钥。
- [`provider_not_connected`](https://www.azothos.ai/zh/docs/errors/providers#provider_not_connected) — 该调用发往的提供商在此工作区中没有 API 密钥。
- [`provider_model_not_found`](https://www.azothos.ai/zh/docs/errors/providers#provider_model_not_found) — 提供商不提供此模型，或您的密钥无法使用它。
- [`azure_config_required`](https://www.azothos.ai/zh/docs/errors/providers#azure_config_required) — 对 Azure OpenAI 的调用未指明目标资源或部署，因此无法发送。
- [`azure_endpoint_not_allowed`](https://www.azothos.ai/zh/docs/errors/providers#azure_endpoint_not_allowed) — 对 Azure OpenAI 的调用所给的 `azureEndpoint` 不是 Azure OpenAI 主机，因此不会把工作区的密钥发给它。
- [`invalid_azure_deployment`](https://www.azothos.ai/zh/docs/errors/providers#invalid_azure_deployment) — 对 Azure OpenAI 的调用所给的 `azureDeployment` 不是 Azoth 可以放入请求的部署名称。
- [`endpoint_url_not_allowed`](https://www.azothos.ai/zh/docs/errors/providers#endpoint_url_not_allowed) — 要求 Azoth 调用的地址——Ollama 基础 URL、审计导出目标、S3 端点——在发出任何请求之前即被拒绝：它不是公网地址。
- [`ollama_endpoint_missing`](https://www.azothos.ai/zh/docs/errors/providers#ollama_endpoint_missing) — 此调用被拦截：此工作区没有 Ollama 地址。
- [`ollama_endpoint_not_declared`](https://www.azothos.ai/zh/docs/errors/providers#ollama_endpoint_not_declared) — 此调用被拦截：它指定的 Ollama 地址并非此工作区保存的地址。
- [`provider_rate_limited`](https://www.azothos.ai/zh/docs/errors/providers#provider_rate_limited) — 提供商因速率限制或您在其处账户的额度限制而拒绝了该调用。
- [`provider_payment_required`](https://www.azothos.ai/zh/docs/errors/providers#provider_payment_required) — 模型提供商因账单原因拒绝了该调用（HTTP 402，或其错误表明为此类拒绝）。
- [`provider_request_too_large`](https://www.azothos.ai/zh/docs/errors/providers#provider_request_too_large) — 模型提供商拒绝了该调用，因为请求超出了它对该模型可接受的大小（HTTP 413）。
- [`provider_request_rejected`](https://www.azothos.ai/zh/docs/errors/providers#provider_request_rejected) — 模型提供商未处理便拒绝了该调用（HTTP 400、422 或其他 4xx），重试无法解决该原因。
- [`provider_not_supported`](https://www.azothos.ai/zh/docs/errors/providers#provider_not_supported) — 此调用被阻止：一条规则将其发送到此端点无法访问的提供商。
- [`provider_failure`](https://www.azothos.ai/zh/docs/errors/providers#provider_failure) — 提供商没有响应。
- [`onboarding_no_provider`](https://www.azothos.ai/zh/docs/errors/providers#onboarding_no_provider) — 此次首次调用未发送：工作区尚未连接任何模型提供商。
- [`trial_exhausted`](https://www.azothos.ai/zh/docs/errors/providers#trial_exhausted) — Azoth 试用密钥已不再响应此工作区的调用。
- [`trial_unavailable`](https://www.azothos.ai/zh/docs/errors/providers#trial_unavailable) — Azoth 试用密钥无法响应此调用。
- [`trial_limits_exceeded`](https://www.azothos.ai/zh/docs/errors/providers#trial_limits_exceeded) — 此调用超出了 Azoth 试用密钥的响应范围。
- [`trial_not_eligible`](https://www.azothos.ai/zh/docs/errors/providers#trial_not_eligible) — Azoth 试用密钥仅提供给使用 Free 套餐或处于试用期的工作区。
- [`trial_already_used`](https://www.azothos.ai/zh/docs/errors/providers#trial_already_used) — 每人只能使用一次 Azoth 试用密钥。
- [`egress_blocked`](https://www.azothos.ai/zh/docs/errors/providers#egress_blocked) — 此调用被拦截：此部署无法访问 ‹提供商›。
- [`secnumcloud_blocked`](https://www.azothos.ai/zh/docs/errors/providers#secnumcloud_blocked) — 此调用被拦截：该提供商未获得 SecNumCloud 认证。

## 网关处的检查

[查看此类别的全部完整条目](https://www.azothos.ai/zh/docs/errors/gateway)

- [`policy_blocked`](https://www.azothos.ai/zh/docs/errors/gateway#policy_blocked) — 此调用被您工作区的一条规则拦截。
- [`sovereignty_blocked`](https://www.azothos.ai/zh/docs/errors/gateway#sovereignty_blocked) — 此调用被数据驻留策略拦截。
- [`jurisdiction_blocked`](https://www.azothos.ai/zh/docs/errors/gateway#jurisdiction_blocked) — 此调用因适用的法律而被阻止。
- [`kill_switch_active`](https://www.azothos.ai/zh/docs/errors/gateway#kill_switch_active) — 此调用被阻止：紧急停止已开启。
- [`kill_switch_unavailable`](https://www.azothos.ai/zh/docs/errors/gateway#kill_switch_unavailable) — 此调用被阻止：无法执行紧急停止检查。
- [`data_exfiltration_blocked`](https://www.azothos.ai/zh/docs/errors/gateway#data_exfiltration_blocked) — 此调用被拦截：消息包含机密内容。
- [`prompt_injection_blocked`](https://www.azothos.ai/zh/docs/errors/gateway#prompt_injection_blocked) — 此调用被阻止：该消息看起来是在试图绕过模型的指令。
- [`redaction_failed`](https://www.azothos.ai/zh/docs/errors/gateway#redaction_failed) — 此调用被拦截：无法遮盖其中的个人数据。
- [`governance_error`](https://www.azothos.ai/zh/docs/errors/gateway#governance_error) — 此调用被阻止：无法执行治理检查。
- [`loop_detected`](https://www.azothos.ai/zh/docs/errors/gateway#loop_detected) — 此调用被阻止：同一调用在循环中重复。
- [`tenant_concurrency_limit`](https://www.azothos.ai/zh/docs/errors/gateway#tenant_concurrency_limit) — 此调用被阻止：同时运行的调用过多。
- [`human_review_required`](https://www.azothos.ai/zh/docs/errors/gateway#human_review_required) — 此调用正在等待人工批准。
- [`human_review_not_resumable`](https://www.azothos.ai/zh/docs/errors/gateway#human_review_not_resumable) — 此调用被阻止：它需要人工批准，但无法挂起等待。
- [`approval_expired`](https://www.azothos.ai/zh/docs/errors/gateway#approval_expired) — 此调用未执行：其批准已过期。
- [`ungrounded_answer`](https://www.azothos.ai/zh/docs/errors/gateway#ungrounded_answer) — 此回答未返回：其来源对回答的支持不足。
- [`grounding_review_required`](https://www.azothos.ai/zh/docs/errors/gateway#grounding_review_required) — 此回答正在等待人工核查。
- [`grounding_requires_complete_answer`](https://www.azothos.ai/zh/docs/errors/gateway#grounding_requires_complete_answer) — 此调用被阻止：其回答必须在发送前经过核查。
- [`pending`](https://www.azothos.ai/zh/docs/errors/gateway#pending) — 此请求所等待的审批尚未作出决定：被暂扣的调用尚未运行，被暂扣的回答也不会交付。
- [`rejected`](https://www.azothos.ai/zh/docs/errors/gateway#rejected) — 审核人拒绝了此请求所等待的审批：被暂扣的调用永远不会运行，被暂扣的回答永远不会交付。
- [`already_executed`](https://www.azothos.ai/zh/docs/errors/gateway#already_executed) — 此审批对应的被暂扣调用已经运行过：一次审批只运行其调用一次。
- [`already_released`](https://www.azothos.ai/zh/docs/errors/gateway#already_released) — 此审批对应的被暂扣回答已经交付：它只交付一次，随后即被删除。
- [`not_requester`](https://www.azothos.ai/zh/docs/errors/gateway#not_requester) — 只有发送被暂扣调用的 API 密钥，才能在其获批后运行它。
- [`idempotency_key_invalid`](https://www.azothos.ai/zh/docs/errors/gateway#idempotency_key_invalid) — `Idempotency-Key` 请求头为空、过长，或包含不允许的字符。
- [`idempotency_key_reused`](https://www.azothos.ai/zh/docs/errors/gateway#idempotency_key_reused) — 一小时内已有调用以另一个正文使用了此 `Idempotency-Key`：一个密钥只对应一个调用。
- [`idempotency_key_in_progress`](https://www.azothos.ai/zh/docs/errors/gateway#idempotency_key_in_progress) — 使用此 `Idempotency-Key` 的首次调用尚未应答：在此期间绝不会第二次运行。
- [`idempotency_replay_unavailable`](https://www.azothos.ai/zh/docs/errors/gateway#idempotency_replay_unavailable) — 使用此 `Idempotency-Key` 的首次调用已得到应答，但应答未被保留：重试既得不到该应答，也不会再次调用模型。
- [`approval_pending`](https://www.azothos.ai/zh/docs/errors/gateway#approval_pending) — 此智能体执行所暂停的步骤仍在等待决定：未运行任何内容。
- [`approval_rejected`](https://www.azothos.ai/zh/docs/errors/gateway#approval_rejected) — 审核人拒绝了此智能体执行所暂停的步骤：该步骤不会运行，此执行也无法恢复。
- [`approval_not_found`](https://www.azothos.ai/zh/docs/errors/gateway#approval_not_found) — 此智能体执行已没有可用于恢复的审批请求。
- [`already_resumed`](https://www.azothos.ai/zh/docs/errors/gateway#already_resumed) — 此执行中已获批的步骤已经运行过：一次审批只运行其步骤一次。
- [`execution_not_found`](https://www.azothos.ai/zh/docs/errors/gateway#execution_not_found) — 在此工作区中没有具有此 ID 的智能体执行。
- [`not_awaiting_approval`](https://www.azothos.ai/zh/docs/errors/gateway#not_awaiting_approval) — 此智能体执行并未因等待审批而暂停：没有可恢复的内容。
- [`agent_plan_invalid`](https://www.azothos.ai/zh/docs/errors/gateway#agent_plan_invalid) — 代理的规划器制定的计划未通过检查，因此没有运行任何内容。响应的 `details` 列出了未通过的项。

## 授权：系统与智能体

[查看此类别的全部完整条目](https://www.azothos.ai/zh/docs/errors/mandates)

- [`usecase_unresolved`](https://www.azothos.ai/zh/docs/errors/mandates#usecase_unresolved) — 此调用被阻止：它未关联任何授权。
- [`usecase_not_approved`](https://www.azothos.ai/zh/docs/errors/mandates#usecase_not_approved) — 此调用被阻止：其授权尚未获得批准。
- [`usecase_divergence`](https://www.azothos.ai/zh/docs/errors/mandates#usecase_divergence) — 此调用被阻止：它与其获批准的授权不符。
- [`mandate_suspended`](https://www.azothos.ai/zh/docs/errors/mandates#mandate_suspended) — 此调用被阻止：其授权已暂停。
- [`mandate_expired`](https://www.azothos.ai/zh/docs/errors/mandates#mandate_expired) — 此调用被阻止：其授权已到期。
- [`usecase_prohibited`](https://www.azothos.ai/zh/docs/errors/mandates#usecase_prohibited) — 此调用被阻止：其授权被归类为禁止的做法。
- [`ai_act_class_required`](https://www.azothos.ai/zh/docs/errors/mandates#ai_act_class_required) — 授权只有在设定其《人工智能法》风险等级后才能获批。
- [`mandate_incomplete`](https://www.azothos.ai/zh/docs/errors/mandates#mandate_incomplete) — 授权只有在指定授权人和截止日期后才能获批。
- [`mandant_not_member`](https://www.azothos.ai/zh/docs/errors/mandates#mandant_not_member) — 为授权负责的人必须是工作区的成员。
- [`mandate_end_in_past`](https://www.azothos.ai/zh/docs/errors/mandates#mandate_end_in_past) — 为授权设定的截止日期已经过去。
- [`mandate_end_too_far`](https://www.azothos.ai/zh/docs/errors/mandates#mandate_end_too_far) — 授权的期限最长为三年。
- [`mandate_delegation_exceeded`](https://www.azothos.ai/zh/docs/errors/mandates#mandate_delegation_exceeded) — 子智能体的授权超出了其父智能体的授权。
- [`mandate_required`](https://www.azothos.ai/zh/docs/errors/mandates#mandate_required) — 该请求未指定任何授权。
- [`mandate_not_found`](https://www.azothos.ai/zh/docs/errors/mandates#mandate_not_found) — 所指定的授权不在此工作区中。
- [`usecase_not_found`](https://www.azothos.ai/zh/docs/errors/mandates#usecase_not_found) — 此工作区中不存在该系统。
- [`agent_not_found`](https://www.azothos.ai/zh/docs/errors/mandates#agent_not_found) — 此工作区中没有任何智能体使用该 ID。
- [`agent_archived`](https://www.azothos.ai/zh/docs/errors/mandates#agent_archived) — 该智能体已归档：它是只读的，不会为其运行任何内容——没有执行、没有工具调用，也不能新建授权、密钥或红队测试活动。
- [`usecase_archived`](https://www.azothos.ai/zh/docs/errors/mandates#usecase_archived) — 此调用被阻止：其授权已归档。
- [`usecase_not_archived`](https://www.azothos.ai/zh/docs/errors/mandates#usecase_not_archived) — 此授权未被归档，因此没有可取消归档的内容。
- [`usecase_is_default`](https://www.azothos.ai/zh/docs/errors/mandates#usecase_is_default) — 此授权是工作区的默认用例，因此不会被归档。
- [`redteam_campaign_running`](https://www.azothos.ai/zh/docs/errors/mandates#redteam_campaign_running) — 红队测试活动仍在测试此授权，因此暂不归档。
- [`human_reviewer_required`](https://www.azothos.ai/zh/docs/errors/mandates#human_reviewer_required) — 批准或拒绝一个系统，是登录仪表板的人所做的行为：API 密钥可以声明系统，但绝不能审核它。
- [`mcp_tool_changed`](https://www.azothos.ai/zh/docs/errors/mandates#mcp_tool_changed) — 您审核的 MCP 工具已不是目录中保存的定义，因此您的审核未被应用。
- [`identity_missing`](https://www.azothos.ai/zh/docs/errors/mandates#identity_missing) — 智能体只有在拥有身份（即为其负责的人）之后才能获得授权。
- [`identity_revoked`](https://www.azothos.ai/zh/docs/errors/mandates#identity_revoked) — 此智能体的身份已被撤销：无法再更改。
- [`parent_not_found`](https://www.azothos.ai/zh/docs/errors/mandates#parent_not_found) — 所指定的父级不是此工作区中的另一个智能体。
- [`parent_loop`](https://www.azothos.ai/zh/docs/errors/mandates#parent_loop) — 此父级会形成智能体循环：智能体绝不能委派给自己的上级。
- [`mcp_tool_not_approved`](https://www.azothos.ai/zh/docs/errors/mandates#mcp_tool_not_approved) — 授权中指定了目录尚未批准的 MCP 工具。
- [`version_conflict`](https://www.azothos.ai/zh/docs/errors/mandates#version_conflict) — 同一时间创建了此授权的另一个版本，因此本版本未保存。
- [`name_taken`](https://www.azothos.ai/zh/docs/errors/mandates#name_taken) — 目录中已有同名的 MCP 服务器。
- [`prohibited_practice_requires_exception`](https://www.azothos.ai/zh/docs/errors/mandates#prohibited_practice_requires_exception) — 带有阻止标记的系统不能直接批准：要么拒绝，要么在记录例外后批准。
- [`exception_requires_justification`](https://www.azothos.ai/zh/docs/errors/mandates#exception_requires_justification) — 记录在案的例外需要至少 200 个字符的书面理由。
- [`exception_requires_attachment`](https://www.azothos.ai/zh/docs/errors/mandates#exception_requires_attachment) — 记录在案的例外需要提供支持文件的引用。
- [`redteam_gate`](https://www.azothos.ai/zh/docs/errors/mandates#redteam_gate) — 高风险系统只有在近期红队测试活动达到工作区阈值后，或在有效豁免下才能获批。
- [`mandate_models_empty`](https://www.azothos.ai/zh/docs/errors/mandates#mandate_models_empty) — 授权的模型列表至少要包含一个模型。
- [`mandate_models_exist`](https://www.azothos.ai/zh/docs/errors/mandates#mandate_models_exist) — 此授权已有模型列表：只能通过通过验证的比较重放来扩充。
- [`mandate_models_not_active`](https://www.azothos.ai/zh/docs/errors/mandates#mandate_models_not_active) — 此授权的模型列表未生效，因此无法向其中添加内容。
- [`replay_not_validated`](https://www.azothos.ai/zh/docs/errors/mandates#replay_not_validated) — 只有通过已完成且合格的比较重放，才能将模型添加到授权中。
- [`unpriced_model`](https://www.azothos.ai/zh/docs/errors/mandates#unpriced_model) — 此模型没有价格，因此无法限制其成本：它永远不会被调用。
- [`no_category`](https://www.azothos.ai/zh/docs/errors/mandates#no_category) — 所选类别均不适用于此目标。
- [`nothing_to_replay`](https://www.azothos.ai/zh/docs/errors/mandates#nothing_to_replay) — 此活动没有可重放的失败探针。
- [`source_running`](https://www.azothos.ai/zh/docs/errors/mandates#source_running) — 要重放的活动尚未结束。
- [`library_changed`](https://www.azothos.ai/zh/docs/errors/mandates#library_changed) — 自那次活动以来探针库已更改，因此无法按原样重放其探针。
- [`already_imported`](https://www.azothos.ai/zh/docs/errors/mandates#already_imported) — 此文件已为此系统导入过。
- [`not_json`](https://www.azothos.ai/zh/docs/errors/mandates#not_json) — 结果文件不是 JSON。
- [`unrecognised_format`](https://www.azothos.ai/zh/docs/errors/mandates#unrecognised_format) — 该文件既不是 Giskard 扫描结果（to_json），也不是 azoth.redteam.import/1 格式。
- [`invalid_results`](https://www.azothos.ai/zh/docs/errors/mandates#invalid_results) — 文件中的结果不符合其格式：回复中的错误指出了位置。
- [`ran_in_future`](https://www.azothos.ai/zh/docs/errors/mandates#ran_in_future) — 文件显示其运行时间在未来。
- [`agent_not_archived`](https://www.azothos.ai/zh/docs/errors/mandates#agent_not_archived) — 此代理未被归档，因此没有可取消归档的内容。

## 预算、套餐限额与公开系统

[查看此类别的全部完整条目](https://www.azothos.ai/zh/docs/errors/limits)

- [`budget_exceeded`](https://www.azothos.ai/zh/docs/errors/limits#budget_exceeded) — 此调用在产生任何费用之前被阻止：预算已用完。
- [`budget_unavailable`](https://www.azothos.ai/zh/docs/errors/limits#budget_unavailable) — 此调用被阻止：无法执行预算检查。
- [`ai_ops_limit_exceeded`](https://www.azothos.ai/zh/docs/errors/limits#ai_ops_limit_exceeded) — 此调用被阻止：套餐的每月 AI 操作次数已用完。
- [`sealed_decisions_limit_reached`](https://www.azothos.ai/zh/docs/errors/limits#sealed_decisions_limit_reached) — 此调用已被阻止：套餐本月所含的封存决策已用完，且宽限期已结束。
- [`governed_system_limit_reached`](https://www.azothos.ai/zh/docs/errors/limits#governed_system_limit_reached) — 您套餐允许的受治理系统已全部占用，因此无法启动新的系统。
- [`billing_cancel_failed`](https://www.azothos.ai/zh/docs/errors/limits#billing_cancel_failed) — 只有在取消工作区的订阅之后，才会删除该工作区，或随其所有者的账户一起清除。此次取消失败，因此未删除任何内容。
- [`subscription_exists`](https://www.azothos.ai/zh/docs/errors/limits#subscription_exists) — 一个工作区同一时间只有一个订阅。此工作区已有一个正在计费、或在结清付款后可再次计费的订阅，因此不会开启第二次结账。
- [`plan_required`](https://www.azothos.ai/zh/docs/errors/limits#plan_required) — 此功能在本部署中运行，但工作区的套餐不包含它。
- [`regression_suite_limit_exceeded`](https://www.azothos.ai/zh/docs/errors/limits#regression_suite_limit_exceeded) — 该工作区的回归测试套件数量已达其套餐允许的上限，因此无法新建。
- [`exhaustion_slow`](https://www.azothos.ai/zh/docs/errors/limits#exhaustion_slow) — 此调用已被减速：该访客发送的请求过多。
- [`exhaustion_challenge_required`](https://www.azothos.ai/zh/docs/errors/limits#exhaustion_challenge_required) — 此调用需要先通过验证：系统检测到异常流量。
- [`exhaustion_blocked`](https://www.azothos.ai/zh/docs/errors/limits#exhaustion_blocked) — 此调用已被拦截：公开系统出现异常流量。
- [`exposure_unavailable`](https://www.azothos.ai/zh/docs/errors/limits#exposure_unavailable) — 此部署尚不支持将系统对公众开放。
- [`exhaustion_incident_not_found`](https://www.azothos.ai/zh/docs/errors/limits#exhaustion_incident_not_found) — 此工作区中不存在该成本耗尽事件。
- [`own_ai_busy`](https://www.azothos.ai/zh/docs/errors/limits#own_ai_busy) — Azoth 自身的 AI 暂时已暂停。
- [`ingest_queue_full`](https://www.azothos.ai/zh/docs/errors/limits#ingest_queue_full) — Azoth 的摄取队列已满：该批次未被接受，未存储任何内容。
- [`workspace_limit_reached`](https://www.azothos.ai/zh/docs/errors/limits#workspace_limit_reached) — 您拥有的工作区数量已达套餐上限，因此未创建此工作区。
- [`agent_limit_exceeded`](https://www.azothos.ai/zh/docs/errors/limits#agent_limit_exceeded) — 您套餐允许的智能体已全部在用，因此未创建此智能体。
- [`workflow_limit_exceeded`](https://www.azothos.ai/zh/docs/errors/limits#workflow_limit_exceeded) — 您套餐允许的工作流已全部在用，因此未创建此工作流。
- [`connector_limit_reached`](https://www.azothos.ai/zh/docs/errors/limits#connector_limit_reached) — 您套餐允许的连接器已全部在用，因此未添加此连接器。
- [`simulation_quota_exceeded`](https://www.azothos.ai/zh/docs/errors/limits#simulation_quota_exceeded) — 您套餐本月允许的模拟次数已用完。
- [`plan_feature_required`](https://www.azothos.ai/zh/docs/errors/limits#plan_feature_required) — 单点登录属于 Growth 和 Enterprise 套餐。
- [`audit_export_not_entitled`](https://www.azothos.ai/zh/docs/errors/limits#audit_export_not_entitled) — 此工作区的套餐不包含持续审计导出。
- [`sovereign_routing_required`](https://www.azothos.ai/zh/docs/errors/limits#sovereign_routing_required) — 此工作区的套餐不包含主权分析。
- [`plan_insufficient`](https://www.azothos.ai/zh/docs/errors/limits#plan_insufficient) — Free 套餐不包含 Inventory Object 数据导入。
- [`checkout_required`](https://www.azothos.ai/zh/docs/errors/limits#checkout_required) — Growth 试用在结账时开始，需要提供支付方式，而不是从这里开始。
- [`no_trial`](https://www.azothos.ai/zh/docs/errors/limits#no_trial) — 此工作区没有待开始的试用。
- [`annual_price_unavailable`](https://www.azothos.ai/zh/docs/errors/limits#annual_price_unavailable) — 此套餐不提供按年计费，因此未打开结账。
- [`not_in_deployment`](https://www.azothos.ai/zh/docs/errors/limits#not_in_deployment) — 此部署不包含计费功能：此地址不接收任何内容。
- [`entitlement_unavailable`](https://www.azothos.ai/zh/docs/errors/limits#entitlement_unavailable) — 无法读取套餐的限制，因此未启动任何内容。
- [`simulation_access_unavailable`](https://www.azothos.ai/zh/docs/errors/limits#simulation_access_unavailable) — 无法检查模拟的访问权限，因此未运行任何模拟。
- [`mandate_spend_unavailable`](https://www.azothos.ai/zh/docs/errors/limits#mandate_spend_unavailable) — 此部署尚不提供按授权统计的支出。
- [`month_cap`](https://www.azothos.ai/zh/docs/errors/limits#month_cap) — 此活动的上限会使工作区超出其每月红队测试上限，因此未启动。
- [`billing_managed_by_sales`](https://www.azothos.ai/zh/docs/errors/limits#billing_managed_by_sales) — 此工作区的套餐按与 Azoth 签订的合同计费，而不是通过在线支付。
- [`billing_account_missing`](https://www.azothos.ai/zh/docs/errors/limits#billing_account_missing) — 此工作区还没有计费账户，因此没有可打开的计费门户。
- [`entry_limit_reached`](https://www.azothos.ai/zh/docs/errors/limits#entry_limit_reached) — 此列表已容纳其所能容纳的全部条目，因此未添加新条目。

## 适用法律与保留期

[查看此类别的全部完整条目](https://www.azothos.ai/zh/docs/errors/law)

- [`zone_invalid`](https://www.azothos.ai/zh/docs/errors/law#zone_invalid) — 某个区域不是 Azoth 已知的代码。
- [`sector_invalid`](https://www.azothos.ai/zh/docs/errors/law#sector_invalid) — 某个行业不在列表中。
- [`provider_invalid`](https://www.azothos.ai/zh/docs/errors/law#provider_invalid) — 某个提供商名称无效。
- [`mechanism_unknown`](https://www.azothos.ai/zh/docs/errors/law#mechanism_unknown) — 某项传输保障不在此处所涵盖的法律认可的范围内。
- [`pack_unknown`](https://www.azothos.ai/zh/docs/errors/law#pack_unknown) — 要适用的法律或标准不在 Azoth 提供的列表中。
- [`jurisdiction_unavailable`](https://www.azothos.ai/zh/docs/errors/law#jurisdiction_unavailable) — 此部署尚未设置适用法律。
- [`jurisdiction_write_failed`](https://www.azothos.ai/zh/docs/errors/law#jurisdiction_write_failed) — 无法保存适用法律设置。
- [`justification_too_short`](https://www.azothos.ai/zh/docs/errors/law#justification_too_short) — 理由太短，无法与该决定一同保存。
- [`override_duration_invalid`](https://www.azothos.ai/zh/docs/errors/law#override_duration_invalid) — 法律解读的期限为 1 至 365 天。
- [`rule_unknown`](https://www.azothos.ai/zh/docs/errors/law#rule_unknown) — 所指定的规则不在 Azoth 已知的任何法律包中。
- [`effect_invalid`](https://www.azothos.ai/zh/docs/errors/law#effect_invalid) — 规则的适用方式不在可选项之中。
- [`override_not_found`](https://www.azothos.ai/zh/docs/errors/law#override_not_found) — 该法律解读已不存在。
- [`evidence_invalid`](https://www.azothos.ai/zh/docs/errors/law#evidence_invalid) — 授权的某个证据日期无效。
- [`retention_below_floor`](https://www.azothos.ai/zh/docs/errors/law#retention_below_floor) — 该保留期短于适用于此工作区的法律所要求的期限。
- [`eu_storage_unavailable`](https://www.azothos.ai/zh/docs/errors/law#eu_storage_unavailable) — 工作区的数据策略要求这些数据仅存储在欧盟境内，而此部署无法保证这一点：该批次被拒绝，未存储任何内容。
- [`change_not_found`](https://www.azothos.ai/zh/docs/errors/law#change_not_found) — 此法规变更不在等待审阅。
- [`data_policy_violation`](https://www.azothos.ai/zh/docs/errors/law#data_policy_violation) — 工作区的数据策略拒绝了此批次，因此未保存任何内容。

## 豁免与拒绝所提供的选项

[查看此类别的全部完整条目](https://www.azothos.ai/zh/docs/errors/waivers)

- [`not_rule_owner`](https://www.azothos.ai/zh/docs/errors/waivers#not_rule_owner) — 只有该规则的负责人，或工作区的所有者或管理员，才能决定对该规则的豁免。
- [`four_eyes`](https://www.azothos.ai/zh/docs/errors/waivers#four_eyes) — 申请豁免的人不能决定该豁免。
- [`decision_reason_required`](https://www.azothos.ai/zh/docs/errors/waivers#decision_reason_required) — 对请求的决定未附带理由。
- [`requester_unknown`](https://www.azothos.ai/zh/docs/errors/waivers#requester_unknown) — 通过 API 密钥发起的请求只能被拒绝，不能被批准：无法确定密钥背后是哪个人，因此无法证明四眼原则。
- [`request_lapsed`](https://www.azothos.ai/zh/docs/errors/waivers#request_lapsed) — 豁免申请未在 7 天内得到决定，因此已失效。
- [`not_active`](https://www.azothos.ai/zh/docs/errors/waivers#not_active) — 此豁免未生效。
- [`already_decided`](https://www.azothos.ai/zh/docs/errors/waivers#already_decided) — 刚刚有人决定了此申请。
- [`already_approved`](https://www.azothos.ai/zh/docs/errors/waivers#already_approved) — 此申请已获批准。
- [`already_denied`](https://www.azothos.ai/zh/docs/errors/waivers#already_denied) — 此申请已被拒绝。
- [`already_revoked`](https://www.azothos.ai/zh/docs/errors/waivers#already_revoked) — 此豁免已被撤销。
- [`duration_exceeds_ceiling`](https://www.azothos.ai/zh/docs/errors/waivers#duration_exceeds_ceiling) — 申请的时长超过了工作区允许的豁免时长。
- [`not_exceptionable`](https://www.azothos.ai/zh/docs/errors/waivers#not_exceptionable) — 任何豁免都无法解除此拒绝。
- [`no_identity`](https://www.azothos.ai/zh/docs/errors/waivers#no_identity) — 该拒绝未指明豁免可以覆盖的 API 密钥、智能体或系统。
- [`invalid_refusal_ref`](https://www.azothos.ai/zh/docs/errors/waivers#invalid_refusal_ref) — 所发送的拒绝引用无法使用。
- [`rule_not_found`](https://www.azothos.ai/zh/docs/errors/waivers#rule_not_found) — 此规则已不存在。
- [`owner_not_a_member`](https://www.azothos.ai/zh/docs/errors/waivers#owner_not_a_member) — 为规则、智能体或 MCP 服务器指定的负责人必须是工作区的成员。
- [`invalid_alternative`](https://www.azothos.ai/zh/docs/errors/waivers#invalid_alternative) — `X-Azoth-Alternative` 中发送的选项不是 Azoth 提供的选项。
- [`alternative_not_offered`](https://www.azothos.ai/zh/docs/errors/waivers#alternative_not_offered) — 此拒绝并未提供该选项。
- [`alternative_mismatch`](https://www.azothos.ai/zh/docs/errors/waivers#alternative_mismatch) — 使用欧盟托管模型选项发送的调用，并未发往托管在欧盟的提供商。

## 证明：保全、档案与时间戳

[查看此类别的全部完整条目](https://www.azothos.ai/zh/docs/errors/proof)

- [`subject_erasure_unavailable`](https://www.azothos.ai/zh/docs/errors/proof#subject_erasure_unavailable) — 此部署上删除个人数据的工具尚未就绪。
- [`legal_hold_active`](https://www.azothos.ai/zh/docs/errors/proof#legal_hold_active) — 诉讼保全保存着这些证据：保全生效期间不能将其删除。
- [`entries_not_found`](https://www.azothos.ai/zh/docs/errors/proof#entries_not_found) — 所指定的部分决策不在此工作区的日志中。
- [`decision_not_found`](https://www.azothos.ai/zh/docs/errors/proof#decision_not_found) — 没有已封存的决策带有此引用。
- [`too_many_entries`](https://www.azothos.ai/zh/docs/errors/proof#too_many_entries) — 一项保全最多指定 500 个决策。
- [`invalid_decision_ref`](https://www.azothos.ai/zh/docs/errors/proof#invalid_decision_ref) — 该决策引用的格式不被 Azoth 接受。
- [`hold_not_found`](https://www.azothos.ai/zh/docs/errors/proof#hold_not_found) — 此诉讼保全已不存在。
- [`hold_released`](https://www.azothos.ai/zh/docs/errors/proof#hold_released) — 此保全已被解除。
- [`release_pending`](https://www.azothos.ai/zh/docs/errors/proof#release_pending) — 此保全的解除申请已在等待决定。
- [`legal_holds_unavailable`](https://www.azothos.ai/zh/docs/errors/proof#legal_holds_unavailable) — 此部署尚未提供诉讼保全功能。
- [`period_invalid`](https://www.azothos.ai/zh/docs/errors/proof#period_invalid) — 所请求的时期无效。
- [`timestamp_level_unavailable`](https://www.azothos.ai/zh/docs/errors/proof#timestamp_level_unavailable) — 此部署无法按所选级别加盖时间戳。
- [`dossier_signature_unavailable`](https://www.azothos.ai/zh/docs/errors/proof#dossier_signature_unavailable) — 档案未导出：Azoth 无法使用工作区的密钥对其签名，而它从不交付未签名的档案 —— 否则没有任何东西将其内容与工作区绑定，其中的条目可能被删除而不被察觉。
- [`tsa_chain_required`](https://www.azothos.ai/zh/docs/errors/proof#tsa_chain_required) — 时间戳机构只有连同其根证书才能保存。
- [`tsa_url_invalid`](https://www.azothos.ai/zh/docs/errors/proof#tsa_url_invalid) — 该机构的地址被拒绝。
- [`tsa_check_timeout`](https://www.azothos.ai/zh/docs/errors/proof#tsa_check_timeout) — 该机构未能及时响应 Azoth 的测试请求。
- [`tsa_check_unreachable`](https://www.azothos.ai/zh/docs/errors/proof#tsa_check_unreachable) — Azoth 无法连接到该机构。
- [`tsa_check_http_error`](https://www.azothos.ai/zh/docs/errors/proof#tsa_check_http_error) — 该机构对测试请求返回了 HTTP 错误。
- [`tsa_check_refused`](https://www.azothos.ai/zh/docs/errors/proof#tsa_check_refused) — 该机构拒绝为测试请求加盖时间戳。
- [`tsa_check_invalid_token`](https://www.azothos.ai/zh/docs/errors/proof#tsa_check_invalid_token) — 该机构已响应，但其令牌无法链接到所提供的根证书。
- [`tsa_check_failed`](https://www.azothos.ai/zh/docs/errors/proof#tsa_check_failed) — 无法验证该机构。
- [`footprint_not_read`](https://www.azothos.ai/zh/docs/errors/proof#footprint_not_read) — 只有在开启并完整读取后，才能为代码仓库的 AI 足迹出具证明。
- [`ai_footprint_statement_not_found`](https://www.azothos.ai/zh/docs/errors/proof#ai_footprint_statement_not_found) — 此工作区没有使用此 ID 的已封存 AI 足迹声明。
- [`unknown_framework`](https://www.azothos.ai/zh/docs/errors/proof#unknown_framework) — 没有使用此 ID 的合规框架。
- [`unknown_requirement`](https://www.azothos.ai/zh/docs/errors/proof#unknown_requirement) — 此框架中没有使用此 ID 的要求。
- [`already_declared`](https://www.azothos.ai/zh/docs/errors/proof#already_declared) — 此要求已被声明为不在范围内。

## 事件模式

[查看此类别的全部完整条目](https://www.azothos.ai/zh/docs/errors/incidents)

- [`incident_not_found`](https://www.azothos.ai/zh/docs/errors/incidents#incident_not_found) — 此工作区中不存在该事件。
- [`incident_closed`](https://www.azothos.ai/zh/docs/errors/incidents#incident_closed) — 该事件已关闭，不再接受任何操作。
- [`related_incident_not_found`](https://www.azothos.ai/zh/docs/errors/incidents#related_incident_not_found) — 所指定的关联事件在此工作区中不存在。
- [`scope_not_enforceable`](https://www.azothos.ai/zh/docs/errors/incidents#scope_not_enforceable) — 该事件的范围没有指定任何网关可以阻止的内容。
- [`provider_not_found`](https://www.azothos.ai/zh/docs/errors/incidents#provider_not_found) — 此工作区中没有任何已连接的提供商使用该 ID。
- [`containment_not_found`](https://www.azothos.ai/zh/docs/errors/incidents#containment_not_found) — 该事件不存在此遏制措施。
- [`containment_lifted`](https://www.azothos.ai/zh/docs/errors/incidents#containment_lifted) — 此遏制措施已被解除。
- [`already_reviewed`](https://www.azothos.ai/zh/docs/errors/incidents#already_reviewed) — 该决策已有结论，且结论一经作出即为最终结论。
- [`decision_not_in_incident`](https://www.azothos.ai/zh/docs/errors/incidents#decision_not_in_incident) — 该决策不在此事件所涉及的决策之中。
- [`not_a_reviewer`](https://www.azothos.ai/zh/docs/errors/incidents#not_a_reviewer) — 事件决策的复核仅限所有者、管理员和成员。
- [`draft_not_found`](https://www.azothos.ai/zh/docs/errors/incidents#draft_not_found) — 该报告草稿不存在。
- [`incident_containment`](https://www.azothos.ai/zh/docs/errors/incidents#incident_containment) — 此规则用于遏制某个事件：它随事件一起解除，绝不能通过豁免解除。

## 模型变更与价值风险组合

[查看此类别的全部完整条目](https://www.azothos.ai/zh/docs/errors/models)

- [`reference_set_not_found`](https://www.azothos.ai/zh/docs/errors/models#reference_set_not_found) — 该授权尚无参考集。
- [`run_not_found`](https://www.azothos.ai/zh/docs/errors/models#run_not_found) — 此工作区中不存在该对比运行。
- [`report_not_found`](https://www.azothos.ai/zh/docs/errors/models#report_not_found) — 该对比运行没有报告。
- [`not_a_candidate_run`](https://www.azothos.ai/zh/docs/errors/models#not_a_candidate_run) — 只能对新模型版本的对比运行采取操作。
- [`nothing_to_pin`](https://www.azothos.ai/zh/docs/errors/models#nothing_to_pin) — 没有可将调用路由到的其他版本。
- [`unknown_case`](https://www.azothos.ai/zh/docs/errors/models#unknown_case) — 客户端回执中的某个用例不在参考集中，或其哈希值不同。
- [`duplicate_case`](https://www.azothos.ai/zh/docs/errors/models#duplicate_case) — 客户端回执中同一用例出现了两次。
- [`incomplete_receipt`](https://www.azothos.ai/zh/docs/errors/models#incomplete_receipt) — 客户端回执没有涵盖参考集中的每个用例。
- [`run_not_awaiting_client`](https://www.azothos.ai/zh/docs/errors/models#run_not_awaiting_client) — 该对比运行并未在等待客户端回执。
- [`month_in_future`](https://www.azothos.ai/zh/docs/errors/models#month_in_future) — 所请求的月份尚未开始。
- [`alternative_not_priced`](https://www.azothos.ai/zh/docs/errors/models#alternative_not_priced) — 替代模型没有价格，或就是当前在用的模型，因此未排入任何比较。
- [`catalog_version_invalid`](https://www.azothos.ai/zh/docs/errors/models#catalog_version_invalid) — 模型目录的版本是一个数字，或 latest。
- [`catalog_version_not_found`](https://www.azothos.ai/zh/docs/errors/models#catalog_version_not_found) — 模型目录中没有使用此编号的已发布版本。

## 任何请求：校验与服务器故障

[查看此类别的全部完整条目](https://www.azothos.ai/zh/docs/errors/requests)

- [`validation_failed`](https://www.azothos.ai/zh/docs/errors/requests#validation_failed) — 请求的正文或参数与该路由接受的内容不符，因此没有执行任何操作。响应中的 `error` 描述问题；如涉及具体字段，`field` 会指出该字段。
- [`internal_error`](https://www.azothos.ai/zh/docs/errors/requests#internal_error) — 请求在 Azoth 一侧失败，原因未在响应中给出：请求本身没有问题。该故障已记录，供 Azoth 团队处理。
- [`not_found`](https://www.azothos.ai/zh/docs/errors/requests#not_found) — 请求所指的对象在此工作区中不存在——或者存在，但此调用方无权读取。
- [`service_unavailable`](https://www.azothos.ai/zh/docs/errors/requests#service_unavailable) — Azoth 无法连接其数据库，因此没有执行任何操作，也没有记录任何内容。
- [`unknown_tool`](https://www.azothos.ai/zh/docs/errors/requests#unknown_tool) — 没有任何助手工具使用此名称。响应中的 `tools` 列出了现有的名称。
- [`not_configured`](https://www.azothos.ai/zh/docs/errors/requests#not_configured) — 此部署缺少该请求所需的一项设置（某个密钥，或某个供应商的账户或密钥），因此未执行任何操作。在设置之前，重试不会改变结果。
- [`migration_missing`](https://www.azothos.ai/zh/docs/errors/requests#migration_missing) — 此功能需要一项尚未应用的数据库更新，因此未执行任何操作。
- [`replay_unavailable`](https://www.azothos.ai/zh/docs/errors/requests#replay_unavailable) — 请求无法重放：Azoth 只保存每个提示的哈希值，从不保存提示本身。
- [`action_not_offered`](https://www.azothos.ai/zh/docs/errors/requests#action_not_offered) — 此队列项不提供该操作。
- [`item_not_waiting`](https://www.azothos.ai/zh/docs/errors/requests#item_not_waiting) — 此项已不在队列中等待。
- [`not_allowed`](https://www.azothos.ai/zh/docs/errors/requests#not_allowed) — 您不能对此队列项采取行动。
- [`delegate_to_self`](https://www.azothos.ai/zh/docs/errors/requests#delegate_to_self) — 不能将事项委派给自己。
- [`delegate_not_allowed`](https://www.azothos.ai/zh/docs/errors/requests#delegate_not_allowed) — 所选成员不能处理此事项，因此无法委派给他。
- [`worker_secret_invalid`](https://www.azothos.ai/zh/docs/errors/requests#worker_secret_invalid) — 部署的某个计划任务或内部路由在未携带其密钥的情况下被调用，因此没有运行任何内容。
- [`already_exists`](https://www.azothos.ai/zh/docs/errors/requests#already_exists) — 请求要添加的内容已存在：所给的名称、地址或值已被占用，因此未添加任何内容。
- [`operation_in_progress`](https://www.azothos.ai/zh/docs/errors/requests#operation_in_progress) — 同一操作已在为此工作区运行，因此本次请求未做任何事。
- [`method_not_allowed`](https://www.azothos.ai/zh/docs/errors/requests#method_not_allowed) — 该路由不接受此 HTTP 方法；响应的 `Allow` 头给出它接受的方法。
- [`integration_not_connected`](https://www.azothos.ai/zh/docs/errors/requests#integration_not_connected) — 此操作所需的集成——GitHub、Slack、Microsoft Teams、单点登录或模型端点——尚未为此工作区设置。
- [`integration_failed`](https://www.azothos.ai/zh/docs/errors/requests#integration_failed) — 某个集成的服务——GitHub、Slack、Microsoft Teams——拒绝或未能处理 Azoth 发出的请求，因此未执行任何操作。响应给出其 HTTP 状态（`vendorStatus`）和其自身的错误代码（`vendorCode`），从不包含其文本。

## 支持：工单与访问

[查看此类别的全部完整条目](https://www.azothos.ai/zh/docs/errors/support)

- [`ticket_contains_secret`](https://www.azothos.ai/zh/docs/errors/support#ticket_contains_secret) — 消息中含有看似机密的内容（API 密钥、密码、令牌），因此未发送。
- [`transcript_contains_secret`](https://www.azothos.ai/zh/docs/errors/support#transcript_contains_secret) — 附加到工单的助手对话中含有看似机密的内容，因此未创建工单。
- [`ticket_closed`](https://www.azothos.ai/zh/docs/errors/support#ticket_closed) — 此工单已关闭：不再接受回复。
- [`ticket_not_resolved`](https://www.azothos.ai/zh/docs/errors/support#ticket_not_resolved) — 只有标记为已解决的工单才会询问问题是否已解决。
- [`cause_required`](https://www.azothos.ai/zh/docs/errors/support#cause_required) — 工单只有在填写原因后才能解决或关闭。
- [`critical_requires_incident`](https://www.azothos.ai/zh/docs/errors/support#critical_requires_incident) — 只有事故类工单才能设为严重。
- [`support_unavailable`](https://www.azothos.ai/zh/docs/errors/support#support_unavailable) — 无法读取支持数据，因此未执行任何操作。
- [`support_access_saas_only`](https://www.azothos.ai/zh/docs/errors/support#support_access_saas_only) — Azoth 支持人员的访问仅存在于 Azoth 的服务中：您自己的部署没有这项功能。
- [`support_access_open`](https://www.azothos.ai/zh/docs/errors/support#support_access_open) — 此工作区已有一项支持访问在等待决定，或已开启。
- [`support_access_unsealed`](https://www.azothos.ai/zh/docs/errors/support#support_access_unsealed) — 支持访问无法在日志中封存，因此被拒绝：任何访问都不会不留记录。
- [`grant_not_pending`](https://www.azothos.ai/zh/docs/errors/support#grant_not_pending) — 此支持访问请求已作出决定。
- [`grant_not_active`](https://www.azothos.ai/zh/docs/errors/support#grant_not_active) — 此支持访问已不再开启。
- [`emergency_requires_enterprise`](https://www.azothos.ai/zh/docs/errors/support#emergency_requires_enterprise) — Azoth 支持人员的紧急访问属于 Enterprise 套餐。
- [`emergency_not_consented`](https://www.azothos.ai/zh/docs/errors/support#emergency_not_consented) — 工作区的所有者未同意紧急访问，因此无法开启。
- [`emergency_requires_critical`](https://www.azothos.ai/zh/docs/errors/support#emergency_requires_critical) — 紧急访问仅为严重级别的工单开启。
- [`second_staff_required`](https://www.azothos.ai/zh/docs/errors/support#second_staff_required) — 紧急访问须由 Azoth 团队的第二位成员确认，绝不能由申请人确认。

## 单点登录、聊天应用与连接器

[查看此类别的全部完整条目](https://www.azothos.ai/zh/docs/errors/integrations)

- [`sso_oidc_unavailable`](https://www.azothos.ai/zh/docs/errors/integrations#sso_oidc_unavailable) — 无法连接此地址的身份提供商，因此单点登录无法开始或完成。
- [`sso_domain_unverified`](https://www.azothos.ai/zh/docs/errors/integrations#sso_domain_unverified) — 对于工作区尚未证明拥有的域，无法要求单点登录。
- [`sso_provider_required`](https://www.azothos.ai/zh/docs/errors/integrations#sso_provider_required) — 在工作区未启用任何身份提供商时，无法要求单点登录。
- [`sso_type_change`](https://www.azothos.ai/zh/docs/errors/integrations#sso_type_change) — 此工作区已有 SAML 身份提供商：无法在其旁边再保存 OIDC 提供商。
- [`oidc_client_secret_required`](https://www.azothos.ai/zh/docs/errors/integrations#oidc_client_secret_required) — OIDC 身份提供商需要连同其客户端密钥一起保存。
- [`oidc_issuer_invalid`](https://www.azothos.ai/zh/docs/errors/integrations#oidc_issuer_invalid) — 该签发者不是身份提供商可用的公共 https 地址，因此未保存该提供商。
- [`oidc_issuer_multi_tenant`](https://www.azothos.ai/zh/docs/errors/integrations#oidc_issuer_multi_tenant) — 此签发者服务于众多组织，因此不能用于一个工作区成员的登录。
- [`oidc_discovery_failed`](https://www.azothos.ai/zh/docs/errors/integrations#oidc_discovery_failed) — 无法读取身份提供商的发现文档，因此未保存该提供商。
- [`oidc_discovery_mismatch`](https://www.azothos.ai/zh/docs/errors/integrations#oidc_discovery_mismatch) — 身份提供商的发现文档指明了另一个签发者，或缺少某个端点，因此未保存该提供商。
- [`sso_too_many_attempts`](https://www.azothos.ai/zh/docs/errors/integrations#sso_too_many_attempts) — 一分钟内来自此网络地址的单点登录返回次数过多，因此本次登录未完成。
- [`sso_attempt_expired`](https://www.azothos.ai/zh/docs/errors/integrations#sso_attempt_expired) — 从身份提供商返回的登录并非此浏览器发起的，或耗时过长，因此未打开任何会话。
- [`sso_idp_refused`](https://www.azothos.ai/zh/docs/errors/integrations#sso_idp_refused) — 身份提供商返回时未让此人登录，因此未打开任何会话。
- [`sso_provider_unavailable`](https://www.azothos.ai/zh/docs/errors/integrations#sso_provider_unavailable) — 工作区的单点登录已不可用，因此登录无法完成。
- [`sso_provider_misconfigured`](https://www.azothos.ai/zh/docs/errors/integrations#sso_provider_misconfigured) — 工作区身份提供商的设置无法用于登录，因此未打开任何会话。
- [`sso_token_exchange_failed`](https://www.azothos.ai/zh/docs/errors/integrations#sso_token_exchange_failed) — 身份提供商拒绝为 Azoth 完成登录，因此未打开任何会话。
- [`sso_id_token_invalid`](https://www.azothos.ai/zh/docs/errors/integrations#sso_id_token_invalid) — 无法验证提供商发送的身份，因此未打开任何会话。
- [`sso_email_domain_mismatch`](https://www.azothos.ai/zh/docs/errors/integrations#sso_email_domain_mismatch) — 身份提供商使用工作区已验证域名之外的邮箱地址（或没有邮箱地址）为此人登录，因此未打开任何会话。
- [`sso_email_unverified`](https://www.azothos.ai/zh/docs/errors/integrations#sso_email_unverified) — 身份提供商未确认已验证该邮箱地址，因此未打开任何会话。
- [`dns_lookup_failed`](https://www.azothos.ai/zh/docs/errors/integrations#dns_lookup_failed) — 无法读取该域的 DNS，因此无法检查其所有权。
- [`record_not_found`](https://www.azothos.ai/zh/docs/errors/integrations#record_not_found) — 在该域的 DNS 中未找到证明该域的 TXT 记录。
- [`domain_already_verified`](https://www.azothos.ai/zh/docs/errors/integrations#domain_already_verified) — 另一个 Azoth 工作区已证明此域：一个域只能登录到一个工作区。
- [`domain_changed`](https://www.azothos.ai/zh/docs/errors/integrations#domain_changed) — 单点登录的域在验证过程中发生了变化，因此未记录任何内容。
- [`sso_provider_update_failed`](https://www.azothos.ai/zh/docs/errors/integrations#sso_provider_update_failed) — 该域已证明，但向登录服务注册该域失败。
- [`sso_provider_delete_failed`](https://www.azothos.ai/zh/docs/errors/integrations#sso_provider_delete_failed) — 登录服务未移除该工作区的 SAML 身份提供商，因此 Azoth 也未移除任何内容：单点登录保持原样。
- [`link_expired`](https://www.azothos.ai/zh/docs/errors/integrations#link_expired) — 此用于关联您聊天账户的链接已过期。
- [`not_installed`](https://www.azothos.ai/zh/docs/errors/integrations#not_installed) — 此 Slack 工作区或 Teams 机器人未连接到 Azoth。
- [`chat_identity_mismatch`](https://www.azothos.ai/zh/docs/errors/integrations#chat_identity_mismatch) — 此聊天账户不属于您：其平台为它保存的邮箱不是您 Azoth 账户的邮箱，因此未关联任何内容。
- [`chat_identity_unverified`](https://www.azothos.ai/zh/docs/errors/integrations#chat_identity_unverified) — 聊天平台未提供此账户的邮箱，因此 Azoth 无法判断其归属：未关联任何内容。
- [`chat_identity_unavailable`](https://www.azothos.ai/zh/docs/errors/integrations#chat_identity_unavailable) — 聊天平台无法说明此账户属于谁，因此未关联任何内容。
- [`teams_secret_required`](https://www.azothos.ai/zh/docs/errors/integrations#teams_secret_required) — Teams 机器人需要连同其客户端密钥一起保存。
- [`teams_credentials_invalid`](https://www.azothos.ai/zh/docs/errors/integrations#teams_credentials_invalid) — Microsoft 拒绝了这些凭据，因此未保存该机器人。
- [`teams_app_taken`](https://www.azothos.ai/zh/docs/errors/integrations#teams_app_taken) — 此 Teams 机器人已连接到另一个 Azoth 工作区。
- [`connector_not_available`](https://www.azothos.ai/zh/docs/errors/integrations#connector_not_available) — 此工作区的套餐不包含连接助手（Claude、ChatGPT）。
- [`connectors_disabled`](https://www.azothos.ai/zh/docs/errors/integrations#connectors_disabled) — 工作区的所有者或管理员已关闭已连接的助手。
- [`missing_token`](https://www.azothos.ai/zh/docs/errors/integrations#missing_token) — 调用连接器端点时没有提供访问令牌。
- [`invalid_token`](https://www.azothos.ai/zh/docs/errors/integrations#invalid_token) — 调用连接器端点时使用的访问令牌不被接受：已过期、已撤销、格式错误或为其他地址签发。
- [`insufficient_scope`](https://www.azothos.ai/zh/docs/errors/integrations#insufficient_scope) — 该访问令牌不具备连接器所需的读取权限。
- [`missing_client`](https://www.azothos.ai/zh/docs/errors/integrations#missing_client) — 连接请求未指明任何客户端，因此无法连接该助手。
- [`unknown_client`](https://www.azothos.ai/zh/docs/errors/integrations#unknown_client) — 连接请求指明了一个 Azoth 不认识的助手。
- [`invalid_redirect_uri`](https://www.azothos.ai/zh/docs/errors/integrations#invalid_redirect_uri) — 连接请求的返回地址不是该助手声明过的地址，因此 Azoth 不会向那里发送任何内容。
- [`connector_not_installed`](https://www.azothos.ai/zh/docs/errors/integrations#connector_not_installed) — 此工作区和环境未安装 Inventory Object 连接器，因此未保存任何内容。
- [`connector_revoked`](https://www.azothos.ai/zh/docs/errors/integrations#connector_revoked) — 此连接器已被卸载，因此无法批准：卸载永远不会被撤销。
- [`connector_governance_failed`](https://www.azothos.ai/zh/docs/errors/integrations#connector_governance_failed) — 测试导入期间连接器的治理检查失败，因此未保存测试行。
- [`repository_not_found`](https://www.azothos.ai/zh/docs/errors/integrations#repository_not_found) — 此工作区的 GitHub 连接中没有使用此 ID 的代码仓库。

## Azoth 团队工具

[查看此类别的全部完整条目](https://www.azothos.ai/zh/docs/errors/staff)

- [`platform_admin_required`](https://www.azothos.ai/zh/docs/errors/staff#platform_admin_required) — 此工具仅供 Azoth 团队使用。
- [`staff_mfa_required`](https://www.azothos.ai/zh/docs/errors/staff#staff_mfa_required) — Azoth 团队只有在会话启用双重身份验证时才能使用这些工具。
- [`staff_access_unsealed`](https://www.azothos.ai/zh/docs/errors/staff#staff_access_unsealed) — 团队访问无法在平台日志中封存，因此被拒绝：任何团队访问都不会不留记录。
- [`override_expired`](https://www.azothos.ai/zh/docs/errors/staff#override_expired) — 此合同覆盖已结束：保存在其上的限制不会生效。
- [`report_altered`](https://www.azothos.ai/zh/docs/errors/staff#report_altered) — 演练报告与其 sha256 不符，因此未被记录。
- [`catalog_not_here`](https://www.azothos.ai/zh/docs/errors/staff#catalog_not_here) — 模型目录只在 Azoth 的服务上编辑；您自己的部署导入经签名的目录，而 Azoth 的服务不导入任何目录。
- [`catalog_check_required`](https://www.azothos.ai/zh/docs/errors/staff#catalog_check_required) — 目录条目只有在当天对照其来源核实后才能添加。
- [`catalog_source_required`](https://www.azothos.ai/zh/docs/errors/staff#catalog_source_required) — 已核实的价格需要注明其来源。
- [`catalog_draft_too_large`](https://www.azothos.ai/zh/docs/errors/staff#catalog_draft_too_large) — 草稿文件超过了草稿允许的大小。
- [`catalog_no_draft`](https://www.azothos.ai/zh/docs/errors/staff#catalog_no_draft) — 当前没有打开的目录草稿。
- [`catalog_draft_changed`](https://www.azothos.ai/zh/docs/errors/staff#catalog_draft_changed) — 草稿在审核后发生了变化，因此未发布。
- [`catalog_empty`](https://www.azothos.ai/zh/docs/errors/staff#catalog_empty) — 空目录永远不会被发布。
- [`catalog_no_version`](https://www.azothos.ai/zh/docs/errors/staff#catalog_no_version) — 没有生效的目录版本可与草稿进行比较。
- [`catalog_import_concurrent`](https://www.azothos.ai/zh/docs/errors/staff#catalog_import_concurrent) — 同一时间运行了这些提案的另一次导入。
- [`catalog_proposal_not_open`](https://www.azothos.ai/zh/docs/errors/staff#catalog_proposal_not_open) — 此提案已不再开放。
- [`catalog_proposal_no_entry`](https://www.azothos.ai/zh/docs/errors/staff#catalog_proposal_no_entry) — 此提案没有可添加的条目。
- [`catalog_signature_invalid`](https://www.azothos.ai/zh/docs/errors/staff#catalog_signature_invalid) — 目录的签名无法用此部署固定的密钥验证，因此未导入任何内容。
- [`catalog_hash_mismatch`](https://www.azothos.ai/zh/docs/errors/staff#catalog_hash_mismatch) — 已保存的某个目录版本与其记录的 sha256 不符，因此既不提供也不签名。
- [`catalog_already_signed`](https://www.azothos.ai/zh/docs/errors/staff#catalog_already_signed) — 此目录版本已签名：签名只添加一次。
- [`catalog_version_conflict`](https://www.azothos.ai/zh/docs/errors/staff#catalog_version_conflict) — 此部署在该编号下持有另一个版本，因此拒绝了导入。
- [`breach_no_recipient`](https://www.azothos.ai/zh/docs/errors/staff#breach_no_recipient) — 所列工作区没有可通知的所有者或管理员，因此未发送任何内容。
- [`breach_notice_conflict`](https://www.azothos.ai/zh/docs/errors/staff#breach_notice_conflict) — 此通知编号已用其他文本发送过。
- [`breach_recipients_truncated`](https://www.azothos.ai/zh/docs/errors/staff#breach_recipients_truncated) — 一次要读取的成员关系过多，因此未发送任何内容。
- [`breach_workspace_not_found`](https://www.azothos.ai/zh/docs/errors/staff#breach_workspace_not_found) — 所列的某个工作区不存在，因此未发送任何内容。
- [`breach_workspaces_not_one_customer`](https://www.azothos.ai/zh/docs/errors/staff#breach_workspaces_not_one_customer) — 一份通知只针对一个客户：所列工作区属于多个客户。
- [`subprocessor_notice_conflict`](https://www.azothos.ai/zh/docs/errors/staff#subprocessor_notice_conflict) — 此版本已以其他内容公告过。
- [`subprocessor_notice_saas_only`](https://www.azothos.ai/zh/docs/errors/staff#subprocessor_notice_saas_only) — 在 Azoth 的服务之外，由部署的运营方通知其自己的客户。
- [`subprocessor_notice_unsealed`](https://www.azothos.ai/zh/docs/errors/staff#subprocessor_notice_unsealed) — 公告无法封存，因此未发送任何内容。
- [`subprocessor_recipients_truncated`](https://www.azothos.ai/zh/docs/errors/staff#subprocessor_recipients_truncated) — 一次要读取的成员关系过多，因此未发送任何内容。
