Hello everyone,
I am currently facing an issue where my Power App frequently encounters connection interruptions or unexpected errors in edit mode. This problem occurs especially when editing gallery elements or creating forms that attempt to perform an auto-selection (e.g., when accessing data sources with relationships). Below, you will find a screenshot with the error message in German
The error message in German translates to: “The connection was disconnected. This may be due to a temporary issue or a problem with your network.”
The issue occurs on various devices and in different networks, so it seems to be independent of specific devices or networks.
Hi,
The issue you're describing, where Power Apps frequently encounters connection interruptions or unexpected errors in edit mode, can be frustrating, especially when it occurs consistently across devices and networks. Below are potential solutions and troubleshooting steps to address the issue:
Data Source Health: Ensure the data sources (e.g., SharePoint, SQL Server, etc.) are not experiencing performance issues or throttling. Monitor these sources for latency or availability problems.
Delegation Warnings: If your app is using non-delegable queries, it might attempt to retrieve too much data, leading to connection disruptions. Optimize your queries to avoid delegation limits.
Reduce Data Load:
Collections
Delay Auto-Selection Logic: If your gallery or forms attempt to auto-select items, ensure that the logic is not causing conflicts. For instance, delay the execution of DefaultSelectedItems or Selected by wrapping it in a condition like:
DefaultSelectedItems
Selected
If(!IsBlank(DataSource), DefaultItem)
Disable Auto-Selection Temporarily: Temporarily remove auto-selection logic and see if the issue persists. This helps isolate whether the problem is due to these elements.
Test Network Speed and Latency: Even though the issue occurs across different networks, ensure each network meets Power Apps' recommended speed (at least 1 Mbps for upload/download).
Disable Browser Extensions or VPNs: Some browser extensions or VPNs can interfere with Power Apps connections. Try disabling these and test again.
Test in Private Browsing Mode: Use an incognito/private window to rule out browser caching or extension issues.
Ensure you’re using a browser supported by Power Apps:
Clear browser cache and cookies or use a different supported browser to test.
Reauthenticate Frequently: If the app is in edit mode for an extended period, session tokens may expire. Refreshing the browser or reauthenticating can resolve this.
Increase Timeout Duration (if possible): Check with your admin to adjust session timeout policies for your environment.
Environment Throttling: Some environments, especially in Power Apps community plans or shared environments, may face throttling under heavy load. Consider creating a dedicated environment for your app.
Licensing Plan: Ensure you are using a suitable license plan (e.g., premium connectors require specific licenses).
Session Monitoring: Enable session monitoring in the Power Platform Admin Center to gather logs on what might be causing the connection to drop.
Error Details: Take a closer look at error details in the Power Apps editor or browser developer tools (F12). Look for failed network requests or API calls.
If the issue persists, it might be a problem with Power Apps' backend services. Open a support ticket with Microsoft and provide:
While you troubleshoot, save your work frequently in edit mode to avoid losing progress during interruptions.
---------------------------------------------------------------------------------- If this Post helped you, please click "Does this answer your question" and give it a like to help others in the community find the answer too!
Thank you very much for the response. Some of the suggestions might be helpful. I will try them out.
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.
As AI tools become more common, we’re introducing a Responsible AI Use…
We are honored to recognize Tom Macfarlan as our Community Spotlight for October…
These are the community rock stars!
Stay up to date on forum activity by subscribing.