Fix FiveM "Couldn't load resource" / Failed to Start
Couldn't load resourcefailed to start resourcecitizen:/scriptingA FiveM resource that won't start almost always points to a manifest problem, a missing dependency or a script error. Here's how to read the txAdmin/console output and fix each cause.
The line right after "Couldn't load resource
Cause 1: fxmanifest.lua errors
Modern resources need an fxmanifest.lua (old ones used __resource.lua). A missing fx_version/game line, or a file listed in client_script/server_script that doesn't exist, stops the resource loading. A minimal valid manifest looks like:
fx_version 'cerulean'
game 'gta5'
client_script 'client.lua'
server_script 'server.lua'
shared_script 'config.lua'
Cause 2: a missing dependency
Many scripts depend on a framework (es_extended, qb-core) or a library (oxmysql, ox_lib). The dependency must start before the script. Add it to the manifest and make sure it's started first in your server.cfg:
# server.cfg — start order matters
ensure oxmysql
ensure es_extended
ensure my_resource
Cause 3: database not connected
If a resource uses MySQL and the connection string is wrong, it fails on start. Check the mysql_connection_string convar in server.cfg points to a database that exists:
set mysql_connection_string "mysql://user:password@127.0.0.1/database?charset=utf8mb4"
Cause 4: a script (Lua/JS) error
A syntax error or a runtime error in the resource's own code will stop it. The console prints the file and line — open it, fix the error, and restart the resource with restart my_resource from the console.
The clean checklist
- Read the exact error under "Couldn't load resource".
- Validate
fxmanifest.lua(fx_version, game, real file paths). - Start dependencies (framework, oxmysql) before the resource.
- Verify the MySQL connection string and that the DB exists.
- Fix any Lua/JS error on the file:line the console reports.
- Restart and watch the console for a clean start.
On FiveM, start order is everything: libraries and frameworks must be ensured before the scripts that use them.
FiveM is a Cfx.re / Rockstar Games project. Grand Theft Auto V is a trademark of Rockstar Games / Take-Two Interactive. ESAGAMES is an independent hosting provider, not affiliated with or endorsed by Rockstar Games, Take-Two or Cfx.re. You must own a legitimate copy of the game.
Host FiveM the easy way
Our FiveM hosting ships txAdmin, MySQL and ESX/QBCore-ready setups on high-clock CPUs behind multi-Tbps Anti-DDoS.
Frequently asked questions
Why does my FiveM server get stuck on the loading screen?
Usually a resource error during start, a missing framework dependency, or a bad streamed asset. Check the server console for the first resource that fails — it's often the culprit blocking the rest.
What is the difference between fxmanifest.lua and __resource.lua?
fxmanifest.lua is the current manifest format; __resource.lua is the legacy one. New resources should use fxmanifest.lua with an fx_version line.
Do I need a legitimate copy of GTA V?
Yes. You and every player need a legal copy of Grand Theft Auto V on a Rockstar/Steam/Epic account to join a FiveM server.
Related articles
Fix AMX Mod X "Couldn't load library" / Plugin Failed in CS 1.6
AMXX plugin stuck on "bad load", "couldn't load library" or "failed"? The real causes and the exact fix.
Read fix Game ServersFix Rust Oxide / uMod Plugins Not Loading
Oxide/uMod plugins not loading after a Rust update? The usual causes and the quick fix.
Read fix Game ServersHow to Read a Minecraft Server Crash Report (and Fix It)
How to read a Minecraft crash report, find the mod/plugin at fault, and fix the most common crashes.
Read fix