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
Anil MeghnathiAnil Meghnathi 

I got exception while inserting Chatter free user Name into a new Custom object

When i try to insert Chatter free user Name into a new Custom object i got the exception of OP_WITH_INVALID_USER_TYPE.

 

Any idea how to solve it???

 

Thanks

Anil

 

Best Answer chosen by Admin (Salesforce Developers) 
Jia HuJia Hu
Chatter free user can't access any Custom objects and then can't be the owner of any Custom records.

Of course, same to the standard objects.