David K.
David K.7mo ago

David K. - i keep getting errors when putting q...

i keep getting errors when putting quotes around a variable into the api call node body
No description
No description
No description
Solution:
Hi @David K. You were missing a colon due to which it was giving an error: You can paste this correct variable object in the expression editor and it should work then: {"messages":[{"role":"system","content":"You're a helpful assistant"},{"content":ctx["root"]["1716029446273"],"role":"user"}],"model":"gpt-4o"}
Jump to solution
1 Reply
Solution
Gaurav Chadha
Gaurav Chadha7mo ago
Hi @David K. You were missing a colon due to which it was giving an error: You can paste this correct variable object in the expression editor and it should work then: {"messages":[{"role":"system","content":"You're a helpful assistant"},{"content":ctx["root"]["1716029446273"],"role":"user"}],"model":"gpt-4o"}