Troubleshooting of OpenAI API: Difference between revisions

Jump to navigation Jump to search
no edit summary
No edit summary
No edit summary
Line 9: Line 9:
* Solution: Refresh the webpage https://chat.openai.com/chat
* Solution: Refresh the webpage https://chat.openai.com/chat


=== How to fix 'messages' is a required property ===
=== How to fix "messages is a required property" ===
* Error message: 'messages' is a required property
* Error message: 'messages' is a required property
* Example Input
* Example Input
Line 59: Line 59:
</pre>
</pre>


=== How to fix None is not of type 'string' - 'messages.1.content' ===
=== How to fix "None is not of type string - messages.1.content" ===
* Error message: None is not of type 'string' - 'messages.1.content'
* Error message: None is not of type 'string' - 'messages.1.content'
* Example Input
* Example Input
Line 107: Line 107:
* 或「使用臺灣常用的繁體中文」
* 或「使用臺灣常用的繁體中文」


== Related pages ==
* [[ChatGPT prompts]]


== Further reading ==
== Further reading ==
Anonymous user

Navigation menu