Error while publishing my analyses: The application ran into an unexpected error

Hello @Muhammad_Yaseen,

Thank you for letting us know. Some things you can try to see if it related to the Analysis itself is to create a copy of the Analysis using the File/Save as menu and see if you get any errors or if you can publish the new copy correctly.

I would also recommend filing a case with AWS Support where we can dive into the details so that we can help you further. Here are the steps to open a support case. If your company has someone who manages your AWS account, you might not have direct access to AWS Support and will need to raise an internal ticket to your IT team or whomever manages your AWS account. They should be able to open an AWS Support case on your behalf.

Hope this helps!