I am trying to deploy a Microsoft Word Office Add-in through Office 365 using centralized deployment. I created my project using the yeoman generator and VS code. After testing and running on my local machine I built to project using npm run build (this created the dist folder). I then deployed this on a web server. I then took the url to this folder, confirmed that it worked, and updated my xml file. I then deployed the xml through central deployment on office 365. I then opened word and was able to download the add-in through insert -> my add-ins -> manage add-ins in word. However when I click on the add-in to load the taskpane it gives the error
My question is what can be causing this error. I have confirmed that I can access the files that I am hosting on my web server, and I double checked that I updated my xml file properly. I have been following this documentation from Microsoft: https://docs.microsoft.com/en-us/office/dev/add-ins/publish/publish-add-in-vs-code