cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Highlighted
maikeru
Level: Powered On

Why does the 'Failed to load [data source name]' errror msg display during offline mode

Dear all,

 

I am relatively new to PowerApps so I might overlook something trivial.

I have create an app using one Excel datasource in OneDrive business.

 

In the App on start, I inserted this basic piece of code and switch the controller to use the CollectSchedule collection.

If( Connection.Connected, 
    ClearCollect( CollectSchedule, Schedule);
    SaveData( CollectSchedule, "LocalSchedule"),
    LoadData( CollectSchedule, "LocalSchedule", true)
    );

When running the app with the phone in airplane mode, the apps is able to retrieve most of the data from the cache (except the images stored as path). However an error message will display on top of the screen.

 

Failed to load Schedule. An error occured on the server. Server response: Not a valid connector Errorresponse.

 

1. Why does Powerapps try to reach out for the data source although the code logic should redirect it to the local cache.

2. Is there anyway to prevent this behaviour and block this error message? I saw on the forum a thread mentionning the Notify function but I cant see to which event the error message is linked. 

 

Thanks for your help.

3 REPLIES 3
Community Support Team
Community Support Team

Re: Why does the 'Failed to load [data source name]' errror msg display during offline mode

Hi @maikeru ,

 

How often does this error show in your mobile? Is this issue only happening on this mobile? Please try with other ones and web browsers to test. 

 

Regards,

Mona

Community Support Team _ Mona Li
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
maikeru
Level: Powered On

Re: Why does the 'Failed to load [data source name]' errror msg display during offline mode

Thank you for your assistance @v-monli-msft .

 

I have tested this on 2 different mobile. 1 running iOS and another one running Android.

 

The result is the same. It happens each time i restart the app after enabling airplane mode to test offline capabilites.

JoaoN
Level: Powered On

Re: Why does the 'Failed to load [data source name]' errror msg display during offline mode

@maikeru  I am having the same issue here on my app. I did the same offline code you did. Online works well. Offline there is the same error you mentioned.

=/

 

I tryed to do another code to do not loose data when app is closed

Please help us @v-monli-msft  =P

Helpful resources

Announcements
firstImage

Watch Sessions On Demand!

Continue your learning in our online communities.

SecondImage

PowerApps Monthly Community Call

Next Wednesday, September 18th at 8am PDT

Power Platform 2019 release wave 2 plan

Power Platform 2019 release wave 2 plan

Features releasing from October 2019 through March 2020

FirstImage

Power Platform World Tour

Coming to a city near you

thirdimage

PowerApps Community User Group Member Badge

Fill out a quick form to claim your user group badge now!

FourthImage

Join PowerApps User Group!!

Connect, share, and learn with your peers year-round

SecondImage

Power Platform Summit North America

Register by September 5 to save $200

Top Kudoed Authors
Users Online
Currently online: 204 members 4,585 guests
Please welcome our newest community members: