Im trying to update an ACF repeater field and i have gone through so many options and every time I’m getting the error: BundleValidationError. Validation failed for 1 parameter(s). Array of objects expected in parameter ‘meta’.
I have a very simple repeater with key ‘ratings’ / field_66e2b79a0ef98 and one value for ‘rating’ / field_66e2b8121d099.
I’m just typing in the text at the moment to keep it simple before working with data from my air table sheet.
I can’t find any working map combination that will not show me this error.
PLEASE HELP
Hi @jack_carter; for the error bit…
What exactly are you submitting for that meta field?
[{"ratings": "field_66e2b79a0ef98"},{"rating": "field_66e2b8121d099"}]
or something else?
I’ve tried different combinations in the ‘map’ setting of the meta fields option in the advanced setting:
option 1
{
“ratings_0_rating”: “5 stars”,
“ratings_1_rating”: “4 stars”
}
option 2
{
“field_66e2b79a0ef98”: [
{
“field_66e2b8121d099”: “Value for rating in row 1”,
},
{
“field_66e2b8121d099”: “Value for rating in row 2”
}
]
}
option 3
{
“acf”: {
“field_66e2b79a0ef98”: [
{
“field_66e2b8121d099”: “Insert Rating”
}
]
}
}
Im basically lost at what the correct format should be as i can not decipher what array I’m expected to create.
If i retrieve the ACF repeater i see the data is stored like: ratings_0_rating … however i cant seem to put this into the ‘map’ json field to edit this field.
Hi @jack_carter; what documentation can you share?