1

When converting a Lead record the following error message is displayed:

System.DmlException: Insert failed. First exception on row 0; first error: INVALID_OR_NULL_FOR_RESTRICTED_PICKLIST, bad value for restricted picklist field: Somerfield: [Store__c]

The issue happens only when I'm logged in with one of my user account and then converting a Lead to an Account/Contact/Opportunity.

If I'm logged in as system administrator I can convert the Lead successfully.

I've checked Restrict picklist to the values defined in the value set which is enabled.

I've checked the field mapping between the Lead and the Account. All properly set.

I also checked the list in the Account record type. All properly set.

Please advise what can be the reason of such issue and how to allow my users to make successful convert?

5
  • If you uncheck "Restrict picklist to the values defined in the value set" does it work when logged in via a user account? Feb 7, 2019 at 19:42
  • @ZackWalton I cannot uncheck the Restrict picklist to the values defined in the value set. The system does not allow it.
    – lemdev
    Feb 8, 2019 at 13:42
  • @ZackWalton The issues happens only when I convert the Lead record whiled I'm logged in with particular user. Only then I receive the following error message: System.DmlException: Insert failed. First exception on row 0; first error: INVALID_OR_NULL_FOR_RESTRICTED_PICKLIST, bad value for restricted picklist field: Somerfield: [Store__c]
    – lemdev
    Feb 8, 2019 at 13:48
  • @ZackWalton Once I change the ownership of the Lead record to myself I can convert the Lead records successfully.
    – lemdev
    Feb 8, 2019 at 13:49
  • @ZackWalton I'll strongly appreciate if you can advise what else I can try to be able to solve this issue?
    – lemdev
    Feb 8, 2019 at 13:50

1 Answer 1

0

The issue was solved by changing the default record type setting in the user profile.

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .