Recently, I was working with a client on their sync failure issues. We were seeing one with INSUFFICIENT_ACCESS_OR_READONLY: insufficient access rights on object id.
It may present itself in several ways:
This error is caused by a few things, and where to look is not always obvious.
What INSUFFICIENT_ACCESS_OR_READONLY: insufficient access rights on object id means in Adobe Marketo Engage:
Look, I’ll be honest, I’m not a Salesforce guru enough to get into the technical nitty-gritty, but I have Googled and read numerous results. It’s used all over the place for a lot of reasons. Basically Salesforce is rejecting a command because the requestor (Marketo) doesn’t have permission to request what’s being asked.
So what do we do in this situation?
Turns out, there are a few reasons you’re receiving a INSUFFICIENT_ACCESS_OR_READONLY: insufficient access rights on object id error when trying to sync records in Marketo. Here’s what’s in the official Marketo documentation.
This is a very valid solution for one of the use cases that throws this error. It solves for what happens when the record types get out of sync and how to remediate by clearing the value (Record Type ID) prior to re-running the sync.
But what does a marketing automation manager do when clearing the Record Type ID doesn’t solve the issue? Look for other clues. Look for signs that there may be an invalid value or something else that Salesforce didn’t like.
For example, here’s a real example of how Adobe Professional Services assisted a client experiencing this sync failure.
A lot of different angles were investigated and then a quite old Marketo Nation reply written by a Marketo Nation citizen provided a clue worth pursuing.
Found in a 2016 Marketo Nation Community thread that was started in 2014, Gregoire Miche (@Grégoire_Miche2), wrote this line:
“…the interface renders the same error if you try to set a SFDC picklist field to a value
that is not in the record type you have selected”
With this information, we checked deeper into the Salesforce Marketo User permissions.
The screen shot above shows the AFTER. (We had a Eureka moment, everyone was too excited to take a picture). The Selected Values originally only contained C-Level and CEO with the rest in the “Available Values” list.
Only the Selected Values are allowed to pass back from Marketo to Salesforce. Anything not in the Selected Values (and exactly as-is in that list) will cause a sync failure for that record.
This created a sort of one-way valve where Salesforce could pass “Director” to Marketo, but Marketo couldn’t pass that value back
Example:
After adding “Director” (and other values) to the permissions set and saving the Marketo User, the sync from Marketo to Salesforce was successful.
Why does INSUFFICIENT_ACCESS_OR_READONLY: insufficient access rights on object id appear in the activity log? While most evidence points to it being a “Sharing” issue, it seems to mean that the Marketo User is lacking a specific permission, which could be for a variety of reasons. Perhaps the Record ID doesn’t match. Perhaps a forbidden value is attempting to pass over. Whatever the reason, it’s important to understand the cause and resolve the issue to ensure healthy Marketing Operations.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.