You need to sign in to do that
Don't have an account?
Zareh
insufficient access rights on cross-reference id
Hi All,
We have an integration system that has been running for more than 2 years without any problems. The system creates contacts / leads...etc via the API.
Two days ago we started getting the XML response below everytime we try to create leads....the message says: :insufficient access rights on cross-reference id
Did something chnage in the API recently ? our code hasnt been updated for two years...would it be some new permissions ?
Thanks,
The XML response looks like this:
<?xml version="1.0" encoding="UTF-8" ?>
- <soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
</soapenv:Body>
</soapenv:Envelope>
I have seen this message a number of times and it isusually something that makes sense, once you figure it out.
Do you know where in your integration this is happening?
What entity are you loading to? And is the process using foreign keys?
Hi,
I have the same problem occurred now. What is the necessary step to rectify it?
Gaikwad wrote:
Hi,
I have the same problem occurred now. What is the necessary step to rectify it?
I also have this problem - from a system that worked last week, it has now started happening - and I need to fix it.
Curiously, it works most of the time. Only when the sender's email address either does not exist in any Contact, or more than one Contact has the email address does it fail in this way.
I am not aware of the rights on our remote system user having been changed recently, but surely someone else is experiencing the same thing?
Allan
I had this error to when deploying from Sandbox to Production. I turned out to be an issue with the user profiles in Production had different RecordType access to the user profile in the sandbox.
Once I got the two profiles to match I got my trigger deployed.
For example: (using SOAP API)
My code sends data to salesforce for creating a record in the lead, and the data contains a CampaignID. The campaign lookup field in the lead will find the campaign in the campaign table base on the CampaignID. If the campaign table has a record that matches the CampaignID, a record will be created in the lead, and the campaign lookup field in the lead will display the campaign name. If the campaign table does not has a record that matches the CampaignID, no record will be created in the lead. An error will be throwed "insufficient access rights on cross-reference id: xxxxxxxxxxxxxx". (xxxxxxxxxxxxxx is the ID number).
It is an access issue of your Org, make sure you are provided the access.
just check it.
you can get help from this link :
https://help.salesforce.com/s/articleView?id=000328226&type=1 (https://help.salesforce.com/s/articleView?id=000328226&type=1)
If you find your Solution then mark this as the best answer.
Thank you!
Regards,
Suraj Tripathi