---
document_id: agent.error.unauthorized
schema_version: 1
---

<!-- Generated by scripts.build_agent_guide; do not edit. -->

# unauthorized

Recovery / 恢复动作: `stop`
Billing / 计费: `not_charged`

- Cause / 原因: The request did not authenticate with an active Asklear access key. / 请求未使用有效的 Asklear 访问密钥完成认证。
- Agent: Stop and ask the user to reconnect or replace the key through the official client settings; never print the key. / 停止并请用户通过客户端官方设置重新连接或更换密钥；不得输出密钥。
- User / 用户: Create or select an active key in Dashboard and update the client secret field. / 在 Dashboard 创建或选择有效密钥，并更新客户端的密钥字段。
