Cannot send Array of Objects as a value for a custom event property
SOLVE
hello, I'm trying to send an array of objects as a value for an event property but I keep getting an error
"message": "Invalid input JSON on line 1, column 120: Cannot deserialize value of type `java.lang.String` from Array value (token `JsonToken.START_ARRAY`)",
Seems like the json object is not formatted properly, try to stick with the double quotes arount keys and values (is strings) and pay attention to your commas.
Here is the corrected partial version of your object as it should be formatted:
Hope this helps you resolve your issue, also a helpful tool in those situations is a json formatter, because it helps you with debugging the json object. I won't suggest one here but if you do search the google you should find plenty of those.
If my answer was helpful please mark it as a solution.
Seems like the json object is not formatted properly, try to stick with the double quotes arount keys and values (is strings) and pay attention to your commas.
Here is the corrected partial version of your object as it should be formatted:
Hope this helps you resolve your issue, also a helpful tool in those situations is a json formatter, because it helps you with debugging the json object. I won't suggest one here but if you do search the google you should find plenty of those.
If my answer was helpful please mark it as a solution.
Cannot send Array of Objects as a value for a custom event property
SOLVE
Hi, @EPlaza👋 Thanks for reaching out and including those details. Hey, @Teun@miljkovicmisa, do you have any experience or troubleshooting tips you can share here? Thank you for taking a look! — Jaycee