Troubleshooting of OpenAI API: Difference between revisions

Jump to navigation Jump to search
Line 153: Line 153:
Solution:
Solution:
* Ensure that the payload you sent to the API is properly formatted as JSON.
* Ensure that the payload you sent to the API is properly formatted as JSON.
=== How to fix "You exceeded your current quota, please check your plan and billing details." ===
Error message: You exceeded your current quota, please check your plan and billing details.
<pre>
{
  "error": {
    "message": "You exceeded your current quota, please check your plan and billing details.",
    "type": "insufficient_quota",
    "param": null,
    "code": null
  }
}
</pre>
Solution:
* Go to https://platform.openai.com/account/usage to check the API usage
* You will receive the email "OpenAI API - Hard Limit Notice". The content mentioned "To have your quota increased, please fill in the quota increase request form."


=== 強制保持繁體中文輸出 ===
=== 強制保持繁體中文輸出 ===
Anonymous user

Navigation menu