Hi,
I have an app which has been working properly for more than 1 year. However, a couple of weeks ago I receive report from some users that they are not able to see the content/information in the app. They have access in both PowerApps and the data source (Sharepoints, including all the lists the users needed).
The users managed to open some pages, but when it is landed to page with table/information, it is empty. This case is random for some users, other users have no issue.
I ran a debug session monitor with the effected user and seems this issue is related to Network/Connection?
Most of the effected users have the same debug error result as follow.

The Sharepoint (SP) list "Context" has 401 error which shows unauthorized even though users have access to the SP list.
Furthermore, the "Context" list has also been used in another process and shows success with code 200 below.
So it's a little bit strange with the authorization since all users have access to the apps and SP list. And again other users have no issue, just some random users. I strongly believe there is no issue with code behind GalContext - Items.

Sometimes I also got this issue even though I'm the developer.
I look the Details in the debug report. The error message found in the last line is showing either:
"error": {
"code": 401,
"source": "europe-001.azure-apim.net",
"clientRequestId": "ffc2c193-7140-4363-979e-8adb81a5a139",
"message": "The response is not in a JSON format.",
"innerError": "Cannot read server response."
}
or in some error case it shows below.
"body": {
"error_description": "Invalid JWT token. The token is expired."
Also received an error message from the user while operating the apps like this.

"One or more of your connections are possibly not approved. Click here to fix it"
But when she click it, there is nothing happen.
For me I don't see any issue with the access to the Apps or SP but rather Network/Connection.
Could you please help me troubleshoot and fix this issue?
Again this apps never have any issue for more than 1 year. Just recently came.
Thanks and regards,
HeihoSilver