Hello.
This error usually means the game cannot reach the BIOS that loads the server list
what you can try:
Go to Xbox Settings - General - Network settings
Run Test network connection and Test multiplayer connection
try using a mobile hotspot or another internet connection, e.g. wired
In Xbox network settings, set DNS manually to: 8.8.8.8 or 8.8.4.4