Forum Discussion

JessicaLu85's avatar
JessicaLu85
Copper Contributor
Nov 26, 2021

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

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 

    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. 

  • 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

    • JessicaLu85's avatar
      JessicaLu85
      Copper Contributor

      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.

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

      • Prasad_Das-MSFT's avatar
        Prasad_Das-MSFT
        Icon for Microsoft rankMicrosoft

        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. 

Resources