Forum Discussion
Greg_from_Pond
Jan 20, 2023Copper Contributor
Network error when using Patch function: The specified column is read-only and can't be modified.
Hi All, I've created a custom form to enter and edit data in a SharePoint Online List. Creating a new item works perfectly, but if I try to edit an existing item, I get the above error when I try ...
Greg_from_Pond
Feb 04, 2023Copper Contributor
I managed to solve it myself.
I added the following code to the "on Error" field on the App (Select App from the Tree view on the left, then On Error from the properties on the right.)
Notify(
Concat(Errors(ClientList), Column&": "&Message),
NotificationType.Error
)
It then told me what the offending column was next time the error occurred.
Hope this helps someone else in the future.
FollowJesus
Feb 25, 2023Copper Contributor
This worked for me. It didn't show the error right away in the screen with the issue. I had to go to another screen. Not sure what I did differently, but it did show the error as mentioned. Thank you!