When Copying The Input is Recognized As Object and not Json

I have a process working for being able to post on IG.

When I copy the same process one of the variables because an object instead of a JSON which is required for Ideogram.

This is not making sense to me as I do not change anything yet one works and the other does not.



Hello @jasonmbd

The error indicates that the JSON is not valid,

Try using the same expression you used in the first working branch, but modify it slightly or use something like this:

{
"image_request": {{ JSON.stringify( $json.image_request ) }}
}
2 Likes

That did it. I copied and pasted from the other expression, but you had the magic string. Thank you@

Glad it worked! @jasonmbd

If you don’t mind, please mark the reply as the solution :white_check_mark: :pray:t2:

1 Like

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.