Check the Xbox Live server status page at xbox.com/status. If you see limited services or outages in your region, that could be related to Dev Error 5513. Stable internet is required to play Warzone.