We have a Skuid page built that searches for Salesforce accounts and if one is found that is flagged as “Inactive Prospect”, the user can change the account owner to themselves. Our users are running into an error message when they attempt to do this though. Specifically, the error message says “insufficient access rights on object id”. As the Salesforce administrator I do not get this error and can change the owner via the Skuid page as expected. However, when I’m logged in as a user (or they attempt) the error pops up. There isn’t any error if the account owner is changed via the standard Salesforce record page. Everything works correctly that way, so I don’t think it’s a Salesforce access issue. With that said, I can’t figure out what it could be on the Skuid side that is prompting the error. This functionality used to work for our users, but then one day they started receiving this error. We are still on Salesforce Classic, so it’s not like the move to Lightning caused this. Again, using standard Salesforce functionaly users can successfully change the account owner to themselves for “Inactive Prospects”, but using the Skuid page they cannot. Any help would be greatly appreciated. I’ve attached an image of the error for reference.
Yeah, I remember that. It says it was fixed Spring '19 though, plus we’re not on Lightning. We’re still on Classic.
Quite odd. Are there any objects other than Account being used? Can you provide the XML for the page?
On this particular page, it’s just the account object. The XML is below.
New Account Owner
<p style="text-align: center;"><span style="font-size:36px;"><span style="color: rgb(0, 128, 128); font-family: 'Open Sans', sans-serif; text-align: center; background-color: rgb(255, 255, 255);">Search for an existing Account to begin the New Business Process</span></span></p>
<p style="text-align: center;"><span style="color: rgb(0, 128, 128); font-size: 28px; text-align: center;">Open the existing Account or&nbsp;</span><span style="font-size:28px;"><span style="color: rgb(0, 128, 128); font-family: 'Open Sans', sans-serif; text-align: center; background-color: rgb(255, 255, 255);">create a new Account&nbsp;</span></span></p>
I’m having this issue too. Has there been any resolution?
The Salesforce error “insufficient access rights on object id” means that the current user/profile does not have sufficient rights on the object (possibly specific fields on the object if field-level security is used), including having read-only access in a context where edit access is required. If record types are being used, the profile must have access to that record type (and its fields). An Administrator should check access on these items via Salesforce Setup for the profile in question.
A related error, “insufficient access rights on cross-reference id” means that a user does not have access to a related object (via a lookup or Master-Detail field).
If these errors are seen in the context of a Skuid page, the Salesforce objects served up by Skuid models should be reviewed. Also note that the Skuid Page Builder permission set doesn’t give users “Modify All” access to Skuid pages. Depending on org sharing settings, you may need to grant users “Modify” permission for specific Skuid page records if they’re getting an “insufficient access rights on object Id” error when they try to edit a page.