ChatGPT (OpenAI) error: chat model not supported in v1/completions endpoint
- Tables
-
Product updates
Product updates: January 2023 Product updates: March 2023 Product updates: February 2023 Product updates: April 2023 Product updates: May 2023 Product updates: June 2023 Product updates: July 2023 Product updates: August 2023 Product updates: September 2023 Product updates: October 2023 Product updates: November 2023 Product updates: December 2023 Product updates: January 2024 Product updates: February 2024 Product updates: March 2024 Product updates: April 2024 Product updates: May 2024 Product updates: June 2024 Product updates: July 2024 Product updates: August 2024 Product updates: September 2024 Product updates: October 2024 Product updates: November 2024 Product updates: December 2024 Product updates: January 2025 Product updates: February 2025 Product updates: March 2025 Product updates: April 2025 Product updates: May 2025 Product updates: June 2025 Product updates: July 2025 Product updates: August 2025
- Zaps
- Your Zapier account
- Interfaces
- Canvas
- Chatbots
- Getting started
- Agents
- MCP
- Built-in tools
- Lead Router
- Apps
Table of Contents
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 happens 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 ChatGPT (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