72
Views
4
Comments
Offline screen loading [ErrorScreen] Script error
Application Type
Mobile

Hi, 

   I've been facing script error like below while navigating from online screen to offline screen destination. Have someone faced the issue and resolved it?

[ErrorScreen] Script error for "AppName.Offline.ScreenName_Offline.mvc$model"
https://requirejs.org/docs/errors.html#scripterror
2021-05-18 19-42-11
Gabriel Melo

Hi Chockalingam,

Could you please share more details about your problem?

Where it happends?

Can you navigate to the mentioned screen using the browser mobile preview?

UserImage.jpg
Chockalingam S

Hi @Gabriel Melo ,

    Actually we are having an online screen which contains a list. Based on the selection of any item from list, we have a client action which will check if the network is online or offline and based on network status it traverse to online or offline screen. The issue currently gets occurred when it satisfies the given condition and move to the offline screen when we turn off the network. Then it throwing an error with "There was an error processing your request" page. 


Log captured in error log:-

RequestUrl: https://(App URL)/AppName/moduleservices/log?clientTimeInMillis=1714737144191 (Method: POST)

2021-05-18 19-42-11
Gabriel Melo

Hello again,

Have you checked if your offline screen aren't doing any online request?

UserImage.jpg
Chockalingam S

Nope there are no data actions/aggregate or something that is related to Server action. Please find the online and offline network related logs that has been occurred.

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