Propagate error codes from persist_metadata() callback
Attach a file by drag & drop or click to upload