@CuO think i can actually pin it now. , I researched into it more, n8ns v2 message a model targets openais newer Responses api, which sends the prompt in an input field, not a messages array. your custom gateway almost certainly only speaks the older chat/completions api, so it receives a body with no messages key and hands back exactly that, got null, so its not really your config. two ways round it, use the legacy openai node (1.4, it still hits chat/completions) if you can pick the node version, or the http request node straight to your gateways /chat/completions with the messages array. same v2 responses-api root cause as this solved thread
achamm
3
Related topics
| Topic | Replies | Views | Activity | |
|---|---|---|---|---|
| HTTP Request → OpenAI Chat Completions returns Bad request – please check your parameters despite valid messages array | 1 | 260 | February 6, 2026 | |
| Bug: OpenAI "Message a model" Node Fails - "Cannot read properties of undefined (reading 'error')" | 9 | 1087 | August 5, 2025 | |
| OpenAI Node - "Message a Model" (v2 Actions) - Bad request - please check your parameters | 4 | 174 | June 18, 2026 | |
| OpenAI node is not parsing or reading any input value | 8 | 320 | July 18, 2025 | |
| Error with OpenAI node | 4 | 139 | March 23, 2025 |