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 / Suppress/Disable Error...
Power Apps
Answered

Suppress/Disable Error Messages on Start

(0) ShareShare
ReportReport
Posted on by 4

I have developed an app that can be used  both offline and online, everything is working however, when the apps first boots without internet i receive the following error messages for each connector " Failed to load X. An unknown error occurred".

 

Is it possible to disable these start up error messages? 

Categories:
  • SkiDK Profile Picture
    1,016 on at

    Hi @hilliges 

    Do you load anything from the connections on start if there is no connection to the internet?

    Normally you should check first if you are connected to the internet. If yes, load the data from the connection. If no, then load data from cache or do nothing if you don't need to get any data.

    Example from Microsoft documentation page:

    If( Connection.Connected,
     ClearCollect( LocalTweets, Twitter.SearchTweet( "PowerApps", {maxResults: 10} ) );
     Set( statusText, "Online data" ),
     LoadData( LocalTweets, "LocalTweets", true );
     Set( statusText, "Local data" )
    );
    SaveData( LocalTweets, "LocalTweets" );

     This way you shouldn't receive any error on start from the connections.

    Hope this helps!

  • hilliges Profile Picture
    4 on at

    Hi SkiDk,

     

    Yes I check for connection like you have shown, I have based my solution off this example https://powerapps.microsoft.com/en-us/blog/implementing-offline-capability-in-your-app/ using onedrive connectors linked to excel files. The only reference i have to the data sources/connectors are in my Connection if statement.

  • Verified answer
    v-siky-msft Profile Picture
    Microsoft Employee on at

    Hi @hilliges ,

     

    This error message always occurred on Excel spreadsheet stored in OneDrive for business.

    I would suggest you to import the Excel table data to other data source, e.g. SharePoint list, Common Data Service. that can avoid this error.

     

    Hope this helps.

    Sik

  • EmilBSP Profile Picture
    99 on at

    Hello, I have the same problem, when mobile device is not connected, applicatikoan allways generate error message according to SQL table connection (TM_TE_Task)

    My OnStart code:

    If(Connection.Connected,
    ClearCollect(colTask,TM_TE_Task); SaveData(colTask,"MobileTasks"),
    LoadData(colTask,"MobileTasks",true))

  • HelpfulOrangeJ Profile Picture
    12 on at

    It's far more simple then you could imagine, it only took me a month to work out and not sure how it's not documented.

    on App in Tree View 

    Go To OnError which is empty

    and add ""

    HelpfulOrangeJ_0-1690381057938.png

     

     

  • Zokpia Profile Picture
    7 on at

    This worked for me. thank you

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 Winners!

Congratulations to our community stars!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Leaderboard > Power Apps

#1
11manish Profile Picture

11manish 248 Super User 2026 Season 2

#2
WarrenBelz Profile Picture

WarrenBelz 192 Most Valuable Professional

#3
Mohsin Ali Profile Picture

Mohsin Ali 135

Last 30 days Overall leaderboard