Error : “Bad value for restricted picklist field while creating records”

|
| By Webner

In salesforce, a picklist can be dependent on a global picklist value set or it may be defined manually while creating field.

Above error occurs when we try to create a record along with a value set for the picklist. There can be two reasons for this :

The picklist is set as restricted in the field settings and user is trying to put an undefined value to it.
There comes a case, when we are able to see the value in the picklist, still it throws an exception as a “bad value”. Here we need to check whether the value is added to the record type or not. Follow below steps to add value to the record type :

Step 1 : Go to Quick Find box -> Create -> Objects.
Open the Salesforce Object for which you are getting exception.

Step 2: Go to record type section on the object layout.
Error : “Bad value for restricted picklist field while creating records”

Step 3: Open this record type, you will find a section “Picklists available for editing”.

Error : “Bad value for restricted picklist field while creating records”

Step 4: Edit the record type for which you are facing problem and add the value to the picklist if it is not selected.

Error : “Bad value for restricted picklist field while creating records”

Leave a Reply

Your email address will not be published. Required fields are marked *