Error while reading manifest.js

Copper Contributor

I am using ngrok for exposing localhost URL to HTTPS. Error message is: Invalid value(s) specified for validDomains[0]: "https://c5a40126a7vc.ngrok.io"
Url should start with "https://"

 

I have tried everything I found online, but none of the solutions seems to work, and I still can't install my app in Microsoft Teams.

 

Thanks in advance!

2 Replies

@predragimsic 

 

@Rick Van Rousselt may be able to answer this one. I have seen many sessions of him using ngrok and he is one of the most experienced devs of Teams I know

 

Best, Chris

@predragimsic 

Hi,

Inside your manifest you should not specify HTTP or HTTPS for the valid domains section.

If you look here https://docs.microsoft.com/en-us/microsoftteams/platform/resources/schema/manifest-schema#validdomai... you see an example. 

So in your case c5a40126a7vc.ngrok.io should be enough. 

I see you are developing here, what I usually do during development is set it to *.ngrok.io. This makes it easier the next time you fire up ngrok and get another URL. 

Let me know if you have any other issues?

 

@Christopher Hoard Took a while before I figured out the notification email got into my spam folder :)