You need to sign in to do that
Don't have an account?
Doug Ackerman
System.DmlException: Insert failed. First exception on row 0; first error: INVALID_OR_NULL_FOR_RESTRICTED_PICKLIST, Direction: bad value for restricted picklist field: backwards: [Direction__c]
I am getting this error, but cannot figure out how to correct it. System.DmlException: Insert failed. First exception on row 0; first error: INVALID_OR_NULL_FOR_RESTRICTED_PICKLIST, Direction: bad value for restricted picklist field: backwards: [Direction__c]
Hi Doug,
It Looks like you are trying to insert a record with Picklist value which is not defined in the picklist value set.
When a picklist field is created in the object, we have an option to "Restrict" the picklist values defined at that time.
Which is the case in this situation. And It seems you are trying to insert a picklist value which is not defined in that picklist value set.
You can find a detaled solution at this link too (https://success.salesforce.com/answers?id=9063A0000019SxSQAU).
Choosen best answer