You’re hitting that error because Isaac Sim 4.2 was distributed through the Omniverse Launcher, which has now been deprecated and is no longer supported for new installs.
Please upgrade to the latest Isaac Sim release (5.1.0) using the current installation paths (NGC containers, GitHub samples/templates, and the NVIDIA documentation) as outlined in this Omniverse Launcher update notice: