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
apurswaniapurswani 

CANNOT_INSERT_UPDATE_ACTIVATE_ENTITY : Entity type cannot be inserted: Event Attendee

I am still facing this issue while creating Event.

 

I had written program in c# but it is throwing error:

entity type cannot be inserted Event Attendee

 

I am using System Administration account to login in.

 

-Anil

 

Best Answer chosen by Admin (Salesforce Developers) 
dkadordkador

EventAttendee is not createable through the API at this time.  I'd suggest creating an idea on the Idea Exchange for this to register your request with product management.

All Answers

apurswaniapurswani

ok let me clear the senerio once again.

 

I tried to create and Event using c# code and it is getting created successfully. Now I have two attendees so when I tried to create Attendees records(other then owners records) in EventAttendee table then it is throwing error.

 

 

So what would be the solution when you have to provide an interface using c# and allow users to create event and add attendees to that event(obviously event is meaningless without attendees). But Salesforce is allowing you to create Event but not EventAttendees.

 

Can anyone provide me the solution of it.

 

 

-Anil

dkadordkador

EventAttendee is not createable through the API at this time.  I'd suggest creating an idea on the Idea Exchange for this to register your request with product management.

This was selected as the best answer