downgrade 500 on bad attachment name to a 404