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.
Bill Bliss
Microsoft
Sep 16, 2020Actually 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
Sep 16, 2020OK 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.
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.
- timwiffenSep 17, 2020Copper ContributorI can confirm that this is now working for me.