Copping an error code mid-way through a multiplayer match in Call of Duty is never fun, especially when you’re on a massive streak. Sometimes it’s something you can fix, but others pop up out of nowhere and there’s nothing you can do.
Dev Error 5820, for the most part, won’t just be happening to you as it’s a problem associated with the CoD servers as a whole. That said, there might actually be a way for you to fix it if you find it happening constantly.