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 / Error when trying to r...
Power Apps
Answered

Error when trying to retrive data from the network

(0) ShareShare
ReportReport
Posted on by 18
Hi ALl, i have created a power app for a mobile device and I am seeing the error "Error when trying to retrive data from the network" every time I log into the app and try to use it. I do not see the error when I use it on my laptop, only on the mobile app, power app. 

This is on the on start of my app - 

Any idea where else I can trouble shoot?

Set
(varUserEmail, Trim(Lower(User().Email)));
Set(showCompLoadingScreen, false);
If
(
    IsBlank(Location.Latitude) || IsBlank(Location.Longitude),
    Notify("Please turn location services in Power Apps on", NotificationType.Error),
    Notify("Location Connected", NotificationType.Success)
);
Collect(
    colDevices,
        Filter('Engineer Device Tables',
            'Auditor Email' = varUserEmail,
            Approved = 'Approved (Engineer Device Tables)'.No));
Categories:
I have the same question (0)
  • Suggested answer
    11manish Profile Picture
    1,052 on at
    On mobile, this usually means:
    • A data source call failed
    • OR a device permission blocked execution
    • OR OnStart failed partially

    Location() function (HIGH probability issue)

    IsBlank(Location.Latitude) || IsBlank(Location.Longitude)
     
    On mobile:
    • If location permission is OFF
    • OR user hasn’t granted permission yet
    On mobile, this fails if:
     
    Possible reasons:
    • Network latency / timeout
    • Delegation issue
    • Permission issue on datasource
    • Connector not authenticated on mobile
    • Large dataset
  • MS.Ragavendar Profile Picture
    6,422 Super User 2026 Season 1 on at
     
    Users must enable Location → Always / While using app, Power Apps does not always auto‑prompt.
     
    Why this error happens only on mobile?
    Error when trying to retrieve data from the network on mobile usually means something in OnStart failed before the app finished loading.
    On desktop, Power Apps is more forgiving. On mobile, any blocking failure in OnStart = generic network error.
     
    IsBlank(Location.Latitude) || IsBlank(Location.Longitude)
     
    Do NOT block logic in OnStart with Location() Move it to OnVisible of first screen Or wrap it safely
     
    IfError(
        Location.Latitude,
        Notify("Location permission required", NotificationType.Error)
    )
     
    ✅If this helped, please Accept as Solution to help others ❤️ A Like is appreciated 🏷️ Tag @MS.Ragavendar for follow-ups.
  • CU26030508-1 Profile Picture
    18 on at
    Thanks for your reply @11manish.

    Location() function (HIGH probability issue)

    IsBlank(Location.Latitude) || IsBlank(Location.Longitude)


     
    tried this, it did not work. Need to check if there is any issue on datasource permission
  • CU26030508-1 Profile Picture
    18 on at
    hmmm, so when I hit the begin button after selecting a project and moving to the second screen, it throws the error, but when i click the back button and reselect the proejct and click begin again, it does not show. 
    I tried doing this multiple times, it did not show.

    it only shows the first time i click on begin. 

    This is the on select propert of the begin button on the welcome screen (screen 1) 
     
    If (
        IsBlank(drpWS_ProjectSelect.Selected.Value),
        Notify(
            "Select project from dropdown",
            NotificationType.Information
        ),
    Set(
        varSelectedProject,
        LookUp(
            Projects,
            'Project Name' = drpWS_ProjectSelect.Selected.Value
        )
    );
    ClearCollect(
        colDevices,
        Filter(
            'Engineer Device Tables',
            'Auditor Email' = varUserEmail , 'Project ID' =Text(varSelectedProject.'New table') , Approved = 'Approved (Engineer Device Tables)'.No
        )
    );
    Navigate('Assign Location Screen'));
  • Suggested answer
    CU26030508-1 Profile Picture
    18 on at
    I FOUND OUT THE ERROR. 
    It was on the format of the clear collect. 

    it was initially seperated by && instead of comma ( , ) 
    ClearCollect(
        colDevices,
        Filter(
            'Engineer Device Tables',
            'Auditor Email' = varUserEmail && 'Project ID' =Text && (varSelectedProject.'New table') && Approved = 'Approved (Engineer Device Tables)'.No
        )
    i had to replace the && with , as seen below 
     
    ClearCollect(
        colDevices,
        Filter(
            'Engineer Device Tables',
            'Auditor Email' = varUserEmail , 'Project ID' =Text(varSelectedProject.'New table') , Approved = 'Approved (Engineer Device Tables)'.No
        )

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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Users!

Kudos to our 2025 Community Spotlight Honorees

Congratulations to our 2025 community superstars!

Congratulations to the March Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Apps

#1
11manish Profile Picture

11manish 528

#2
WarrenBelz Profile Picture

WarrenBelz 426 Most Valuable Professional

#3
Valantis Profile Picture

Valantis 306

Last 30 days Overall leaderboard