Troubleshooting of OpenAI API: Difference between revisions

Jump to navigation Jump to search
No edit summary
Line 101: Line 101:
* Go to [https://status.openai.com/ OpenAI Status] to check if the server is outage
* Go to [https://status.openai.com/ OpenAI Status] to check if the server is outage
* Send an issue to [https://help.openai.com/en/ OpenAI Help Center]
* Send an issue to [https://help.openai.com/en/ OpenAI Help Center]
=== How to fix "We could not parse the JSON body of your request" ===
Error message:
<pre>
We could not parse the JSON body of your request. (HINT: This likely means you aren't using your HTTP library correctly. The OpenAI API expects a JSON payload, but what was sent was not valid JSON. If you have trouble figuring out how to fix this, please send an email to [email protected] and include any relevant code you'd like help with.)
</pre>
Solution:
* Ensure that the payload you sent to the API is properly formatted as JSON.


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

Navigation menu