At the moment, this message means nothing:
SalesforceException: insufficient access rights on cross-reference id in Salesforce->apiCall() (line 104 of /.../sites/all/modules/salesforce/includes/salesforce.inc).
Because if you have multiple mappings in place, and some times the push works and other times it doesn't, this warning doesn't tell you anything that you can use to debug the issue.
"insufficient access rights on cross-reference id" is an error related to a lookup field, usually because it is not getting a value or was given a value that doesn't' exist. So that is some very basic information you can use. But as I mentioned, if you have multiple mapping in place, sending multiple values to lookup fields in SF, then this error doesn't tell you nearly enough to diagnose the problem.
I have 15 showing with every cron run on a site that has a ton of orders coming in all the time. We have 4+ separate mappings, each with lookup mapped fields so it's not easy to understand what orders are being affected.
Is there a way this could be enhanced with some more information? For instance the following should/could be included:
- Name of the Mapping used
- and/or Name of the Mapping Object that failed
- Name of field in Mapping that failed
If these 2/3 things could be included, it would make this debugging process WAY faster and easier.
Comments
Comment #2
TravisJohnston commentedComment #3
TravisJohnston commentedComment #4
wxactly commentedThese messages have been improved in 7.x-3.3-beta3