You're on your way to the next level! Join the Kudos program to earn points and save your progress.
Level 1: Seed
25 / 150 points
Next: Root
1 badge earned
Challenges come and go, but your rewards stay with you. Do more to earn more!
What goes around comes around! Share the love by gifting kudos to your peers.
Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!
Join now to unlock these features and more
Hello, i need to create an Insight object trough an automation and add multiple entries to an attribute.
As I know, this can only be done by Insight API and web request.
I got everything running. Connect API, create Object, add single values as attribute,...
But every time I want to add multiple entries for an attribute, i always get an error.
Error 400: was expecting comma to separate Object entries
At first I create a variable which is an array of entries
And thats my data for the web request:
{
"objectTypeAttributeId": "1372",
"objectAttributeValues": [
{
"value": "{{BudgetID}}.asJsonObject("value")"
}
]
}
I tried this because of this post: https://jira.atlassian.com/browse/JSDCLOUD-9964
Any idea, where the problem is? Thanks for your help
the answer is to create an variable like:
{{"Budget-ID [Insight]".Key.asJsonObject("value")}}
and use this format in the web request:
{
"objectTypeAttributeId": "1372",
"objectAttributeValues": [{{BudgetID}}]
},
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.