User insert fails due to wrong value on restricted picklist on field languagelocalekey
Opened this issue · 0 comments
adnan8387 commented
Method ( Userinfo.getLocal() ) assigned to populate u.languagelocalekey field while creating a user record is incorrect as it doesn't return the expected picklist value for Language field
Acceptable values are available [here]((https://help.salesforce.com/articleView?id=000327115&language=en_US&type=1&mode=1)