AI Prompt Engineering: Difference between revisions

Jump to navigation Jump to search
1,917 bytes removed ,  3 April 2023
Line 240: Line 240:


== Troubleshooting of ChatGPT errors ==
== Troubleshooting of ChatGPT errors ==
=== How to fix "The message you submitted was too long" ===
[[Troubleshooting of OpenAI API]]
* Error message: "The message you submitted was too long, please reload the conversation and submit something shorter."
* Solution: Reduce the length of an input message to less than 15,000 characters. The exact characters limit is not listed on official document, 17,000 characters will not allowed in my experience<ref>[https://errerrors.blogspot.com/2023/01/how-to-fix-the-message-you-submitted-was-too-long-on-chatgpt.html 解決 ChatGPT 遇到「The message you submitted was too long」錯誤訊息]</ref>.
 
=== How to fix "An error occurred" ===
* Error message: "An error occurred. If this issue persists please contact us through our help center at help.openai.com."
* Solution: Refresh the webpage https://chat.openai.com/chat
 
=== How to fix 'messages' is a required property ===
& Error message: 'messages' is a required property
* Solution: Check the payload data if the messages property is exists
 
=== How to fix "The model `gtp-4` does not exist" ===
* Error message: "The model `gtp-4` does not exist"
* Solution: Go to [https://platform.openai.com/docs/models Models - OpenAI API] the check the model list
 
=== How to fix "The server had an error while processing your request" ===
Error message:
<pre>
The server had an error while processing your request. Sorry about that! You can retry your request, or contact us through our help center at help.openai.com if the error persists. (Please include the request ID XXXX1 in your message.)
</pre>
 
Solution:
* 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]
 
=== 強制保持繁體中文輸出 ===
 
* 在問題前面加上 #zh-TW <ref>[https://learntech.tw/chatgpt-traditional-chinese/ ChatGPT:如何強制保持繁體中文輸出 |學科技、省時間 - 學科技]</ref>
* 或「使用臺灣常用的繁體中文」


== References ==
== References ==
Anonymous user

Navigation menu