You're almost there! Please answer a few more questions for access to the Applications content. Complete registration
Interested in joining? Complete your registration by providing Areas of Interest here. Register

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",

Howdy, Stranger!

Log In

To view full details, sign in.

Register

Don't have an account? Click here to get started!