Unable to modify record with service account using REST api
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎06-06-2024 09:23 AM
I am trying to update a record using a service account via the Table REST API. I have given the account a custom role and set an ACL for it which restricts read/write to a subset of records on the table. When I send a PATCH request to the API using the account credentials, I get a 200 OK response, but the actual record is unchanged when I look at it in the web UI. Not sure how to proceed here since there isn't an obvious permissions issue, the changes made from the account just don't seem to be applied to the table.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎06-06-2024 08:48 PM
Whenever I have API service account permission issues, I usually try impersonating that service account and test that modification on the record, first hand, ala "interactive user session" (provided that Webservice only access is unchecked.)
If the problem persists, then it would require a deeper dive into ACLs, BRs, or even the PATCH request itself.