Error while reading manifest.json
Hi,
I follow exactly the same steps to try to build a Teams tab web part. There is no issue to deploy the web part to app catalog, no issue to add the web part to SharePoint Online page. Unfortunately, when I try to upload the Team manifest file, I got this error message "Error while reading manifest.json".
Please advise.
Thanks.
The manifest content as below:
{
"$schema": "https://developer.microsoft.com/en-us/json-schemas/teams/v1.2/MicrosoftTeams.schema.json",
"manifestVersion": "1.2",
"packageName": "MyFirstTeamsTab",
"id": "caae6a54-6b2d-40f6-a2d3-a1d137d7350e",
"version": "0.1",
"developer": {
"name": "SPFx + Teams Dev",
"websiteUrl": "https://products.office.com/en-us/sharepoint/collaboration",
"privacyUrl": "https://privacy.microsoft.com/en-us/privacystatement",
"termsOfUseUrl": "https://www.microsoft.com/en-us/servicesagreement"
},
"name": {
"short": "MyFirstTeamsTab"
},
"description": {
"short": "My first Teams tab",
"full": "My first Teams tab"
},
"icons": {
"outline": "tab20x20.png",
"color": "tab96x96.png"
},
"accentColor": "#004578",
"configurableTabs": [
{
"configurationUrl": "https://{teamSiteDomain}{teamSitePath}/_layouts/15/TeamsLogon.aspx?SPFX=true&dest={teamSitePath}/_layouts/15/teamshostedapp.aspx%3FopenPropertyPane=true%26teams%26componentId=caae6a54-6b2d-40f6-a2d3-a1d137d7350e",
"canUpdateConfiguration": false,
"scopes": [
"team"
]
}
],
"validDomains": [
"*.login.microsoftonline.com",
"*.sharepoint.com",
"*.sharepoint-df.com",
"spoppe-a.akamaihd.net",
"spoprod-a.akamaihd.net",
"resourceseng.blob.core.windows.net",
"msft.spoppe.com"
],
"webApplicationInfo": {
"resource": "https://{teamSiteDomain}",
"id": "00000003-0000-0ff1-ce00-000000000000"
}
}
Document Details
⚠ Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.
- ID: 4521ae6c-2ac6-8898-4731-0a5a50349d76
- Version Independent ID: 49edacf9-9538-079b-24ab-3ce17017ba77
- Content: Building Microsoft Teams tab using SharePoint Framework - Tutorial
- Content Source: docs/spfx/web-parts/get-started/using-web-part-as-ms-teams-tab.md
- Product: sharepoint
- GitHub Login: @spdevdocs
- Microsoft Alias: spdevdocs
Can you please share the zip package that you are trying to upload.
@johnthen, I'm sorry but I cannot reproduce the issue you are describing with the app package you provided. I am able to upload the package without any issues:

Can you please try re-loading your Teams client in an in-private session and verifying that the issue still persists? Also, have you opted in for the Teams developer preview? https://docs.microsoft.com/en-us/microsoftteams/platform/resources/dev-preview/developer-preview
Do you see any errors in the console when the app package upload fails?
Hi ydogandjiev,
Sorry for the late reply. Currently was busy with something else.
Thanks for the highlighted on MS Teams developer preview. After turn on the developer preview, I am able to upload the package without any issues. It's working smoothly like a butter.
Thanks again.
#Error while uploading .zip file
I followed all the steps as mentioned, created .zip file which contains manifest.json and other two image files at root of .zip file. While uploading .zip file to target Team, I get below error
Error while extracting package: Please ensure there are no folders in your app package and that your app package contains only the manifest.json and the two required icon files at its root level. For an easier experience creating your app package, install App Studio from the Teams Store.
Hi ydogandjiev,
I have a different message but i cannot deploy to Teams as well. This is the error message i have:
Error details: Error: ***Error initializing application. Error: Error: ***Error initializing application. Error: Error setting up Teams environment in TeamsInitializer: Error: ***Manifest not found for component id "bcd77d47-b523-4c50-b833-f236029d5acd".
Troubleshoot issues with Microsoft SharePoint Foundation. Correlation ID: 4196ad9e-9039-7000-a598-a4d057342710 Date and Time: 12/19/2018 8:05:48 AM
I did also tried your zip file, same error. But cool stuff, thank you all for sharing this. Can't wait for more.
There is also another small error on the innerHTML dom element, the name of the first div is MyFisrtTeamsTab but in the scss it is call teamsTab, so i could not bundle, had to replace it for this,
this.domElement.innerHTML =
<div class="${ styles.teamsTab }">
<div class="${ styles.container }">
<div class="${ styles.row }">
<div class="${ styles.column }">
<span class="${ styles.title }">${title}</span>
<p class="${ styles.subTitle }">${subTitle}</p>
<p class="${ styles.description }">${siteTabTitle}</p>
<p class="${ styles.description }">Description property value - ${escape(this.properties.description)}</p>
<a href="https://aka.ms/spfx" class="${ styles.button }">
<span class="${ styles.label }">Learn more</span>
</a>
</div>
</div>
</div>
</div>;
@rahulsuryawanshi, @umaknow-alain, the original issue discussed on this thread has been resolved. Can you please open new issues for the problems you’re encountering. Also, please share your ZIP packages when you do that and screenshot(s) of the errors you’re seeing so that we can better investigate the problems. Thanks!
Greetings! I have developed a small sample app to test on Microsoft Teams, when I try to upload the package through the app studio, it shows the error saying: "Manifest.json" file is missing from archive and the (Correct/parsed) file is there on the route directory. I wonder if anyone can help me!
@syedshazab, there should be no root directory within the ZIP. The manifest.json file and icons should be at the root of the ZIP file without any parent directory. Consider using App Studio to generate the Teams app package since that will ensure it's in the correct format: https://docs.microsoft.com/en-us/microsoftteams/platform/concepts/build-and-test/app-studio-overview
Issues that have been closed & had no follow-up activity for at least 7 days are automatically locked. Please refer to our wiki for more details, including how to remediate this action if you feel this was done prematurely or in error: Issue List: Our approach to locked issues