+ Start a Discussion

ViewAll Data required to update by a standard field

I'm getting this error trying to update a custom field on a custom object via a REST PATCH call.  The user making the call can update the same field on the same record through the UI without a problem.  I've seen a similar error with external ID fields but the description was clear.  The reference to "standard field" is not clear.

[{"message":"ViewAllData or ViewAllRecords required to upsert by standard field","errorCode":"INSUFFICIENT_ACCESS"}]