Getting error when trying to set single select menu in Configure REST API
Summary:
"Invalid payload" when setting single select menu in Configure REST API
Content (please ensure you mask any confidential information):
Hi,
we are using Configure REST API (actions/_configure) to create a model which contains an array set having multiple attributes inside. This works fine for text attributes in the array but as soon as we are setting a single select menu, we are getting "{Status-Code=400, Error-Message={"o:errorDetails":[{"title":"Attribute myStatus has an invalid payload."}, ...".
We are using value and displayValue to set the value of the menu "myStatus" which allows the values "New" and "Keep", e.g.:
{
"cacheInstanceId": "-1",
Tagged:
0