The issue at hand is in fact an error on import, and more specific exceptions are nicer to work with.
Attach a file by drag & drop or click to upload