> For the complete documentation index, see [llms.txt](https://doc.mantago.cc/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://doc.mantago.cc/mantago-en/faq/error-codes.md).

# Error Codes

Example Error Response:

```json
{
    "success": false,
    "errResponse": {
        "message": "This is sample message",
        "code": 0000,
        "botId": "MantaGO Bot ID"
    }
}
```

The `errResponse` object may contain the following error codes and messages.：

<table><thead><tr><th width="186">Code</th><th>Message</th><th>Description</th></tr></thead><tbody><tr><td>1004</td><td>Token is invalid or expired</td><td>The API Token or Secret Key has expired.</td></tr><tr><td>1002</td><td>permission denied</td><td><p></p><ol><li>Invalid API Token or Secret Key.</li><li>Your current subscription plan does not support the Open API.</li></ol></td></tr><tr><td>5001</td><td>尋找Bot資訊失敗,無此botId</td><td>The specified bot could not be found based on the <code>botId</code> query parameter.</td></tr><tr><td>60001</td><td>Bind customer client failed</td><td>The member associated with the provided <code>clientId</code> could not be found.</td></tr><tr><td>60002</td><td>Unbind customer client failed</td><td>The bound member associated with the provided <code>clientId</code> and <code>customerId</code> could not be found.</td></tr><tr><td>11000</td><td>存入integration info 失敗</td><td>Failed to configure the LINE WebView URL.</td></tr><tr><td>11001</td><td>尋找Integration資訊失敗,無此IntegrationId</td><td>No integration data found for the specified <code>botId</code> and <code>platform</code>.</td></tr><tr><td>37011</td><td>Get client failed</td><td>No member found matching the provided query parameters and request parameters.</td></tr><tr><td>36000</td><td>Create broadcast failed</td><td><ol><li>Message delivery failed.</li><li>The bot has not been published yet.</li></ol></td></tr><tr><td>110000</td><td>Get correct request variables failed</td><td>Required variables are missing from the request body.</td></tr><tr><td>120000</td><td>Get open api failed</td><td>The API Token and Secret Key have already been refreshed, but the old credentials are still being used.</td></tr><tr><td>120001</td><td>Update open api failed</td><td>Failed to update the WebView URL.</td></tr></tbody></table>
