XITUZ
1
I have to send a message for chat gpt using http request, their website shows me that i have to do like this:
And in my flow im doing this way:
with this code:
{
“tool_outputs”: [
{
“tool_call_id”: “{{ $(‘Switch1’).item.json.required_action.submit_tool_outputs.tool_calls[0].id }}”,
“output”: “{{ $(‘Summarize’).item.json.concatenated_Output }}”
}
]
}
And im getting the Error: Json parameter need to be an valid Json.
Can someone help me plz
n8n
2
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:
XITUZ
3
n8n version:1.53.2
Database: Default
Running via docker on ubuntu 22.04
ria
4
Hi @XITUZ
Thanks for posting here and welcome to the community! 
This is actually quite subtle but you are using formatted quotes, which cannot be parsed correctly.
So the quotes you are using are curly quotes used in formal writing or typesetting, You need to clean the format and use straight quotes.
”
vs. "
I hope you can see the difference?
If you cut and paste your code into a plain text editor and then back into the node that should help to clean the format up 
system
Closed
5
This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.