Office 365 Outlook Add-in - getAttachmentContentAsync method gives 5001-Internal Error

Aleksandar Manukov 5 Reputation points
2024-09-20T10:50:26.1233333+00:00

Hello,

We have an Office 365 Outlook Add-in, which supports Message read and Message compose modes. We have an issue with attachment content retrieving in Message compose mode, when starting from Adobe Acrobat Reader. The scenario is in Adobe Acrobat Reader we use send email functionality, which opens compose email screen in Outlook with already attached PDF document. When we use our add-in to process the email it gives error "'5001-Internal Error' An internal error has occurred." when we try to get the attachment content using getAttachmentContentAsync(attachmentId, callback) method on the Office.context.mailbox.item. Please see the attached screenshots. We couldn't find what is the problem and when we compose email on our own and attach the same document there is no problem. Thank you for your help in advance!

Screenshot_1.png

Screenshot_2.png

Screenshot_3.png

Screenshot_4.png

Application versions:

  • Adobe Acrobat Reader - 2024.003.20112
  • Outlook - Microsoft® Outlook® for Microsoft 365 MSO (Version 2408 Build 16.0.17928.20114) 32-bit
Outlook
Outlook
A family of Microsoft email and calendar products.
3,901 questions
Office Development
Office Development
Office: A suite of Microsoft productivity software that supports common business tasks, including word processing, email, presentations, and data management and analysis.Development: The process of researching, productizing, and refining new or existing technologies.
3,936 questions
0 comments No comments
{count} vote

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.