# 404 This is not a chat model and thus not supported

**URL:** <https://community.n8n.io/t/404-this-is-not-a-chat-model-and-thus-not-supported/60229>\
**Category:** Questions\
**Created:** [October 30, 2024, 5:57pm UTC](https://community.n8n.io/t/404-this-is-not-a-chat-model-and-thus-not-supported/60229 "2024-10-30T17:57:28Z")\
**Posts on this page:** 10\
**Page:** 1

<div class="post-metadata">

**Author:** ![0ne](https://dub1.discourse-cdn.com/n8n/user_avatar/community.n8n.io/0ne/32/9485_2.png) [@0ne](https://community.n8n.io/u/0ne)\
**Post date:** [October 30, 2024, 5:57pm UTC](https://community.n8n.io/t/404-this-is-not-a-chat-model-and-thus-not-supported/60229/1 "2024-10-30T17:57:28Z")

</div>

Cant use the the newer chat model in the agent nodes gives me this error . 404 This is not a chat model and thus not supported in the v1/chat/completions endpoint. About n8n

n8n Version

1.62.3

---

<div class="post-metadata">

**Author:** ![n8n](https://dub1.discourse-cdn.com/n8n/user_avatar/community.n8n.io/n8n/32/196425_2.png) [@n8n](https://community.n8n.io/u/n8n)\
**Post date:** [October 30, 2024, 5:57pm UTC](https://community.n8n.io/t/404-this-is-not-a-chat-model-and-thus-not-supported/60229/2 "2024-10-30T17:57:29Z")

</div>

It looks like your topic is missing some important information. Could you provide the following if applicable.

- **n8n version:**
- **Database (default: SQLite):**
- **n8n EXECUTIONS\_PROCESS setting (default: own, main):**
- **Running n8n via (Docker, npm, n8n cloud, desktop app):**
- **Operating system:**

---

<div class="post-metadata">

**Author:** ![mariana-na](https://dub1.discourse-cdn.com/n8n/user_avatar/community.n8n.io/mariana-na/32/40200_2.png) [@mariana-na](https://community.n8n.io/u/mariana-na)\
**Post date:** [October 30, 2024, 7:40pm UTC](https://community.n8n.io/t/404-this-is-not-a-chat-model-and-thus-not-supported/60229/3 "2024-10-30T19:40:34Z")

</div>

Hi @0ne ,

Good to see you back!

Could you please share your workflow so we can see how you’re setting it?  
What chat model are you using? Is it giving you issues with all the Agents or only some?

It’s a little abstract so far and it makes it hard to debug 🙌

---

<div class="post-metadata">

**Author:** ![0ne](https://dub1.discourse-cdn.com/n8n/user_avatar/community.n8n.io/0ne/32/9485_2.png) [@0ne](https://community.n8n.io/u/0ne)\
**Post date:** [October 30, 2024, 8:05pm UTC](https://community.n8n.io/t/404-this-is-not-a-chat-model-and-thus-not-supported/60229/4 "2024-10-30T20:05:26Z")

</div>

Hi thank you for helping out, its when I try to use the AI agent node with the open AI tool. it only support models below 4o, i get the error were is looks like it trying to use a incorrect api address ?

400 Unsupported value: ‘messages[0].role’ does not support ‘system’ with this model.  
Error details  
Other info  
n8n version  
1.62.3 (Self Hosted)  
Stack trace  
Error: 400 Unsupported value: ‘messages[0].role’ does not support ‘system’ with this model. at Function.generate (/app/code/node\_modules/openai/src/error.ts:70:14) at OpenAI.makeStatusError (/app/code/node\_modules/openai/src/core.ts:424:21) at OpenAI.makeRequest (/app/code/node\_modules/openai/src/core.ts:488:24) at processTicksAndRejections (node:internal/process/task\_queues:95:5) at /app/code/node\_modules/@langchain/openai/dist/chat\_models.cjs:1362:29 at RetryOperation.\_fn (/app/code/node\_modules/p-retry/index.js:50:12)  
.

---

<div class="post-metadata">

**Author:** ![sirdavidoff](https://dub1.discourse-cdn.com/n8n/user_avatar/community.n8n.io/sirdavidoff/32/2423_2.png) [@sirdavidoff](https://community.n8n.io/u/sirdavidoff)\
**Post date:** [October 31, 2024, 2:43pm UTC](https://community.n8n.io/t/404-this-is-not-a-chat-model-and-thus-not-supported/60229/5 "2024-10-31T14:43:17Z")

</div>

Have you tried using the tools agent rather than the conversational agent?

 ![CleanShot 2024-10-31 at 15.43.35](https://europe1.discourse-cdn.com/n8n/original/3X/8/6/869a31d90d293e9df631b1c1bbed3a49a76dbd8d.png)

---

<div class="post-metadata">

**Author:** ![0ne](https://dub1.discourse-cdn.com/n8n/user_avatar/community.n8n.io/0ne/32/9485_2.png) [@0ne](https://community.n8n.io/u/0ne)\
**Post date:** [October 31, 2024, 4:33pm UTC](https://community.n8n.io/t/404-this-is-not-a-chat-model-and-thus-not-supported/60229/6 "2024-10-31T16:33:41Z")

</div>

same error Problem in node ‘AI Agent‘

400 Unsupported value: ‘messages[0].role’ does not support ‘system’ with this model.

even tried define the texr below

---

<div class="post-metadata">

**Author:** ![sirdavidoff](https://dub1.discourse-cdn.com/n8n/user_avatar/community.n8n.io/sirdavidoff/32/2423_2.png) [@sirdavidoff](https://community.n8n.io/u/sirdavidoff)\
**Post date:** [November 1, 2024, 9:59am UTC](https://community.n8n.io/t/404-this-is-not-a-chat-model-and-thus-not-supported/60229/7 "2024-11-01T09:59:56Z")

</div>

It looks this is a bug when using the o1-preview model. I’ve reported this internally

---

<div class="post-metadata">

**Author:** ![sirdavidoff](https://dub1.discourse-cdn.com/n8n/user_avatar/community.n8n.io/sirdavidoff/32/2423_2.png) [@sirdavidoff](https://community.n8n.io/u/sirdavidoff)\
**Post date:** [November 1, 2024, 10:16am UTC](https://community.n8n.io/t/404-this-is-not-a-chat-model-and-thus-not-supported/60229/8 "2024-11-01T10:16:36Z")

</div>

Actually the o1-preview model doesn’t yet support tool calling and so isn’t compatible with the agent node

---

<div class="post-metadata">

**Author:** ![0ne](https://dub1.discourse-cdn.com/n8n/user_avatar/community.n8n.io/0ne/32/9485_2.png) [@0ne](https://community.n8n.io/u/0ne)\
**Post date:** [November 1, 2024, 4:39pm UTC](https://community.n8n.io/t/404-this-is-not-a-chat-model-and-thus-not-supported/60229/9 "2024-11-01T16:39:29Z")

</div>

ok thanks for sharing

---

<div class="post-metadata">

**Author:** ![system](https://dub1.discourse-cdn.com/n8n/user_avatar/community.n8n.io/system/32/195824_2.png) [@system](https://community.n8n.io/u/system)\
**Post date:** [November 8, 2024, 4:39pm UTC](https://community.n8n.io/t/404-this-is-not-a-chat-model-and-thus-not-supported/60229/10 "2024-11-08T16:39:58Z")

</div>

Closed on November 8, 2024, 4:39pm UTC

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.
