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 ...
- Sep 17, 2020
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 Khamar
Sep 16, 2020Brass 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.
Sep 16, 2020
Kaushal Khamar I got it working by manually removing the https domain from the validDomains list, and uploading the updated zipfile
- Kaushal KhamarSep 16, 2020Brass Contributor
I have tried the same thing but not worked for me.
After removing https manually and uploading the manifest file, it automatically adding URL from the content URL with HTTPS.
- Sep 16, 2020
Kaushal Khamar See Adrian42's reply. This is exactly the behavior I see. So If you go to Apps and then select 'Upload a custom app', it will work.
- BhagyashreeKulkarni33Sep 14, 2022Copper ContributorI am facing this error : Error while reading manifest.json: The file could not be found in the app package.
Do you have any solution?
- Adrian42Sep 16, 2020Copper Contributor
martinlingstuyl Indeed, it works. Thanks a lot. But it only works when you upload the zip file using "Upload custom app" instead of importing it via the App Studio.
The App Studio always adds the leading HTTPS based on the URLs that are used in Tabs e.g. Even if you upload a custom manifest, App Studio would add the leading HTTPS, resulting in an invalid manifest again.
"validDomains": [ "https://xxxx.ngrok.io", "xxxx.ngrok.io" ]
- Sep 16, 2020I agree, it's all very annoying.