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
aebenaeben 

Creating EventAttendee through Webservice API

I am trying to bulk load EventAttendees. When I try to create them using the Webservice API client in Java, getting an error that says "Entity type cannot be inserted: Event Attendee". When I look at the webservice API documentation, it says that create call is supported on EventAttendee. Please advice.

 

Here is the response.

 

 

<?xml version="1.0" encoding="UTF-8"?>
    <soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns="urn:enterprise.soap.sforce.com" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
      <soapenv:Body>
        <createResponse>
          <result>
            <errors>
              <message>entity type cannot be inserted: Event Attendee</message>
              <statusCode>CANNOT_INSERT_UPDATE_ACTIVATE_ENTITY</statusCode>
          </errors>
            <id xsi:nil="true"/>
              <success>false</success>
          </result>
        </createResponse>
      </soapenv:Body>
    </soapenv:Envelope>

 

<?xml version="1.0" encoding="UTF-8"?>    <soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns="urn:enterprise.soap.sforce.com" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">      <soapenv:Body>        <createResponse>          <result>            <errors>              <message>entity type cannot be inserted: Event Attendee</message>              <statusCode>CANNOT_INSERT_UPDATE_ACTIVATE_ENTITY</statusCode>          </errors>            <id xsi:nil="true"/>              <success>false</success>          </result>        </createResponse>      </soapenv:Body>    </soapenv:Envelope>