Viewfile Macro is Unable to Locate the Attachment

Still need help?

The Atlassian Community is here for you.

Ask the community

Symptoms

When viewing a {viewfile} (including {viewdoc}, {viewxls}, {viewppt} and {viewpdf}) macro, Confluence displays this error message on the page:

The viewfile macro is unable to locate the attachment "test.doc" on the page "Test Page" in space "Test Space"

Cause

Confluence is unable to find attachment specified in the macro.

Resolution

  1. Verify that the attachment exists in the specified page and space
  2. Verify that the attachment name is matching
  3. Verify that the attachment extension is included e.g. .doc, .ppt or .pdf
  4. Verify if the attachment name has any special characters



Last modified on Nov 28, 2022

Was this helpful?

Yes
No
Provide feedback about this article
Powered by Confluence and Scroll Viewport.