+ Start a Discussion
jimc507jimc507 

insufficient access rights on cross-reference id when createing a note

Hello,

 

I am receiving an error when trying to create a note via the web services API.

 

Here is the request. I believe I have set all of the required fields. The user logged into the API has full access to the Parent object. 

 

<create xmlns:tns="urn:partner.soap.sforce.com" xmlns="urn:partner.soap.sforce.com">

<tns:sObjects>

<ens:type xmlns:ens="urn:sobject.partner.soap.sforce.com">Note</ens:type>

<ens:ParentId xmlns:ens="urn:sobject.partner.soap.sforce.com">a0iS00000048mIp</ens:ParentId>

<ens:Title xmlns:ens="urn:sobject.partner.soap.sforce.com">Note From Ops: [4/20/2009 12:02:50 ...]</ens:Title>

<ens:Body xmlns:ens="urn:sobject.partner.soap.sforce.com">RMYERS 4/20/2009 12:02:50 PM:

This is a test note made at 12:02

</ens:Body>

</tns:sObjects>

</create>

 

Here is the response. Has anyone seen this or know what I am doing wrong?

 

<createResponse xmlns="urn:partner.soap.sforce.com">

<result>

<errors>

<fields xsi:nil="true" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"/>

<message>

insufficient access rights on cross-reference id

</message>

<statusCode>

INSUFFICIENT_ACCESS_ON_CROSS_REFERENCE_ENTITY

</statusCode>

</errors>

<id xsi:nil="true" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"/>

<success>false</success>

</result>

</createResponse>

 

Thanks in advance.

 

Jim 

werewolfwerewolf
Does the user you're creating the note as have the rights to edit whatever the object is that you're trying to put the note on?  If not, that would explain it.
reatlimecoreatlimeco
Did you ever find a solutions to this problem?  Trying to do the same thing and getting the same error.