I’m getting a validation error when posting values to a multiple checkbox field using the Contacts API.
This is the code I’m using to post:
array(
'property' => 'allteamguids',
'value' => str_replace(',', ';', $allTeamGUID)
)
Here is the response I get from the API:
{"validationResults":[{"isValid":false,"message":"28287d04-9ca8-4aa2-ad82-853248fd58e6 was not one of the allowed options: [label: \"0035139a-bc65-4fc0-bca4-371631034395\"\nvalue: \"0035139a-bc65-4fc0-bca4-371631034395\"\n, label: \"02084cca-b689-42d6-85c4-47fd83d2dca2\"\nvalue: \"02084cca-b689-42d6-85c4-47fd83d2dca2\"\n, label: \"02a1843a-5b85-4ee1-ac27-7a956d8c3980\"\nvalue: \"02a1843a-5b85-4ee1-ac27-7a956d8c3980\"\n, label: \"05078554-f6dc-443e-8921-000dc95e7b58\"\nvalue: \"05078554-f6dc-443e