I am trying to use Flow to update various product fields based on certain conditions using the Send Admin API action. To test this I am using an old, inactive product and using a very simple product update mutation but keep getting the following error when it runs: “Ran into exception: Mutation input evaluated to invalid JSON. Please ensure the input forms valid JSON after Liquid code is run.”
I don’t understand why this error is occurring. Please help, I’m at a complete loss. I don’t understand .
i had to google search what flow was. but I think your issue is that your json is formatted incorrectly.
i think
(ON SALE) - Marloboro - plz guaway - 5.5% (440ml),
should need quotes around it. like
“(ON SALE) - Marloboro - plz guaway - 5.5% (440ml)”,
json objects have specific formatting I think that might be your main issue with this error not exactly sure how you can make that happen in an automated way using flow. but I hope that helps
this sort of makes sense because it needs to know which product id you are mutating. it doesn’t know you want to mutate the product that triggered the flow. (if I am understanding your original photo correctly)