Dont worry, this error is not impossible to get rid of.
As long as you try the solutions mentioned in this guide, your problems will be fixed easily.
How to Fix Modern Warfare Dev error 1202 Windows 10/11?

If you own a full game, you are not supposed to host the lobby.
In this condition, you’re free to join the game that is hosted by a free player.
Let the free player in your team host the game and then send you an invitation.

Join the game via the invitation.
Fix 2: Update the Game
Another culprit of Dev error 1202 is outdated game installation.
Due to potential incompatibilities, the operating system will block the execution of the essential game modules.
Therefore, wise to update the game to the latest build.
LaunchBattle.netand find Call of Duty Modern Warfare/Warzone in the game library.
Press thegearicon to openOptionsand hitCheck for Updatesin the drop-down menu.
In this condition, you’re able to choose to roll back the graphics driver.
PressWin+Xaltogether to launch the quick menu and hitDevice Manager.
ExpandDisplay adaptersand then it’s possible for you to see your graphics card.
Right-hit it to selectProperties.
In theDrivertab, hitRoll Back Driver.
After the rollback is done, reboot your box.
In this condition, launching the game in DirectX 11 mode might help you out.
LaunchBattle.netand selectCOD Modern WarfareorWarzone.
InGame prefs, tickAdditional command line argumentsand then punch in-d3d11in the box.
HitDoneto save the changes.
The game installation might be corrupted due to some reason.
You should notice that this method is time-consuming but effective.
To do so:
Step 1.
Open theBattle.netlauncher and snag the game from the game list.
Go toOptions>Uninstall Game.