1

Suddenly getting the following error:

System.DmlException: Insert failed. First exception on row 0; first error: LIMIT_EXCEEDED, limit exceeded: []

when trying to insert a Community User via apex code. This is not happening in our DEV sandbox and only happening on a specific Account record. This Account is related to the Contact record created for the Community User. Any help is appreciated.

enter image description here

enter image description here

1 Answer 1

1

Figured out why. The Account associated to the Contact was owned by someone else and the Partner Role restricts access to this Account. I can successfully create the Community User for this Account now. Thanks!

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.