The path wasn't being taken due to an over-restrictive type check.
Attach a file by drag & drop or click to upload