Hi Team,
We are testing our low code application via Cypress through UI, so in order to login we provide username and password,.
Sometimes it logs in properly but sometimes it throws the error
{ "Message": "There\u0027s no connection.", "StackTrace": "", "ExceptionType": "Skyline.DataMiner.Web.Common.NoConnectionWebApiException" }
Warning
Something went wrong while fetching the regional settings.
Your local settings will be used for now.
There's no connection.
What are we missing here at time of login?
Hi Apurva,
This 'No connection' error comes from a HTTP(s) request that failed. Can you run Cypress headed and use the dev tools to look at what call is failing? It is most likely the 'GetRegionalSettings' call that fails.


Hi Apurva, This error means that the current user connection that is used in the WebAPIs is no longer valid. This can be caused by a lot of different reasons: the user is no longer logged in, the connection was timed out, the APIs restarted, … . When this happens, the user has to log in again to restore the connection.
Hi Wout,
Yes, you are correct, it is the one that fails
The others fail too like "GetApplicationComponents" or "GetDashboard" but intermittently
But not always, how to fix that, as it will weird on some run out test case will pass and on some it will fail