License key missing or rejected
Every FiveM server needs a valid Cfx.re license key in server.cfg before it will start.
The error
No license key was specified / Server license key authentication failedWhy it happens
sv_licenseKeyis missing fromserver.cfg, or the file you edit is not the one the server loads.- The key was copied with extra spaces or without quotes.
- The key was regenerated or revoked on the Cfx.re portal.
How to fix it
- Sign in to the Cfx.re portal and create or copy a server key.
- Add it to
server.cfg:
Config
sv_licenseKey "cfxk_xxxxxxxxxxxxxxxxxxxx_xxxxxx"
- If you use txAdmin, check which
server.cfgit points to under Settings. - Never share the key publicly. If it leaked, regenerate it on the portal.