Confluence preview of PDF files shows error 'Please wait... If this message is not eventually replaced by the proper contents of the document'
Platform notice: Server and Data Center only. This article only applies to Atlassian products on the Server and Data Center platforms.
Support for Server* products ended on February 15th 2024. If you are running a Server product, you can visit the Atlassian Server end of support announcement to review your migration options.
*Except Fisheye and Crucible
Summary
Confluence preview of PDF files show 'Please wait... If this message is not eventually replaced by the proper contents of the document'
Cause
Certain PDF files (dynamic XFA forms) created in Adobe LiveCycle can only be opened in Adobe Reader and Adobe Acrobat. When you try to open these files in an alternative PDF viewer, then you will see this error message.
See Display issues for XFA-based PDF forms and policy-protected documents from Adobe for more information
Workaround
Download the PDF attachment and open in Adobe Reader/Acrobat