Symptoms
You’re using the ChatGPT (OpenAI) Send Prompt action and get the error message "[invalid_request_error] This is a chat model and not supported in the v1/completions endpoint. Did you mean to use v1/chat/completions?". This error happens when testing the Zap or if the Zap is turned on.
Causes
This can happen when you select an incorrect chat model that is not compatible with the Send Prompt action. The Send Prompt action uses the legacy OpenAI Completions API, which only supports 3 deprecated chat models.
How to fix it
To fix this:
- Go to the affected OpenAI step.
- In the Model dropdown menu, select one of the deprecated chat model alternatives:
- babbage-002
- davinci-002
- gpt-3.5-turbo-instruct
- Alternatively, if you do not want to use the deprecated chat model alternatives, use these actions instead:
- Conversation
- Conversation with Assistant