FiveM 'Couldn't load resource' / Missing fxmanifest.lua – Fix
The error
Couldn't load resource my-resource: Could not open resource metadata file
What it means
FiveM can't find a valid fxmanifest.lua (or legacy __resource.lua) at the top of the resource folder. Common causes: the zip extracted into a nested folder (my-resource/my-resource/), the manifest is named wrongly, or a listed file path doesn't exist.
The fix
-- resources/[local]/my-resource/fxmanifest.lua
fx_version 'cerulean'
game 'gta5'
lua54 'yes'
shared_script 'config.lua'
client_script 'client/main.lua'
server_script 'server/main.lua'Check the folder name matches what you ensure in server.cfg, that the manifest sits directly inside it, and every listed file exists with the same case.
Related tools: FiveM script generator · Fix a FiveM Lua error · all script generators