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
Parvinder SinghParvinder Singh 

OP_WITH_INVALID_USER_TYPE_EXCEPTION:Operation not valid for this user type on Cases Created by High Volume Customer Users

Wanted to share this as I though this will be helpful for the community, we had a sneario where High Volume Customer Users were getting OP_WITH_INVALID_USER_TYPE_EXCEPTION when creating cases from the community, after some analysis we figure out that the issue was caused by case assignment rules which were adding case teams on cases. Salesforce does not let customer users add cases teams on cases and in our case when Customer creates a Case --> Assignment Rule Fire --> Matching step has a case team assignmnet --> Which fails for customer users.
 
RamuRamu (Salesforce Developers) 
Hi Parvinder, good information and will really help others. Appreciate it !!