0
votes

I tried to load my excel-addin on chrome browser.

I have added office.js api and I am getting warning and error in console as warning: Warning: Office.js is loaded outside of Office client Error: Failed to load resource: the server responded with a status of 404 (Not Found) telemetryproxy.html

I checked in the network tab and the error: https://telemetryservice.firstpartyapps.oaspapps.com/telemetryservice/telemetryproxy.html 404- file or directory not found.

Can someone help me to fix it?

Thanks

2

2 Answers

0
votes

looks like this URL does no exist. have you ever success? does your add-in ever work in windows?

enter image description here

0
votes

This is expected behavior. You will always get the error "Warning: Office.js is loaded outside of Office client" when you try to open an Office web add-in directly in a browser. Office.js can only initialize in the context of a Office application (Excel, Word, etc.). You have to sideload the add-in to test it. Please see Sideload an Office add-in for testing.

The telemetry service domain is only available to internal Microsoft developers creating add-ins. Since, you are not an internal developer, you get the error; but that error does no harm to the functioning of the add-in.