I am trying to send this data through an api.
The api works with a single line item.
This is the error when I use the expression above
I am trying to send this data through an api.
you can’t have any spaces after each ,
I see you’ve pressed the ‘enter’ key to move down a place for legibility.
ie: {“key”: “value”,“key2”: “value2”}
I also recommend using the :formatted as Json operator where you can (you then won’t need the " marks) to make sure nothing in your data is not json friendly and causing it to fail.
I found the problem ended up being that I needed to move the } at the end of the formatted as text and put it inside the formatted content at the end.
Glad it worked out for you!