Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

Binary attachment downloads corrupted in Forge Confluence app, non-UTF8 files

Sunkara Sudheer
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
October 9, 2025

While developing a Forge app to support Confluence Cloud OAuth 2.0, we encountered an issue where downloading attachments with certain file extensions (DOC, PDF, PPTX) results in corrupted files. We have tried multiple encoding methods (binary, UTF-8, and Base64) when returning the content, but none work correctly for these file types. However, attachments with extensions such as TXT, HTML and CSV download without any issue. This is currently blocking our ability to fully support all attachment types in our Forge app. We have searched extensively through Atlassian documentation and community forums but have found limited information.

Questions & Request for Assistance

  1. Is this a known limitation / bug in Forge Confluence Cloud ?

  2. Are there any recommended best practices or patterns for reliably streaming binary attachments (DOCX, PDF, PPTX) in Forge / Confluence apps, without corruption?

  3. Could you escalate this to the engineering team for investigation (if not already known)?

Thank you very much for your time and assistance. If you need any additional diagnostic data, logs, code blocks or sample files, we'd be happy to provide them.

0 answers

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
STANDARD
TAGS
AUG Leaders

Atlassian Community Events