Hi all,
I want to share an issue that I was luckily able to fix, which I think occurred because of the latest Power Apps update.
Some of my apps started displaying patch errors since last week Tuesday (9-1), while I hadn't changed anything. When clicking on a save button that saves a record to an SQL table, the following error appeared immediately: 'PowerApps network error when using Patch function: An error occurred on the server'. On admin accounts, there were no issues while on accounts with just 'view' permission, this error kept appearing (app/connection share permissions were ok).
I tried to isolate the issue by creating a new app. I've created a new SQL table to test with, I added the connection and created a new button with just the following code:
Patch(
Selecting the button in this new app also generated the same error when executed by a user with only View rights.
Solution
I copy-pasted this button to some older apps that didn't have any issues in the first place, and the patch worked. I felt like something was wrong with the app versioning. So I changed the app version in the settings>support>authoring version>edit, to the earliest possible version (3.23114.25); this fixed the issue. I changed the version back to the latest option (3.24012.6) and now the error did also not appear in this version, which is strange.
I still have no clue what went wrong exactly, but hopefully, this can help some of you. If anyone knows more about the cause of this problem, I'd love to know the reason.
Regards,
Maxim

Report
All responses (
Answers (