{"componentChunkName":"component---src-templates-simple-markdown-js","path":"/process-intelligence-apis/agents-api/api-reference/error-catalog/","matchPath":"","result":{"data":{"markdownRemark":{"html":"<h1 style=\"position:relative;\"><a href=\"#ai-agent-api-error-catalog\" aria-label=\"ai agent api error catalog permalink\" class=\"anchor before\"><svg aria-hidden=\"true\" focusable=\"false\" height=\"16\" version=\"1.1\" viewBox=\"0 0 16 16\" width=\"16\"><path fill-rule=\"evenodd\" d=\"M4 9h1v1H4c-1.5 0-3-1.69-3-3.5S2.55 3 4 3h4c1.45 0 3 1.69 3 3.5 0 1.41-.91 2.72-2 3.25V8.59c.58-.45 1-1.27 1-2.09C10 5.22 8.98 4 8 4H4c-.98 0-2 1.22-2 2.5S3 9 4 9zm9-3h-1v1h1c1 0 2 1.22 2 2.5S13.98 12 13 12H9c-.98 0-2-1.22-2-2.5 0-.83.42-1.64 1-2.09V6.25c-1.09.53-2 1.84-2 3.25C6 11.31 7.55 13 9 13h4c1.45 0 3-1.69 3-3.5S14.5 6 13 6z\"></path></svg></a><div class=\"hidden-anchor\" id=\"ai-agent-api-error-catalog\"></div>AI Agent API Error Catalog</h1>\n<p>This section documents the errors that AI Agent APIs may return (standard error messages are described in <a href=\"/celonis-apis/api-reference/common-error-catalog/\">Common API Error Catalog</a>).</p>\n<table>\n    <tr>\n        <td rowspan=\"2\" ><strong>Returned when</strong></td>\n        <td colspan=\"2\" ><strong>Response</strong></td>\n    </tr>\n    <tr>\n        <td><strong>Status code</strong></td>\n        <td><strong>Example</strong></td>\n    </tr>\n    <tr>\n        <td>Referencing a non-existing Celonis Process Copilot.</td>\n        <td>400</td>\n        <td>\n            <pre>\n                {\n                   \"title\": \"AI Agent not found.\",\n                   \"status\": 400,\n                   \"detail\": \"AI Agent with id 'XXXX' was not found.\",\n                   \"errorCode\": \"AGENT_NOTFOUND\"\n                }\n            </pre>\n        </td>\n    </tr>\n    <tr>\n        <td>Referencing a non-existing tool.</td>\n        <td>404</td>\n        <td>\n            <pre>\n                {\n                   \"title\": \"Tool not found.\",\n                   \"status\": 404,\n                   \"detail\": \"The tool Id: 'XXXX' wasn't found\",\n                   \"errorCode\": \"AGENT_TOOL_NOTFOUND\"\n                }\n            </pre>\n        </td>\n    </tr>\n    <tr>\n        <td>Either the specified agent is unavailable or your account doesn't have permission to use it.</td>\n        <td>400</td>\n        <td>\n            <pre>\n                {\n                   \"title\": \"Access denied.\",\n                   \"status\": 400,\n                   \"detail\": \"Agent access denied.\",\n                }\n            </pre>\n        </td>\n    </tr>\n    <tr>\n        <td>Referencing an agent you don't have access to</td>\n        <td>403</td>\n        <td>\n            <pre>\n                {\n                   \"title\": \"Access denied.\",\n                   \"status\": 403,\n                   \"detail\": \"Agent access denied.\",\n                }\n            </pre>\n       </td>\n    </tr>\n</table>","headings":[{"value":"AI Agent API Error Catalog","depth":1}]},"contentItem":{"data":{"lastModified":"2025-04-07T13:57:00.000Z","enableToc":null,"disableLastModified":null,"tocMaxDepth":null,"requestLogin":false}},"siteConfig":{"enableToc":false,"disableLastModified":false,"tocMaxDepth":4}},"pageContext":{"matchPath":"","id":"5145a653-372d-5236-8192-736f7ee2931a__redocly content/process-intelligence-apis/agents-api/api-reference/error-catalog/","seo":{"title":"AI Agent API Error Catalog","description":null,"image":"","keywords":null,"jsonLd":null,"lang":null,"siteUrl":null},"pageId":"process-intelligence-apis/agents-api/api-reference/error-catalog.md","pageBaseUrl":"/process-intelligence-apis/agents-api/api-reference/error-catalog","type":"markdown","toc":{"enable":true,"maxDepth":4,"headings":[{"depth":1,"value":"AI Agent API Error Catalog","id":"ai-agent-api-error-catalog"}]},"data":{"title":""},"catalogInfo":null,"link":"/process-intelligence-apis/agents-api/api-reference/error-catalog/","sidebarName":"celonis","isLanding":false,"showPrevButton":null,"showNextButton":null,"apiVersions":null,"apiVersionId":null,"isDefaultApiVersion":null}},"staticQueryHashes":["1123603147","1302185487","1344209882","1398840060","1520077861","1975142765","2667623876","2950305614","3240152602","3743992808","561138138"]}