The .failed() and .error() methods have been removed.
Attach a file by drag & drop or click to upload