function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
crocodilecrocodile 

Error: The contact's account owner has no role

Hi,

       When a user is trying to access My Customer Portal using the login url at first time then am getting a mail saying:

                    The following error was encountered: The contact's account owner has no role

 

But both of us having a role. The user is added in my contact list and 

Allow Customer Portal Self-Registration is enabled.

 

Any suggestions are welcome...

 

Thanks in ad,

-Nath

Best Answer chosen by Admin (Salesforce Developers) 
werewolfwerewolf

You don't address this directly:

 

Somebody likely owns the account.  That somebody is a User.  If you look at that User, does that User have a role selected in his Role field?  The error is telling you that he doesn't.