Microsoft Tech Community Live:  Microsoft Teams Edition
November 09, 2021, 08:00 AM - 12:00 PM (PST)

Error while reading manifest.js

%3CLINGO-SUB%20id%3D%22lingo-sub-1955935%22%20slang%3D%22en-US%22%3EError%20while%20reading%20manifest.js%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1955935%22%20slang%3D%22en-US%22%3E%3CP%3EI%20am%20using%20ngrok%26nbsp%3B%3CSPAN%3Efor%20exposing%20localhost%20URL%20to%20HTTPS.%20Error%20message%20is%3A%26nbsp%3BInvalid%20value(s)%20specified%20for%20validDomains%5B0%5D%3A%20%22%3CA%20href%3D%22https%3A%2F%2Fc5a40126a7vc.ngrok.io%22%20target%3D%22_blank%22%20rel%3D%22nofollow%20noopener%20noreferrer%22%3Ehttps%3A%2F%2Fc5a40126a7vc.ngrok.io%3C%2FA%3E%22%3CBR%20%2F%3EUrl%20should%20start%20with%20%22https%3A%2F%2F%22%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%3CSPAN%3EI%20have%20tried%20everything%20I%20found%20online%2C%20but%20none%20of%20the%20solutions%20seems%20to%20work%2C%20and%20I%20still%20can't%20install%20my%20app%20in%20Microsoft%20Teams.%20%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%3CSPAN%3EThanks%20in%20advance!%3C%2FSPAN%3E%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-LABS%20id%3D%22lingo-labs-1955935%22%20slang%3D%22en-US%22%3E%3CLINGO-LABEL%3EDeveloper%3C%2FLINGO-LABEL%3E%3CLINGO-LABEL%3EMicrosoft%20Teams%3C%2FLINGO-LABEL%3E%3C%2FLINGO-LABS%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2021515%22%20slang%3D%22en-US%22%3ERe%3A%20Error%20while%20reading%20manifest.js%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2021515%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F891041%22%20target%3D%22_blank%22%3E%40predragimsic%3C%2FA%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F1623%22%20target%3D%22_blank%22%3E%40Rick%20Van%20Rousselt%3C%2FA%3E%26nbsp%3Bmay%20be%20able%20to%20answer%20this%20one.%20I%20have%20seen%20many%20sessions%20of%20him%20using%20ngrok%20and%20he%20is%20one%20of%20the%20most%20experienced%20devs%20of%20Teams%20I%20know%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EBest%2C%20Chris%3C%2FP%3E%3C%2FLINGO-BODY%3E
Occasional Visitor

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 :)