New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
addFileAttachmentAsync Appends Invalid Authorization Header #322
Comments
We are aware of this issue. We responded to the StackOverflow post. We have engaged the Outlook team to address this information. We don't have an ETA for fixing this issue. The workaround is to host the files elsewhere. |
Is there an update on this issue? It's 7 months on, and I can still replicate the issue. The answer of "use a service that has more relaxed security" isn't a great workaround to have in place for this long, especially when it can involve customer data. |
We are now seeing this in the latest semi-annual releases 1902 and 1907 monthly releases. This means that seven months after reporting this issue, it has expanded to both public release channels. Without a fix we will have to build a workaround to address. @exextoc and @kbrandl This is extremely disappointing and the second time a bug has required a substantial workaround on our end in the last few months. The other being #433. Is there a better mechanism to escalate these issues? |
@kkerr1 thanks for reaching out about this, and sorry to see that the team's progress has been so slow with this issue -- I can certainly understand your frustration. @wamaina FYI (for escalation, since you're currently on rotation.) @exextoc can you please provide an status update on this issue (including an ETA for resolution, if available)? |
Can we get a status update on the status update? |
@exextoc any update on this issue? It's coming up to a year since opening, and almost 4 months since a status update was asked for. |
Sorry for the enormous delay on this, this is unfortunately not something that our team directly owns, so that's why, mostly, the delay. the fix for the original bug is still pending and might be delayed a bit more. no specific ETA. |
Thank you @JuaneloJuanelo . We have tried that API, and it does fix the issue, but as far as I know 1.8 is still in preview and not GA. Do you have an expected timeline for GA? |
1.8 is GA now! it was announced a couple of weeks ago (@ignite!!) |
Oh great, thank you @JuaneloJuanelo . That workaround is sufficient for us then. |
This issue has been automatically marked as stale because it is marked as needing author feedback but has not had any activity for 4 days. It will be closed if no further activity occurs within 3 days of this comment. Thank you for your interest in Office Add-ins! |
This issue definitely cannot be closed. Although a workaround is present, the original issue still exists, and as far as I know not even the documentation has been changed to indicate the old API doesn't work. |
As pointed out in stackOverflow, but adding this info here just as reference, this is an Outlook bug, exactly the same situation happens when using Outlook manually. This is not in the Office Platform. Given that a. this is not an issue on the Office Platform team and I am closing this issue. |
We have fixed the bug and the fix should be available in build 16.0.12625.10000 or later. Depending on the release channel you are on, getting an updated build can take anywhere from 4-8 weeks. |
Expected Behavior
Office.context.mailbox.item.addFileAttachmentAsync
successfully attaches externally hosted files, for example those located on AWS S3.Current Behavior
Office.context.mailbox.item.addFileAttachmentAsync
has started appending an invalid header which S3 rightfully rejects. The header isAuthorization: Bearer
. I have not indicated that this call should be authenticating, also this is an invalid call as there is of course no token provided.Context
We use S3 to facilitate the uploading of attachment files via the Outlook Add-in. This issue is likely to cause issues for other cloud providers or servers as an invalid header is included. We have an in-production application that is broken in the most recent version of Outlook due to this issue. It works properly in older versions.
https://stackoverflow.com/questions/53586742/addfileattachmentasync-appends-invalid-authorization-header
Your Environment
The text was updated successfully, but these errors were encountered: