Manifest parsing failed while uploading self configured bot on MS teams

Rajesh M1
Giga Guru

Hello,

 

I am using self-configured bot approach to integrate ServiceNow virtual agent with MS teams. I successfully created a bot and generated a manifest file from ServiceNow instance. Uploading the manifest file on MS teams console is failing with error "Manifest parsing has failed". 

 

Detailed error: Error while extracting package: The requested file could not be read, typically due to permission problems that have occurred after a reference to a file was acquired.

 

Please help with your suggestions to mitigate this issue.

 

RajeshM1_0-1691653771020.png

 

 

 

Regards

Rajesh M.

2 REPLIES 2

Amarjeet Pal
Kilo Sage
Kilo Sage

Hello @Rajesh M1 ,

The error "Manifest parsing has failed" typically occurs if there is an issue with the manifest file syntax or formatting. Here are some steps you can take to troubleshoot this issue:

1. Verify that the manifest file was generated correctly from your ServiceNow instance. Check for any errors during the generation process and confirm that all required fields are populated correctly.

2. Check the formatting of the manifest file to ensure it is valid JSON syntax. One way to do this is to use a JSON validator tool, such as jsonlint.com, to check for any syntax errors.

3. Confirm that you have the appropriate permissions in Microsoft Teams to upload a custom app manifest file. You may need to contact your Teams administrator if you do not have sufficient permissions.

4. Ensure that you are uploading the correct version of the manifest file and that it matches the version of your ServiceNow instance.

5. Finally, try re-generating the manifest file from ServiceNow and uploading it again.

By following these steps, you should be able to identify and resolve any issues with uploading your ServiceNow Virtual Agent bot's manifest file into Microsoft Teams console successfully.

Please mark helpful and correct answer if this helped you.

 

Thanks,

Amarjeet Pal

Raguram1
ServiceNow Employee
ServiceNow Employee

@Rajesh M1  Can you confirm If you had unzipped the manifest and zipped it back?

 

if you did, ensure you have compressed selecting only the files. manifest.json, color.png and icon.png files. There shouldnt be any folders inside the zip.

 

Thanks,

Ragu