'Invalid file type — Only image files are allowed' when dragging a file in

What you are seeing

'Invalid file type. Only image files are allowed' when dragging a file in.


#Why it happens

The file's extension is not on the drag-and-drop accepted list (bmp, gif, ico, jfif, jpeg, jpg, png, svg, tiff, webp, psd, ai, pdf).


#What to do

Convert the file to one of the accepted formats.


#Settings involved

Setting

Where

What it does

Global settings → Capabilities

Confluence admin → Apps → Capable → Settings → Capabilities

-

Global settings → Asset access (Permissi

Capable settings → Asset access

-

Global settings → Egress

Capable settings → Egress

-


#Limits that apply here

Limit

Value

What happens

Upload. Drag and drop accepted extensions.

Bmp, gif, ico, jfif, jpeg, jpg, png, svg

Anything else raises 'Invalid file type. Only image files are allowed'.

General image compression target

5 MB and 2500 px on the longest side

-

Editor / attachment-import fetch ceiling

3 MB

An attachment loaded for editing or importing into the library is capped at 3 MB of raw bytes. Larger files are auto-resized to PNG to fit; only if that still fails does it error 'Image too large for



Found it? Good.