A repo and NPM package for Office.js, corresponding to a copy of what gets published to the official "evergreen" Office.js CDN, at https://appsforoffice.microsoft.com/lib/1/hosted/office.js.
Outlook desktop (new Mac OS X UI): addFileAttachmentFromBase64Async throws code: 5001, message: "An internal error has occurred." in pinned add-in #2890
Message from office-js bot:
We’re closing this issue because it has been inactive for a long time. We’re doing this to keep the issues list manageable and useful for everyone. If this issue is still relevant for you, please create a new issue.
Thank you for your understanding and continued feedback.
Provide required information needed to triage your issue
In an Outlook add-in (new Mac UI preview) for compose mode, we are using the addFileAttachmentFromBase64Async method to add attachments. In Outlook desktop "new Mac UI preview", the "Internal Error" occurs if the add-in's pane is pinned.
In Mac Outlook desktop "Classic UI" this method work correctly.
Your Environment
Platform [PC desktop, Mac, iOS, Office on the web]: Mac
Host [Excel, Word, PowerPoint, etc.]: Outlook
Office version number: Microsoft Outlook for Office 365 MSO version 16.65 (22091101)
Provide required information needed to triage your issue
In an Outlook add-in (new Mac UI preview) for compose mode, we are using the addFileAttachmentFromBase64Async method to add attachments. In Outlook desktop "new Mac UI preview", the "Internal Error" occurs if the add-in's pane is pinned.
In Mac Outlook desktop "Classic UI" this method work correctly.
Your Environment
Expected behavior
Current behavior
Steps to reproduce
Link to live example(s)
Provide additional details
Context
This bug is causing complaints from our customers.
Useful logs
Error returned by addFileAttachmentFromBase64Async method: