OfficeDev / microsoft-teams-apps-groupconnect

Welcome to the group connect Teams app template!
MIT License
11 stars 17 forks source link

Error after installation: Ooops! An unexpected error seems to have occured. Why not try refreshing your page? Or you can contact your administrator if the problem persists. #27

Open 1BJK903 opened 3 years ago

1BJK903 commented 3 years ago

There is an error I get after deploying and installing the app successfully. I can't find any errors in Azure, but this is the error we get in Teams:

Ooops! An unexpected error seems to have occured. Why not try refreshing your page? Or you can contact your administrator if the problem persists.

It initially seems to load (very very slowly), but eventually fails and gives the error above.

However, I do see an error in the console log of my browser:

2.2ede6543.chunk.js:sourcemap:2 GET https://group-connect.azurewebsites.net/api/sentnotifications 500 (Internal Server Error)
(anonymous) @ 2.2ede6543.chunk.js:2
e.exports @ 2.2ede6543.chunk.js:2
e.exports @ 2.2ede6543.chunk.js:2
Promise.then (async)
l.request @ 2.2ede6543.chunk.js:2
r.forEach.l.<computed> @ 2.2ede6543.chunk.js:2
(anonymous) @ 2.2ede6543.chunk.js:2
(anonymous) @ main.56af6305.chunk.js:1
u @ 2.2ede6543.chunk.js:2
(anonymous) @ 2.2ede6543.chunk.js:2
(anonymous) @ 2.2ede6543.chunk.js:2
r @ 2.2ede6543.chunk.js:2
s @ 2.2ede6543.chunk.js:2
Promise.then (async)
r @ 2.2ede6543.chunk.js:2
s @ 2.2ede6543.chunk.js:2
(anonymous) @ 2.2ede6543.chunk.js:2
(anonymous) @ 2.2ede6543.chunk.js:2
(anonymous) @ main.56af6305.chunk.js:1
(anonymous) @ main.56af6305.chunk.js:1
u @ 2.2ede6543.chunk.js:2
(anonymous) @ 2.2ede6543.chunk.js:2
(anonymous) @ 2.2ede6543.chunk.js:2
r @ 2.2ede6543.chunk.js:2
s @ 2.2ede6543.chunk.js:2
(anonymous) @ 2.2ede6543.chunk.js:2
(anonymous) @ 2.2ede6543.chunk.js:2
(anonymous) @ main.56af6305.chunk.js:1
(anonymous) @ main.56af6305.chunk.js:1
u @ 2.2ede6543.chunk.js:2
(anonymous) @ 2.2ede6543.chunk.js:2
(anonymous) @ 2.2ede6543.chunk.js:2
r @ 2.2ede6543.chunk.js:2
s @ 2.2ede6543.chunk.js:2
(anonymous) @ 2.2ede6543.chunk.js:2
(anonymous) @ 2.2ede6543.chunk.js:2
(anonymous) @ main.56af6305.chunk.js:1
(anonymous) @ 2.2ede6543.chunk.js:2
(anonymous) @ 2.2ede6543.chunk.js:2
value @ main.56af6305.chunk.js:1
cs @ 2.2ede6543.chunk.js:2
kl @ 2.2ede6543.chunk.js:2
t.unstable_runWithPriority @ 2.2ede6543.chunk.js:2
qo @ 2.2ede6543.chunk.js:2
_l @ 2.2ede6543.chunk.js:2
sl @ 2.2ede6543.chunk.js:2
(anonymous) @ 2.2ede6543.chunk.js:2
t.unstable_runWithPriority @ 2.2ede6543.chunk.js:2
qo @ 2.2ede6543.chunk.js:2
Qo @ 2.2ede6543.chunk.js:2
R @ 2.2ede6543.chunk.js:2
C.port1.onmessage @ 2.2ede6543.chunk.js:2
Show 20 more frames
group-connect.azurew…2ede6543.chunk.js:2 Uncaught (in promise) Error: Request failed with status code 500
    at e.exports (group-connect.azurewebsites.net/static/js/2.2ede6543.chunk.js:2)
    at e.exports (group-connect.azurewebsites.net/static/js/2.2ede6543.chunk.js:2)
    at XMLHttpRequest.p.onreadystatechange (group-connect.azurewebsites.net/static/js/2.2ede6543.chunk.js:2)

Error screenshots: Errors Error2

Any ideas on how to solve this? I am out of options.

ahlim0011 commented 11 months ago

Hi, do you know what solved this