---
title: Platform API 錯誤代碼
description: Platform API v1 的每一個錯誤代碼，含它的 recovery（authorize、configure、retry、none）、HTTP 狀態碼和回傳它的操作。
url: https://agentlab.cresclab.com/docs/zh-tw/api/errors
language: zh-Hant
updated: 2026-12-05
---

# Platform API 錯誤代碼

Platform API v1 的每一個錯誤代碼，含它的 recovery（authorize、configure、retry、none）、HTTP 狀態碼和回傳它的操作。

> [!NOTE]
> 由 API 合約（Agent Lab Platform API 1.0.0-alpha.1）產生。說明文字是合約的英文原文。

## 錯誤內容

| 欄位 | 型別 | 必填 | 說明 |
| --- | --- | --- | --- |
| `error` | `object` | 是 | — |
| `error.code` | `string` | 是 | Stable, UPPER_SNAKE_CASE. New codes may be added under an existing `recovery`. |
| `error.message` | `string` | 是 | For the developer's logs; not for display to a person, and never parsed. |
| `error.recovery` | [Recovery](https://agentlab.cresclab.com/docs/zh-tw/api/schemas.md#Recovery) | 是 | — |
| `error.requestId` | `string` | 是 | Quote it when asking for support. |
| `error.problems` | [Problem](https://agentlab.cresclab.com/docs/zh-tw/api/schemas.md#Problem)[] | 否 | With `RUN_CONFIGURATION_INVALID`: every problem found, each with its field. |

## recovery 的值

What gets a refused request working again. Clients tolerate values added later. 可用值: `authorize`, `configure`, `retry`, `none`.

## 代碼一覽

| 代碼 | recovery | 狀態碼 | 回傳它的操作 |
| --- | --- | --- | --- |
| `CHANNEL_CLAIMED` | `none` | `409` | [Channels](https://agentlab.cresclab.com/docs/zh-tw/api/channels.md) |
| `CHANNEL_MISSING_PERMISSION` | `configure` | `409` | [Outreach](https://agentlab.cresclab.com/docs/zh-tw/api/outreach.md) |
| `CHANNEL_RECIPIENT_UNREACHABLE` | `none` | `422` | [Outreach](https://agentlab.cresclab.com/docs/zh-tw/api/outreach.md) |
| `CONTRACT_UNAVAILABLE` | 未註明 | `503` | [Channel events](https://agentlab.cresclab.com/docs/zh-tw/api/channel-events.md) |
| `CONVERSATION_ARCHIVED` | `none` | `409` | [Conversations](https://agentlab.cresclab.com/docs/zh-tw/api/conversations.md) |
| `CONVERSATION_LIMIT_REACHED` | `none` | `409` | [Runs](https://agentlab.cresclab.com/docs/zh-tw/api/runs.md) |
| `ENTRY_ALREADY_DEPLOYED` | `none` | `409` | [Deployments](https://agentlab.cresclab.com/docs/zh-tw/api/deployments.md) |
| `IDEMPOTENCY_KEY_REQUIRED` | `none` | `400` | [Outreach](https://agentlab.cresclab.com/docs/zh-tw/api/outreach.md) |
| `INVALID_REQUEST` | `none` | `400` | [Channels](https://agentlab.cresclab.com/docs/zh-tw/api/channels.md), [Connections](https://agentlab.cresclab.com/docs/zh-tw/api/connections.md) |
| `KNOWLEDGE_DOCUMENT_LIMIT_REACHED` | `configure` | `409` | [Knowledge](https://agentlab.cresclab.com/docs/zh-tw/api/knowledge.md) |
| `MEMBER_INACTIVE` | `authorize` | `403` | [Runs](https://agentlab.cresclab.com/docs/zh-tw/api/runs.md), [Evaluations](https://agentlab.cresclab.com/docs/zh-tw/api/evaluations.md) |
| `MEMBER_NOT_AUTHORIZED` | `authorize` | `403` | [Workspace](https://agentlab.cresclab.com/docs/zh-tw/api/workspace.md), [Knowledge](https://agentlab.cresclab.com/docs/zh-tw/api/knowledge.md), [Channels](https://agentlab.cresclab.com/docs/zh-tw/api/channels.md), [Runs](https://agentlab.cresclab.com/docs/zh-tw/api/runs.md), [Evaluations](https://agentlab.cresclab.com/docs/zh-tw/api/evaluations.md), [Conversations](https://agentlab.cresclab.com/docs/zh-tw/api/conversations.md), [Deployments](https://agentlab.cresclab.com/docs/zh-tw/api/deployments.md), [Usage](https://agentlab.cresclab.com/docs/zh-tw/api/usage.md), [Memory](https://agentlab.cresclab.com/docs/zh-tw/api/memory.md), [Transcriptions](https://agentlab.cresclab.com/docs/zh-tw/api/transcriptions.md), [Outreach](https://agentlab.cresclab.com/docs/zh-tw/api/outreach.md), [AI Gateway](https://agentlab.cresclab.com/docs/zh-tw/api/ai-gateway.md), [Connections](https://agentlab.cresclab.com/docs/zh-tw/api/connections.md) |
| `MEMBER_REQUIRED` | `none` | `403` | [Workspace](https://agentlab.cresclab.com/docs/zh-tw/api/workspace.md), [Knowledge](https://agentlab.cresclab.com/docs/zh-tw/api/knowledge.md), [Channels](https://agentlab.cresclab.com/docs/zh-tw/api/channels.md), [Runs](https://agentlab.cresclab.com/docs/zh-tw/api/runs.md), [Evaluations](https://agentlab.cresclab.com/docs/zh-tw/api/evaluations.md), [Conversations](https://agentlab.cresclab.com/docs/zh-tw/api/conversations.md), [Deployments](https://agentlab.cresclab.com/docs/zh-tw/api/deployments.md), [Usage](https://agentlab.cresclab.com/docs/zh-tw/api/usage.md), [Memory](https://agentlab.cresclab.com/docs/zh-tw/api/memory.md), [Transcriptions](https://agentlab.cresclab.com/docs/zh-tw/api/transcriptions.md), [Outreach](https://agentlab.cresclab.com/docs/zh-tw/api/outreach.md), [AI Gateway](https://agentlab.cresclab.com/docs/zh-tw/api/ai-gateway.md), [Connections](https://agentlab.cresclab.com/docs/zh-tw/api/connections.md) |
| `MEMORY_FACT_CHANGED` | `none` | `409` | [Memory](https://agentlab.cresclab.com/docs/zh-tw/api/memory.md) |
| `PAYLOAD_TOO_LARGE` | `none` | `413` | [Account](https://agentlab.cresclab.com/docs/zh-tw/api/account.md), [Workspace](https://agentlab.cresclab.com/docs/zh-tw/api/workspace.md), [Knowledge](https://agentlab.cresclab.com/docs/zh-tw/api/knowledge.md), [Channels](https://agentlab.cresclab.com/docs/zh-tw/api/channels.md), [Runs](https://agentlab.cresclab.com/docs/zh-tw/api/runs.md), [Evaluations](https://agentlab.cresclab.com/docs/zh-tw/api/evaluations.md), [Conversations](https://agentlab.cresclab.com/docs/zh-tw/api/conversations.md), [Deployments](https://agentlab.cresclab.com/docs/zh-tw/api/deployments.md), [Memory](https://agentlab.cresclab.com/docs/zh-tw/api/memory.md), [Transcriptions](https://agentlab.cresclab.com/docs/zh-tw/api/transcriptions.md), [Outreach](https://agentlab.cresclab.com/docs/zh-tw/api/outreach.md), [Connections](https://agentlab.cresclab.com/docs/zh-tw/api/connections.md) |
| `PERSON_TOKEN_REQUIRED` | `none` | `403` | [Account](https://agentlab.cresclab.com/docs/zh-tw/api/account.md) |
| `PIN_LIMIT_REACHED` | `configure` | `409` | [Conversations](https://agentlab.cresclab.com/docs/zh-tw/api/conversations.md) |
| `PRODUCT_ACCESS_DENIED` | `configure` | `403` | [Workspace](https://agentlab.cresclab.com/docs/zh-tw/api/workspace.md), [Knowledge](https://agentlab.cresclab.com/docs/zh-tw/api/knowledge.md), [Channels](https://agentlab.cresclab.com/docs/zh-tw/api/channels.md), [Runs](https://agentlab.cresclab.com/docs/zh-tw/api/runs.md), [Evaluations](https://agentlab.cresclab.com/docs/zh-tw/api/evaluations.md), [Conversations](https://agentlab.cresclab.com/docs/zh-tw/api/conversations.md), [Deployments](https://agentlab.cresclab.com/docs/zh-tw/api/deployments.md), [Usage](https://agentlab.cresclab.com/docs/zh-tw/api/usage.md), [Memory](https://agentlab.cresclab.com/docs/zh-tw/api/memory.md), [Transcriptions](https://agentlab.cresclab.com/docs/zh-tw/api/transcriptions.md), [Outreach](https://agentlab.cresclab.com/docs/zh-tw/api/outreach.md), [AI Gateway](https://agentlab.cresclab.com/docs/zh-tw/api/ai-gateway.md), [Connections](https://agentlab.cresclab.com/docs/zh-tw/api/connections.md) |
| `REDIRECT_NOT_REGISTERED` | `configure` | `400` | [Channels](https://agentlab.cresclab.com/docs/zh-tw/api/channels.md), [Connections](https://agentlab.cresclab.com/docs/zh-tw/api/connections.md) |
| `REVISION_CONFLICT` | `none` | `409` | [Deployments](https://agentlab.cresclab.com/docs/zh-tw/api/deployments.md) |
| `RUN_BUDGET_REFUSED` | `configure` | `402` | [Runs](https://agentlab.cresclab.com/docs/zh-tw/api/runs.md), [Evaluations](https://agentlab.cresclab.com/docs/zh-tw/api/evaluations.md) |
| `RUN_CONFIGURATION_INVALID` | `none` | `422` | [Runs](https://agentlab.cresclab.com/docs/zh-tw/api/runs.md), [Evaluations](https://agentlab.cresclab.com/docs/zh-tw/api/evaluations.md), [Deployments](https://agentlab.cresclab.com/docs/zh-tw/api/deployments.md) |
| `RUN_IN_PROGRESS` | `retry` | `409` | [Runs](https://agentlab.cresclab.com/docs/zh-tw/api/runs.md) |
| `RUN_MODEL_UNAVAILABLE` | `configure` | `422` | [Runs](https://agentlab.cresclab.com/docs/zh-tw/api/runs.md), [Evaluations](https://agentlab.cresclab.com/docs/zh-tw/api/evaluations.md) |
| `SCOPE_NOT_GRANTED` | `authorize`, `configure` | `403` | [Account](https://agentlab.cresclab.com/docs/zh-tw/api/account.md), [Installation](https://agentlab.cresclab.com/docs/zh-tw/api/installation.md), [Workspace](https://agentlab.cresclab.com/docs/zh-tw/api/workspace.md), [Knowledge](https://agentlab.cresclab.com/docs/zh-tw/api/knowledge.md), [Channels](https://agentlab.cresclab.com/docs/zh-tw/api/channels.md), [Runs](https://agentlab.cresclab.com/docs/zh-tw/api/runs.md), [Evaluations](https://agentlab.cresclab.com/docs/zh-tw/api/evaluations.md), [Conversations](https://agentlab.cresclab.com/docs/zh-tw/api/conversations.md), [Deployments](https://agentlab.cresclab.com/docs/zh-tw/api/deployments.md), [Usage](https://agentlab.cresclab.com/docs/zh-tw/api/usage.md), [Memory](https://agentlab.cresclab.com/docs/zh-tw/api/memory.md), [Transcriptions](https://agentlab.cresclab.com/docs/zh-tw/api/transcriptions.md), [Outreach](https://agentlab.cresclab.com/docs/zh-tw/api/outreach.md), [AI Gateway](https://agentlab.cresclab.com/docs/zh-tw/api/ai-gateway.md), [Connections](https://agentlab.cresclab.com/docs/zh-tw/api/connections.md) |
| `SERVER_TO_SERVER_ONLY` | `none` | `403` | [Account](https://agentlab.cresclab.com/docs/zh-tw/api/account.md), [Workspace](https://agentlab.cresclab.com/docs/zh-tw/api/workspace.md), [Knowledge](https://agentlab.cresclab.com/docs/zh-tw/api/knowledge.md), [Channels](https://agentlab.cresclab.com/docs/zh-tw/api/channels.md), [Runs](https://agentlab.cresclab.com/docs/zh-tw/api/runs.md), [Evaluations](https://agentlab.cresclab.com/docs/zh-tw/api/evaluations.md), [Conversations](https://agentlab.cresclab.com/docs/zh-tw/api/conversations.md), [Deployments](https://agentlab.cresclab.com/docs/zh-tw/api/deployments.md), [Usage](https://agentlab.cresclab.com/docs/zh-tw/api/usage.md), [Memory](https://agentlab.cresclab.com/docs/zh-tw/api/memory.md), [Transcriptions](https://agentlab.cresclab.com/docs/zh-tw/api/transcriptions.md), [Outreach](https://agentlab.cresclab.com/docs/zh-tw/api/outreach.md), [AI Gateway](https://agentlab.cresclab.com/docs/zh-tw/api/ai-gateway.md), [Connections](https://agentlab.cresclab.com/docs/zh-tw/api/connections.md) |
| `TOOL_APPROVAL_NOT_PERMITTED` | `none` | `403` | [Runs](https://agentlab.cresclab.com/docs/zh-tw/api/runs.md) |
| `TOOL_CALL_NOT_PENDING` | `none` | `409` | [Runs](https://agentlab.cresclab.com/docs/zh-tw/api/runs.md) |
| `TRANSCRIPTION_BUDGET_REFUSED` | `configure` | `402` | [Transcriptions](https://agentlab.cresclab.com/docs/zh-tw/api/transcriptions.md) |
| `WORKSPACE_CREATION_LIMIT_REACHED` | `none` | `403` | [Account](https://agentlab.cresclab.com/docs/zh-tw/api/account.md) |
| `WORKSPACE_NOT_INSTALLED` | `configure` | `403` | [Workspace](https://agentlab.cresclab.com/docs/zh-tw/api/workspace.md), [Knowledge](https://agentlab.cresclab.com/docs/zh-tw/api/knowledge.md), [Channels](https://agentlab.cresclab.com/docs/zh-tw/api/channels.md), [Runs](https://agentlab.cresclab.com/docs/zh-tw/api/runs.md), [Evaluations](https://agentlab.cresclab.com/docs/zh-tw/api/evaluations.md), [Conversations](https://agentlab.cresclab.com/docs/zh-tw/api/conversations.md), [Deployments](https://agentlab.cresclab.com/docs/zh-tw/api/deployments.md), [Usage](https://agentlab.cresclab.com/docs/zh-tw/api/usage.md), [Memory](https://agentlab.cresclab.com/docs/zh-tw/api/memory.md), [Transcriptions](https://agentlab.cresclab.com/docs/zh-tw/api/transcriptions.md), [Outreach](https://agentlab.cresclab.com/docs/zh-tw/api/outreach.md), [AI Gateway](https://agentlab.cresclab.com/docs/zh-tw/api/ai-gateway.md), [Connections](https://agentlab.cresclab.com/docs/zh-tw/api/connections.md) |
| `WORKSPACE_SLUG_UNAVAILABLE` | `none` | `409` | [Account](https://agentlab.cresclab.com/docs/zh-tw/api/account.md) |
