For this particular case of document generation, we are in the process of uploading so if this generation fails, uploading fails. Therefore, in my opinion, yes, it should be an upload failure.