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 Apps
Unanswered

Offline error

(0) ShareShare
ReportReport
Posted on by 6

Hello,
I have the following problem, when I enter my application in offline mode automatically it tries to connect the database, in Excel case and displays an error message, but this does not influence the functionality of the application, but I would like to remove this message from error. Is there any exception handling or some way to hide this error? I also thought about disconnecting and reconnecting the database to avoid this very annoying message.error.png

Categories:
I have the same question (0)
  • mdevaney Profile Picture
    29,991 Moderator on at

    @andreFelipeLima 

    PowerApps errors cannot be hidden but you can try to manage them if they are caused by a formula.  You would have to go into App Settings > Advanced Settings > Experimental Features and turn it on though.

     

    Here's how another forum user was able to supress an error using Formula Level Error Management.  Let me know if its useful:

    https://powerusers.microsoft.com/t5/General-Discussion/Disable-the-red-error-message/td-p/52816

     

    Also, here's the insanely detailed description on the Microsoft blog:

    https://powerapps.microsoft.com/en-us/blog/new-feature-error-handling-and-writing-null-values-to-databases/

     

    And yes, sometimes weird errors go away by disconnecting/reconnecting the datasource.  Was your app ever working without the error?  If yes, what did you change in the app between then and now?

     

    ---

    Please mark as Solution if this post answers your question to ensure others find it quicker.  If you found this post helpful consider giving it a Thumbs Up.

  • v-xida-msft Profile Picture
    Microsoft Employee on at

    Hi @andreFelipeLima ,

    Do you mean that the error message would show up when you set your app in Offline mode?

     

    According to the error message that you mentioned, it seems that this issue is related to the Offline mode in your app. When your app is in Offline mode, your app would lost the connection to your Excel table.

     

    I afraid that there is no way to get rid of this error within PowerApps currently. If you would like this feature to be added in PowerApps, please submit an idea to PowerApps Ideas Forum:

    https://powerusers.microsoft.com/t5/PowerApps-Ideas/idb-p/PowerAppsIdeas

     

    If this issue occured by formula you used in your app, please consider turn off the "Formula-level error management" option within Advanced settings of App settings of your app, check if the issue is solved.

     

    Best regards,

  • andreFelipeLima Profile Picture
    6 on at

    It looks like powerapps automatically connects to the excel database. So when I'm in the offline version it accuses just that, it couldn't connect to excel. This message does not change the functionality of the application, but it is very bad for an application to issue an error message and it is working perfectly. My wish was to omit this, or send a custom message instead. Another interesting point is that when you create a blank application and connect to the database afterwards it does not give this error, but when you create an application from a base from excel the offline error appears, reinforcing my hypothesis that this connection to excel is made automatically. If I connect and disconnect the excel base manually I could handle it. IfError cannot handle this problem because it is not a formula and this connection is made internally.

  • mdevaney Profile Picture
    29,991 Moderator on at

    @andreFelipeLima 

    Does your code check to see if the App is connected online using the formula Connection.Connected()?  If you want the app to behave differently when offline you'll have to code it to do that.  PowerApps does not do this automatically for you.

     

    Link to documentation: https://docs.microsoft.com/en-us/powerapps/maker/canvas-apps/functions/signals

  • andreFelipeLima Profile Picture
    6 on at

     

    My problem is that powerapps eventually connects to the excel database in offline mode, and I don't know where, how, and when it does so I can handle this problem.

    APP CODE

    If(Connection.Connected; ClearCollect(arrayPrincipal; principal);;
    SaveData(arrayPrincipal; "localPrincipal");LoadData(arrayPrincipal; "localPrincipal";true));;
    LoadData(arrayTemp; "localTemp";true)

     

     

  • mdevaney Profile Picture
    29,991 Moderator on at

    @andreFelipeLima 

    I'm sorry but I don't have any more to offer on this issue if my previous posts did not help.  @v-xida-msft does not seem to think there is a way to do what you want.  The best we can do is vote of on the Idea for now.

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

Congratulations to the July Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 416 Most Valuable Professional

#2
11manish Profile Picture

11manish 205 Super User 2026 Season 2

#3
MS.Ragavendar Profile Picture

MS.Ragavendar 128 Super User 2026 Season 2

Last 30 days Overall leaderboard