27
Views
4
Comments
Error message is appearing in outsystems mobile application
Application Type
Mobile
Service Studio Version
11.55.6 (Build 63936)

 Error message is appearing"Request failed with an error" in outsystems mobile application .

The message appears when the application work offline.

2025-08-07 06-30-56
Amit J
Champion

Hi

The error "Request failed with an error" in an OutSystems mobile application typically occurs when the app tries to make a network request while offline.

Here’s how you can troubleshoot and fix it:

Possible Causes & Solutions

1. Check Network Availability Before Making API Calls

  • If your application calls a REST API while offline, it will fail.
  • Solution: Use the Navigator.Online property or an OutSystems device plugin to check if the user is online before making requests.

2. Implement Offline Data Sync (Local Storage)

  • If your app depends on server data, ensure it can store and retrieve data locally while offline.
  • Solution:
    • Use Offline Data Sync to store data in the local database and sync it when the user comes online.
    • Use Local Storage Entities instead of API calls for read operations when offline.

Check also the service center or you can do debug the mobile app.

2020-07-21 19-28-50
Rajat Agrawal
Champion

Hi @Mizna ALFarsi 

Please check ,Is there any API call or any network request that your mobile app is trying to make when there is no internet connection.

if there is any API call then apply condition like application is online then only call API.

Regards ,

Rajat

2025-01-31 03-15-38
Irfan Ahamed Abdul Shukoor

Hi @Mizna ALFarsi ,

As @Rajat Agrawal and @Amit Jain mentioned you app is trying to connect to a network for a action which fails, Kindly check the network tab in the browser it will give you a better idea. I have attached a sample which calls a dataactionnotofications


Thank You.

2025-08-07 06-30-56
Amit J
Champion

Debugging the mobile app will pinpoint the exact cause of failure, saving time and effort.

Community GuidelinesBe kind and respectful, give credit to the original source of content, and search for duplicates before posting.