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
Solution:Jump to 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"}
1 Reply
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"}