SOLVED

Meet "Manifest parsing has failed" error when uploading a customer app

%3CLINGO-SUB%20id%3D%22lingo-sub-3008397%22%20slang%3D%22en-US%22%3EMeet%20%22Manifest%20parsing%20has%20failed%22%20error%20when%20uploading%20a%20customer%20app%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-3008397%22%20slang%3D%22en-US%22%3E%3CP%3EHi%2C%26nbsp%3B%3C%2FP%3E%3CP%3EI'm%20trying%20to%20get%20started%20with%20teams%20app%20according%20to%20%3CA%20href%3D%22https%3A%2F%2Fdocs.microsoft.com%2Fen-us%2Fmicrosoftteams%2Fplatform%2Fsbs-gs-csharp%3Ftabs%3DAS%26amp%3Btutorial-step%3D4%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noreferrer%22%3Ehttps%3A%2F%2Fdocs.microsoft.com%2Fen-us%2Fmicrosoftteams%2Fplatform%2Fsbs-gs-csharp%3Ftabs%3DAS%26amp%3Btutorial-step%3D4%3C%2FA%3E%3C%2FP%3E%3CP%3EWhen%20uploading%20a%20customer%20app%2C%20I%20will%20meet%20%22Manifest%20parsing%20has%20failed%22%20error.%20Error%20detail%20is%20%22Error%20while%20reading%20manifest.json%22.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EI%20tried%20to%20zip%20both%20manifest%20and%26nbsp%3Bcontoso20x20.png%20and%26nbsp%3Bcontoso96x96.png%20and%20upload%20again%2C%20get%20the%20same%20error.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EIn%20developer%20portal%20-%20validate%20your%20app%20package%20part%2C%20I%20also%20see%20%22The%20file%20could%20not%20be%20found%20in%20the%20app%20package%22%20but%20no%20details%20of%20what%20file%20is%20not%20found.%26nbsp%3B%20I'm%20not%20sure%20whether%20the%202%20errors%20are%20related.%20What%20have%20I%20missed%3F%20Thanks!%3C%2FP%3E%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22JessicaLu85_0-1637925884118.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F329677i0A1EFD6830C8FCA8%2Fimage-size%2Fmedium%3Fv%3Dv2%26amp%3Bpx%3D400%22%20role%3D%22button%22%20title%3D%22JessicaLu85_0-1637925884118.png%22%20alt%3D%22JessicaLu85_0-1637925884118.png%22%20%2F%3E%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22JessicaLu85_1-1637926053536.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F329678i53A7554154639FFD%2Fimage-size%2Fmedium%3Fv%3Dv2%26amp%3Bpx%3D400%22%20role%3D%22button%22%20title%3D%22JessicaLu85_1-1637926053536.png%22%20alt%3D%22JessicaLu85_1-1637926053536.png%22%20%2F%3E%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-LABS%20id%3D%22lingo-labs-3008397%22%20slang%3D%22en-US%22%3E%3CLINGO-LABEL%3EMicrosoft%20Teams%3C%2FLINGO-LABEL%3E%3C%2FLINGO-LABS%3E%3CLINGO-SUB%20id%3D%22lingo-sub-3008485%22%20slang%3D%22en-US%22%3ERe%3A%20Meet%20%22Manifest%20parsing%20has%20failed%22%20error%20when%20uploading%20a%20customer%20app%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-3008485%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F1216170%22%20target%3D%22_blank%22%3E%40JessicaLu85%3C%2FA%3E%26nbsp%3B%3CBR%20%2F%3ECould%20you%20please%20try%20to%20validate%20your%20package%20using%20app%20studio%3F%20There%20it%20shows%20the%20exact%20reason%20of%20failure.%20If%20that%20doesn't%20help%20please%20share%20the%20manifest%20file%20so%20that%20we%20can%20try%20it%20at%20our%20end%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-3017055%22%20slang%3D%22en-US%22%3ERe%3A%20Meet%20%22Manifest%20parsing%20has%20failed%22%20error%20when%20uploading%20a%20customer%20app%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-3017055%22%20slang%3D%22en-US%22%3E%3CP%3EHi%26nbsp%3B%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F1092859%22%20target%3D%22_blank%22%3E%40Prasad_Das-MSFT%3C%2FA%3E%2C%3C%2FP%3E%3CP%3Ethanks%20for%20reply.%20I%20can%20get%20the%20same%20result%20from%20app%20studio%20validation%20but%20no%20detail%20of%20which%20file%20could%20not%20be%20found%20in%20the%20app%20package.%3C%2FP%3E%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22JessicaLu85_0-1638261122630.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F330284iC8A6F64DB5700E58%2Fimage-size%2Fmedium%3Fv%3Dv2%26amp%3Bpx%3D400%22%20role%3D%22button%22%20title%3D%22JessicaLu85_0-1638261122630.png%22%20alt%3D%22JessicaLu85_0-1638261122630.png%22%20%2F%3E%3C%2FSPAN%3E%3C%2FP%3E%3CP%3EI%20have%20attached%20the%20manifest%20file%20in%20Hello%20World.zip.%26nbsp%3B%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-3022325%22%20slang%3D%22en-US%22%3ERe%3A%20Meet%20%22Manifest%20parsing%20has%20failed%22%20error%20when%20uploading%20a%20customer%20app%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-3022325%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F1216170%22%20target%3D%22_blank%22%3E%40JessicaLu85%3C%2FA%3E%26nbsp%3B%3CBR%20%2F%3E%3CBR%20%2F%3EThe%20color%20and%20outline%20image%20you%20are%20using%20have%20different%20file%20name%20than%20what%20is%20being%20declared%20inside%20manifest.%20I%20am%20attaching%20the%20zip%20file%20which%20is%20working%20fine.%20Hopefully%20it%20helps%20you.%3CBR%20%2F%3E%3CBR%20%2F%3E%3CBR%20%2F%3E%3C%2FP%3E%0A%3CP%3E%3CSPAN%20data-contrast%3D%22auto%22%3EThanks%2C%3C%2FSPAN%3E%3CSPAN%3E%26nbsp%3B%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3EPrasad%3C%2FP%3E%0A%3CP%3E%3CSPAN%20data-contrast%3D%22auto%22%3E--------------------------------------------------------------------------%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3E%3CSPAN%20data-contrast%3D%22auto%22%3EIf%20the%20response%20is%20helpful%2C%20please%20click%20%22**Mark%20as%20Best%20Response**%22%20and%20like%20it.%20You%20can%20share%20your%20feedback%20via%26nbsp%3B%3C%2FSPAN%3E%3CA%20href%3D%22https%3A%2F%2Faka.ms%2FDevSupportFeedback)%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noreferrer%22%3E%3CSPAN%20data-contrast%3D%22auto%22%3EMicrosoft%20Teams%20Developer%20Feedback%3C%2FSPAN%3E%3C%2FA%3E%3CSPAN%20data-contrast%3D%22auto%22%3E%26nbsp%3Blink.%20Click%26nbsp%3B%3C%2FSPAN%3E%3CA%20href%3D%22https%3A%2F%2Faka.ms%2FDevCommunityEscalationForm%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noreferrer%22%3E%3CSPAN%20data-contrast%3D%22auto%22%3Ehere%3C%2FSPAN%3E%3C%2FA%3E%3CSPAN%20data-contrast%3D%22auto%22%3E%26nbsp%3Bto%20escalate.%3C%2FSPAN%3E%3CSPAN%3E%26nbsp%3B%3C%2FSPAN%3E%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-3029528%22%20slang%3D%22en-US%22%3ERe%3A%20Meet%20%22Manifest%20parsing%20has%20failed%22%20error%20when%20uploading%20a%20customer%20app%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-3029528%22%20slang%3D%22en-US%22%3E%3CP%3EHi%26nbsp%3B%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F1092859%22%20target%3D%22_blank%22%3E%40Prasad_Das-MSFT%3C%2FA%3E%2C%3C%2FP%3E%3CP%3ENo%20good%20luck%2C%20with%20the%20modified%20Hello%20world.zip%2C%20I%20meet%20%22we%20didn't%20find%20any%20matches%22%20error%20these%202%20days%3A%20(%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3C%2FLINGO-BODY%3E
Occasional Contributor

Hi, 

I'm trying to get started with teams app according to https://docs.microsoft.com/en-us/microsoftteams/platform/sbs-gs-csharp?tabs=AS&tutorial-step=4

When uploading a customer app, I will meet "Manifest parsing has failed" error. Error detail is "Error while reading manifest.json".

 

I tried to zip both manifest and contoso20x20.png and contoso96x96.png and upload again, get the same error.

 

In developer portal - validate your app package part, I also see "The file could not be found in the app package" but no details of what file is not found.  I'm not sure whether the 2 errors are related. What have I missed? Thanks!

JessicaLu85_0-1637925884118.png

JessicaLu85_1-1637926053536.png

 

 

5 Replies

@JessicaLu85 
Could you please try to validate your package using app studio? There it shows the exact reason of failure. If that doesn't help please share the manifest file so that we can try it at our end

Hi @Prasad_Das-MSFT,

thanks for reply. I can get the same result from app studio validation but no detail of which file could not be found in the app package.

JessicaLu85_0-1638261122630.png

I have attached the manifest file in Hello World.zip. 

best response confirmed by JessicaLu85 (Occasional Contributor)
Solution

@JessicaLu85 

The color and outline image you are using have different file name than what is being declared inside manifest. I am attaching the zip file which is working fine. Hopefully it helps you.


Thanks, 

Prasad

--------------------------------------------------------------------------

If the response is helpful, please click "**Mark as Best Response**" and like it. You can share your feedback via Microsoft Teams Developer Feedback link. Click here to escalate. 

Hi @Prasad_Das-MSFT,

No good luck, with the modified Hello world.zip, I meet "we didn't find any matches" error these 2 days: (

 

 

Now I meet the publish successful UI. Thanks @Prasad_Das-MSFT