FiveM Troubleshooting
License-key error
Section titled “License-key error”Confirm the key is active, has no spaces or quotes added by accident, and is registered for the correct public address. Generate a replacement in the Cfx.re Portal if the key was exposed.
Resource failed to start
Section titled “Resource failed to start”- Confirm the resource has an
fxmanifest.luaor legacy manifest. - Check that the folder is not nested twice.
- Start required dependencies first.
- Match the resource to your framework and artifact version.
- Read the first script error, including file and line number.
Database connection failed
Section titled “Database connection failed”Check the hostname, port, database name, username, and password independently. Confirm the database library starts before framework resources and that the required schema was imported.
Server does not appear in the list
Section titled “Server does not appear in the list”Direct-connect first. Check sv_hostname, project name, endpoint bindings, and that the server completed startup. Listing can be delayed even while direct connection works.
Client hangs while downloading resources
Section titled “Client hangs while downloading resources”A particular large or malformed resource may be responsible. Inspect the server and client F8 console, remove the latest resource change, and clear the FiveM client cache before retrying.
Artifact update caused errors
Section titled “Artifact update caused errors”Back up before changing artifacts. Update incompatible resources, or temporarily return to the last known-good supported artifact. Do not repeatedly switch versions with players online.
“No such export” or nil-function errors
Section titled ““No such export” or nil-function errors”These usually indicate a missing dependency, wrong resource order, or a script written for another framework/version. Fix the first such error; later errors may be consequences.