Ruan17
March 22, 2025, 10:20am
1
Describe the problem/error/question
openai is not working on node ai agent
What is the error message (if any)?
When I run it in test mode it works, but when I put it into production it gives an error, however when I use the grop AI it works normally
Message erro
Bad request - please check your parameters
We could not parse the JSON body of your request. (HINT: This likely means you aren’t using your HTTP library correctly. The OpenAI API expects a JSON payload, but what was sent was not valid JSON. If you have trouble figuring out how to fix this, please contact us through our help center at help.openai.com .)
Please share your workflow
Share the output returned by the last node
Information on your n8n setup
**n8n version:184.1
**Database :POSTGRES
n8n EXECUTIONS_PROCESS setting (default: main):
Running n8n via (Docker):
**Operating system:UBUNTO 20.04
Hey @Ruan17
1.84.1 is a Pre-release, meaning bugs are expected.
Try to stick with Releases.
On the GitHub page you can see the latest releases and pre-releases:
But I’m running some tests here with 1.84.1 and I’ll make sure to report this bug, if I can replicate it.
If my reply answers your question, please remember to mark it as a solution.
Hey @Ruan17
After testing, I wasn’t able to replicate your issue.
Maybe it’s a problem with your credentials or your installation.
Here’s my workflow if you’d like to copy & paste to your instance an see if it runs. I worked fine here.
Ruan17
March 22, 2025, 2:20pm
4
Did you test in production? Because in test mode it works but in production
Yes, running fine:
.
I would still recommend to stick with the latest release, instead of using pre-release versions.
Ruan17
March 23, 2025, 11:11am
6
I tested today the latest version but it doesn’t work either
Ruan17
March 23, 2025, 1:35pm
7
I did new tests and with node in openai in version 1.0 it works normally, but version 1.2 does not work
version n8n
and I tested another version of n8n, and it has the same problem, that’s the only way I could solve it
I wrote this reply while you were writing yours
EDIT:
It seems to be bug, then.
Click the “Report bug” button on the sidebar.
If possible, share the report link here. I’ll try to replicate your issue again, to contribute to the report.
Jon
March 23, 2025, 6:31pm
10
Thanks for the report I will take a look in the morning and see if I can reproduce it
1 Like
system
Closed
June 24, 2025, 1:47pm
12
This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.