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


Hi all,


We are migrating Event records from one Salesforce org to another. Some records failed to insert and it is giving error as

"Private events for other users are not allowed: Private"


But the requirement is we have to keep that private and also insert.

I tried by making IsPrivate = false during insert and later update those records as IsPrivate = true.

Then it is inserted correctly but update failed giving the same error.

Is there any way to insert it by keeping it private.


Thanks in advance.

Oleksandra Oleksandra 4Oleksandra Oleksandra 4

It is believed that you've already found a way to resolve the issue. However, I'll drop an alternative suggestion here, just in case it can help someone struggling with a similar problem. 
So, it is possible to move CRM data from one org to another (including Events) automatically using Data2CRM migration service. Otherwise, you may transfer only selected modules like Events or others.
Also, you may see how it works and then decide if it satisfying. Switch a limited amount of your data (usually up to 10% of all average) to Salesforce for free using Demo Migration (

Hope, it will be helpful.