“Your EPUB Is Fine. Kobo Disagrees. Blame Adobe.”
Your ePub is fine. Kobo rejects it anyway because of Adobe DRM tooling nobody wants. A valid file fails because a middleman in the stack decided it should. This is the DRM tax. You did everything right and the format still breaks because three companies cannot agree on whose lock wins.