Return proper error codes and print more descriptive error messages.
Attach a file by drag & drop or click to upload