> ## Documentation Index
> Fetch the complete documentation index at: https://docs.geekai.co/llms.txt
> Use this file to discover all available pages before exploring further.

# Error Codes

You may encounter the following errors when calling the GeekAI API. The causes and solutions for related errors are listed here:

<div style={{ width: '100%', overflowX: 'auto' }}>
  <table style={{ width: '100%', borderCollapse: 'collapse', tableLayout: 'fixed' }}>
    <thead>
      <tr>
        <th style={{ border: '1px solid #ccc', padding: '10px', }}>Error Code</th>
        <th style={{ border: '1px solid #ccc', padding: '10px',width: '81%' }}>Description</th>
      </tr>
    </thead>

    <tbody>
      <tr>
        <td style={{ border: '1px solid #ccc', padding: '8px' }}>400 - Parameter Error</td>

        <td style={{ border: '1px solid #ccc', padding: '8px' }}>
          Incorrect request parameter format: Please modify the request parameters according to the error message.
        </td>
      </tr>

      <tr>
        <td style={{ border: '1px solid #ccc', padding: '8px' }}>401 - Authentication Failed</td>

        <td style={{ border: '1px solid #ccc', padding: '8px' }}>
          Authentication failure due to empty or incorrect API KEY: Please check if the API KEY is correct. If you do not have an API KEY, please [create an API KEY](https://geekai.dev/user/api_keys) first.
        </td>
      </tr>

      <tr>
        <td style={{ border: '1px solid #ccc', padding: '8px' }}>402 - Insufficient Balance</td>

        <td style={{ border: '1px solid #ccc', padding: '8px' }}>
          Insufficient account balance: Please confirm your account balance and go to the [recharge page](https://geekai.dev/credit/plans) to top up.
        </td>
      </tr>

      <tr>
        <td style={{ border: '1px solid #ccc', padding: '8px' }}>403 - Insufficient Permissions</td>

        <td style={{ border: '1px solid #ccc', padding: '8px' }}>
          User does not have permission to operate on this resource: Please modify the request parameters according to the error message.
        </td>
      </tr>

      <tr>
        <td style={{ border: '1px solid #ccc', padding: '8px' }}>404 - Resource Not Found</td>

        <td style={{ border: '1px solid #ccc', padding: '8px' }}>
          The resource requested by the user does not exist: Modify the request parameters to ensure that the requested resource exists.
        </td>
      </tr>

      <tr>
        <td style={{ border: '1px solid #ccc', padding: '8px' }}>413 - Resource Too Large</td>

        <td style={{ border: '1px solid #ccc', padding: '8px' }}>
          Uploaded file is too large and exceeds the system limit: Please modify the size of the requested uploaded file according to the error message.
        </td>
      </tr>

      <tr>
        <td style={{ border: '1px solid #ccc', padding: '8px' }}>429 - Too Many Requests</td>

        <td style={{ border: '1px solid #ccc', padding: '8px' }}>
          User request frequency (TPM or RPM) is too fast, exceeding the system limit: Please refer to the RPM limit of the corresponding model in the [Model Plaza](https://geekai.co/models) to plan the request rate reasonably.
        </td>
      </tr>

      <tr>
        <td style={{ border: '1px solid #ccc', padding: '8px' }}>500 - Server Error</td>

        <td style={{ border: '1px solid #ccc', padding: '8px' }}>
          Internal server error: Please wait and try again. If the problem persists, please join the [developer group](https://docs.geekai.dev/en/getting-started/quick_start#developer-group) and contact us for a solution.
        </td>
      </tr>

      <tr>
        <td style={{ border: '1px solid #ccc', padding: '8px' }}>503 - Server Busy</td>

        <td style={{ border: '1px solid #ccc', padding: '8px' }}>
          Server overload: Please try your request again later.
        </td>
      </tr>

      <tr>
        <td style={{ border: '1px solid #ccc', padding: '8px' }}>504 - Server Timeout</td>

        <td style={{ border: '1px solid #ccc', padding: '8px' }}>
          Server processing request timeout: Please try your request again later. If the problem persists, please join the developer group and contact us for a solution.
        </td>
      </tr>
    </tbody>
  </table>
</div>
