Why your console shows "Server list query returned an error"
Right after you start or restart a FiveM server, the console may show a line like this:
Code
This is usually harmless. Your server is running, players can join with the address on the External Access page, and the message stops on its own after a few minutes.
What is happening
FiveM keeps a public server list. When your server starts, it announces itself to that list, and the list then contacts your server regularly to check it is still online and to read its details (player count, name and so on).
The list keeps track of servers by their license key. If the same license key was used somewhere else before (for example, you moved the server from another host or set it up again), the list may keep contacting the old address for a while before it catches up with the new one. Those attempts fail, the list reports the failure back to your server, and FiveM writes this message in the console.
What the platform already does
Every time your server starts, the platform updates your server.cfg with the port and public IP address your server really has. It removes any old endpoint_add_tcp, endpoint_add_udp and set sv_listingIpOverride lines and writes fresh ones at the top.
So your server tells the list the right address. The temporary error comes from the server list catching up, not from your settings. More about these lines is in Recommended FiveM server.cfg settings.
When it goes away
The server list updates its information after a few successful check-ins from your server. Usually the message is gone within a few minutes. After a move to a new host it can take a bit longer.
You do not need to restart, change server.cfg or contact support in that time. Players who join with the address from the External Access page are not affected.
If you have set sv_listingHostOverride yourself and the message names that address, check the address first: see Show your domain in the FiveM server list.
When to contact support
Contact support if:
- the message keeps coming back more than 30 minutes after a start, or
- players cannot join with the address from the External Access page.
Send the whole console line and the link to your server's page in the dashboard, so we can check the connection on our side.
