Forum Discussion
Kaushal Khamar
Sep 16, 2020Brass Contributor
Error while reading manifest.json: Invalid value(s) specified for validDomains[0]
While developing an application for MS Teams, I am using ngrok for exposing localhost URL to HTTPS. Till today it was working, but from today morning I am getting this issue of the invalid domain as below.
Error while reading manifest.json: Invalid value(s) specified for validDomains[0]: "https://e9d21d77e3f6.ngrok.io"
It is a warning but not able to install the app in MS Teams. Is there any changes made by Microsoft?
Bill Bliss martinlingstuyl timwiffen Adrian42 Mart Lehtmets
Seems the issue has been resolve from Microsoft. Now I am able to add the app in Teams.
- Kaushal KhamarBrass Contributor
Bill Bliss martinlingstuyl timwiffen Adrian42 Mart Lehtmets
Seems the issue has been resolve from Microsoft. Now I am able to add the app in Teams.
- Adrian42Copper Contributor
Kaushal Khamar Yes, it's working for me as well.
- Bill Bliss
Microsoft
Actually it may be a different problem - the ngrok URLs do expire, but that would cause a different issue.
It's asking for a domain but you are providing a URL. Get rid of the https:// and try that.
- Bill Bliss
Microsoft
OK folks sorry for the confusion, this may indeed be due to a recent bug in App Studio.
URLs are sometimes used to populate the validDomains array but the https:// should be stripped, but there was a bug that allowed URLs to flow through unmodified. Since validDomains takes a list of domains, not URLs, this caused an error.
A fix in App Studio should be out in production by the end of the day.
Sorry for the confusion - maybe I wasn't reading closely enough but I didn't see that this was in App Studio and that the validDomains array wasn't manually editable.- timwiffenCopper ContributorI can confirm that this is now working for me.
- Bill Bliss
Microsoft
Kaushal Khamar with the free version of ngrok, the xxxxxxxx.ngrok.io links expire after 8 hours, so that's your problem. If you don't want to keep updating your URLs, you might want to purchase the basic version which gives you custom subdomains that don't expire.
- Kaushal KhamarBrass Contributor
Hi Bill Bliss There is no issue of ngrok. ngrok URL is generated just 5 minutes before. Even i am using my private domain url is not working.
- timwiffenCopper Contributor
Also having this issue. First time learning to create an app for Teams and this happens...
- Same here 😒
- bilal_khanCopper Contributor
Kaushal Khamar Yesterday it was working fine. Facing same issue.
Is anyone got it resolved or still facing ?
Should we need to create app again ?- Kaushal KhamarBrass Contributor
No, Not any resolution. No one is able to install the app in MSTeams. I have tested in multiple systems with multiple tenants. Seems issue with Microsoft Teams.
Kaushal Khamar I got it working by manually removing the https domain from the validDomains list, and uploading the updated zipfile
- Mart LehtmetsBrass Contributor
Wow...seems that Teams developers have released some buggy version out. Hope they address this issue asap.
Same Here Kaushal Khamar !
- Adrian42Copper Contributor
Kaushal Khamar Same issue here. A few days ago it was working fine. Now we can no longer deploy our custom Teams application using the ngrok domains like.
"validDomains": [ "https://xxxx.ngrok.io" ]
We have tried to omit the "https", but that does not work either.
"validDomains": [ "xxxx.ngrok.io" ]
Hopefully Microsoft will fix this issue soon.
- Mart LehtmetsBrass Contributor
Exactly the same thing. Yesterday everything worked well and I could Install the custom application with domains, but today I receive the same error 😕
rror while reading manifest.json: Invalid value(s) specified for validDomains[0]: "https://xx.xxx.xx"
Invalid value(s) specified for validDomains[1]: "https://xx.xxx.xx"
Invalid value(s) specified for validDomains[2]: "https://xx.xx.xx"Very strange behaviour.
- BhagyashreeKulkarni33Copper Contributor
Mart Lehtmets I faced same issue .I open ngrok dashboard from localhost:4040 copied tunnel url and replaced endpoint url from azure and replaced validDomains from manifest .json now its working. It happened beacause ngrok url got refreshed in my case .Thank you
- Kaushal KhamarBrass Contributor
I am not able to install any app in Teams. Must be Microsoft has done something wrong.
- Jiri_HrochCopper Contributor
Kaushal Khamar I have same behaviour, same error here. I'am not able to instlall any custom app manifest.