web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Apps / getting an error with ...
Power Apps
Unanswered

getting an error with patch function even though it works

(0) ShareShare
ReportReport
Posted on by Microsoft Employee

 

Patch(Kapazität1; colK);;

 

Kapazität 1 is a sharepoint list!

 

the error i received is and the error only occurs on start  :

 

The column is is ride only and cannot be changed!

 

 

 

But it still works !

Categories:
I have the same question (0)
  • timl Profile Picture
    37,210 Super User 2026 Season 1 on at

    @Anonymous 

    Does your colK collection contain any read-only columns, such as columns that contain server generated SharePoint values like Created, CreatedBy? If so, you can try calling the RemoveColumns function to remove those which may remove the error message.

  • Community Power Platform Member Profile Picture
    Microsoft Employee on at

    yes, it does but i need some of the columns for some operations !

    And i do not update any of these server generated values!

    is it okay to let this slide because it works ? 

     

  • timl Profile Picture
    37,210 Super User 2026 Season 1 on at

    Hi @Anonymous 

    If it works, I'd let it slide. However, I'd probably run the Monitor tool to see if it shows the column that Power Apps thinks is read-only because it would be useful to know what that is.

  • Community Power Platform Member Profile Picture
    Microsoft Employee on at

    if i run the app from the menu then no error is shown!

    Only if edit the appand run the app in the development environment then the error occurs! 

    {
     "status": null,
     "duration": null,
     "dataSource": null,
     "responseSize": null,
     "controlName": "Button19_4",
     "propertyName": "OnSelect",
     "nodeId": 3,
     "formulaData": {
     "script": "\r\nPatch(Kapazität1; colK);; Select(Button_Kapa_3);; Set(varGridEdit1; !varGridEdit1)\r\n \r\n",
     "spanStart": 2,
     "spanEnd": 25
     },
     "data": {
     "errorMessage": "Netzwerkfehler bei Verwendung der Patch-Funktion: Die angegebene Spalte ist schreibgeschützt und kann nicht geändert werden.",
     "raiseToastNotification": false,
     "wasReported": false,
     "functionName": "Patch",
     "context": {
     "entityName": "Button19_4",
     "propertyName": "OnSelect",
     "id": 2918,
     "nodeId": 3,
     "diagnosticContext": {
     "span": {
     "start": 2,
     "end": 25
     },
     "formula": "\r\nPatch(Kapazität1; colK);; Select(Button_Kapa_3);; Set(varGridEdit1; !varGridEdit1)\r\n \r\n"
     }
     },
     "info": "Netzwerkfehler bei Verwendung der Patch-Funktion: Die angegebene Spalte ist schreibgeschützt und kann nicht geändert werden."
     }
    }
  • Community Power Platform Member Profile Picture
    Microsoft Employee on at

    what can i do now ?

  • Simon23 Profile Picture
    2 on at

    Have you found a solution to this problem?
    I have the same error and can't get any further.

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Season of Sharing Community Challenge Launch!

Jump in, show your community spirit, and win prizes!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Congratulations to the May Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Apps

#1
Valantis Profile Picture

Valantis 414

#2
WarrenBelz Profile Picture

WarrenBelz 377 Most Valuable Professional

#3
Kalathiya Profile Picture

Kalathiya 315 Super User 2026 Season 1

Last 30 days Overall leaderboard