raise UploadException instead of verifying is not None