You need to sign in to do that
Don't have an account?
Adhvika Bala
UNKNOWN_EXCEPTION, portal account owner must have a role: []
I have an apex class that is used to Create Partner users.
However when the class is run to create partner user whoever is creating the partner user account receives an email with this error message.
"UNKNOWN_EXCEPTION, portal account owner must have a role: []"
THe user that runs the code has a role assigned to it as well.
not sure why this is triggering an error.
Please advise.
However when the class is run to create partner user whoever is creating the partner user account receives an email with this error message.
"UNKNOWN_EXCEPTION, portal account owner must have a role: []"
THe user that runs the code has a role assigned to it as well.
not sure why this is triggering an error.
Please advise.
You can try the suggestion as mentioned in the below blog,
https://developer.salesforce.com/forums/?id=906F0000000BRdEIAW
Thanks.
(without any DML) operations . not sure why.