Describe the problem/error/question
I’m constantly having these errors with OpenAi node and I can’t find the reason
What is the error message (if any)?
terminated - The workflow terminated unexpectedly.
Please share your workflow
(Select the nodes on your canvas and use the keyboard shortcuts CMD+C/CTRL+C and CMD+V/CTRL+V to copy and paste the workflow.)
Share the output returned by the last node
Information on your n8n setup
- n8n version: latest
- Database (default: PostgreSQL):
- n8n EXECUTIONS_PROCESS setting (default: own, main):
- Running n8n via (Self hosted):
- Operating system: Linux
Hello @RafaelAugustoR,
Could please share your n8n version? You write it down “latest” but it is better to know the version number.
Here some other possible input for you:
-
Make sure you’re passing a properly formatted JSON object to the OpenAI node. Even small issues in the structure (e.g., undefined values, extra commas) can silently break execution.
-
Double-check the selected model (e.g., GPT-5 vs GPT-4) and keep prompt + response token length well below the model’s limit. Overflows can sometimes crash the node without clear errors
-
If you’re using the Memory tab in the OpenAI node, try disabling it. Some users have reported memory persistence causing crashes in loops.
1 Like
Hi, @Gallo_AIA.
That’s the n8n version: 1.105.4
I’m using GPT-4.1, but when i use GPT-5-nano, i got the same problem.
Thank you for the support and sorry for my english.
@RafaelAugustoR try to update the n8n version to 1.06 version and retry.
1 Like
I’ve got this issue on 1.106.3 using gpt-4.1-mini. But I just retried and worked fine
1 Like
@Gallo_AIA This issue persists in version 1.07. We have verified that the JSON output is correctly formatted. Could you please investigate the root cause?