| code | desc |
|---|---|
| 400 Bad request | There is a problem with your request parameters. Generally, you can solve the problem based on the returned error. |
| 401 Unauthorized | Please check whether the header contains the key-value pair: Authorization: Bearer sk-xxx If you use a tool, you usually only need to configure the "sk-xxx". You may encounter the following errors. Determine the problem based on different error messages: 1). invalid token You have not set your API-KEY or it is set incorrectly. 2. API Key: sk-123****abc, Your key was expired, please check your key status. Each key is valid for 30 days from the date of purchase. If it exceeds this time, even if your key still has a balance, it will be marked as invalid. Each key has one free renewal opportunity. The renewal period is determined based on the remaining balance of the key, up to 15 days. If the validity period expires again and the balance is not exhausted, you will need to buy again. |
| 403 Forbidden | You cannot access it directly through the browser: https://api.aiguoguo199.com When you use the tool, try the configured addresses: ·https://api.aiguoguo199.com ·https://api.aiguoguo199.com/v1 ·https://api.aiguoguo199.com/v1/chat/completions |
| 404 Not Found | Refer to the example above |
| 429 Too many request | 1. Rate limit reached for gpt-xx.. The model is overloaded. This is returned by openAI. You need to wait up to 1 minute to recover. 2. The model is overloaded. Please try again later. The same as the First issue. 3. You exceeded your current quota, please check your quota. This indicates that your key balance has been exhausted and you need to purchase a new amount to continue using it. You can check your key at: https://usage.aiguoguo199.com |
| 500 Internet error 502 Bad Gateway 503 Service Unavailable | This is usually a server-side problem. This error usually occurs when openAI fails. You can also consult the author for further information. |