> ## Documentation Index
> Fetch the complete documentation index at: https://openrouter-d02e98a0-mintlify-7021d5f4.mintlify.site/llms.txt
> Use this file to discover all available pages before exploring further.

# ErrorCode - Python SDK

> ErrorCode method reference

<Warning>
  The Python SDK and docs are currently in beta.
  Report issues on [GitHub](https://github.com/OpenRouterTeam/python-sdk/issues).
</Warning>

## Values

| Name                 | Value                |
| -------------------- | -------------------- |
| `INVALID_TOOL_INPUT` | invalid\_tool\_input |
| `UNAVAILABLE`        | unavailable          |
| `MAX_USES_EXCEEDED`  | max\_uses\_exceeded  |
| `TOO_MANY_REQUESTS`  | too\_many\_requests  |
| `QUERY_TOO_LONG`     | query\_too\_long     |
