1

Recently I have been seeing my Microsoft O365 add-in load with this error:

Error Image ADD-IN ERROR Sorry, we had to restart because this add-in wasn't responding.

The console/dev tools shows no error logged at all and then the add-in procedes to restart and run just fine. Is there any reason why add-ins fail to load on occasion without specific errors?

wsoccorsi
  • 45
  • 8

1 Answers1

1

By default, web add-ins are restarted if any action takes more than 330 ms (5s). You can use a WebWorker to launch long-running tasks. For example, see Long operations crash Office addin (JS).

Eugene Astafiev
  • 47,483
  • 3
  • 24
  • 45
  • Hi @Eugene , I am facing similar issue with our office word web addin. After getting first slice of data , it gives the error "Sorry, We had to restart because this add-in was not responding". We are using the same code as mentioned in [link] (https://learn.microsoft.com/en-us/office/dev/add-ins/word/get-the-whole-document-from-an-add-in-for-word) . No matter the size of slice, it gives error after getting 1st slice of data. Please suggest! – Asmi Dec 21 '20 at 11:53
  • I'd suggest posting a separate question in a new thread so readers could easily recognize questions and answers. – Eugene Astafiev Jan 18 '22 at 21:49