- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-05-2019 02:42 PM
We recently upgraded from London to New York.
After the upgrade, some of our scripts we use in scripts - background can no longer update records, giving the following error:
Background message, type:error, message: Data Policy Exception: The following fields are read only: field1, field2
Is this something simple like an ACL, or was there a change to the way those scripts are run?
Solved! Go to Solution.
- Labels:
-
Scripting and Coding

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-05-2019 03:16 PM
Please mark this response as correct or helpful if it assisted you with your question.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-05-2019 03:07 PM
I think it could be the ACL.
I assume, since users are using scripts-background, they are all admins.
Check the table, you are trying to update, if it has an ACL with admin override unchecked.
Please mark this response as correct or helpful if it assisted you with your question.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-06-2019 07:18 AM
Thank you for your response. On the sys_user table, for example, there are 5 ACL rules with Admin Override = false. The only recent update was to delete ACL, which shouldn't affect the write ACL, correct?

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-06-2019 10:44 AM
What happens, if the user directly go to the table and try to update the record?
Are they allowed to update?
Please mark this response as correct or helpful if it assisted you with your question.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-06-2019 11:29 AM
Here's an update:
Going to the list view and the form view, user still cannot edit the field.
It is actually a data policy in place making it read only. Reversing the data policy allows for the fields to be written, but this data policy has not changed since the upgrade.
Before the upgrade, using a background script could edit the fields just fine, while users could not edit it on the list or form view.
After the upgrade, background script appears to have same restrictions as the list view or form view.