Some readers see "You cannot view this PDF - you do not have permission to view this attachment"

What you are seeing

Some readers see "You cannot view this PDF - you do not have permission to view this attachment".


#Why it happens

Attachments are fetched as the reader, so Confluence's own permissions apply. The app cannot check permission in advance, so the message only appears after the fetch fails.


#What to do

Grant those readers access to the page and its attachments in Confluence, or move the file to a page they can already see.


#Settings involved

Setting

Where

What it does

PDF Gallery (admin page, standalone app

Confluence admin > Apps > PDF Gallery

-

Unlicensed and anonymous access

Built into the macro registration

-


#Limits that apply here

Limit

Value

What happens

Attachment picker size

250 attachments

The Existing Page Attachment dropdown lists at most the first 250 attachments on the page. There is no search or paging, so a PDF beyond that cannot be picked.

Height dropdown range

1 to the document's page count

If the config panel cannot read the document (bad address, permission failure, upload still in flight), the only selectable height is 1.


#A few things that catch people out

  • The Height dropdown can only offer 1 if the document's page count cannot be read.



Found it? Good.