Viewer.html downloaded instead of an attachment

Platform Notice: Cloud and Data Center - This article applies equally to both cloud 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

Cause

Browser extensions can cause problems with Confluence JS. We have a record that the google docs offline extension caused this problem.

Usual steps to reproduce are:

  1. Click link to document

  2. Preview Appears

  3. Click download

  4. A "viewer.html" file is downloaded instead of the document.

Resolution

Use Incognito Mode to disable the extensions. Find the problematic browser extension and remove/disable it.

Updated on April 8, 2025

Still need help?

The Atlassian Community is here for you.