WELCOME coupon available Use code WELCOME at checkout through July 31, 2026. WELCOME

FiveM Error Codes & Fixes – Mega-Guide

We’ll help you fix FiveM errors – fast. This guide targets Windows 10/11 players and server owners. Expect clear steps to stop crashes, fix connection failures, verify GTA V, and resolve CitizenFX/entitlement issues. Always back up your FiveM data and only download clients.


TL;DR: Quick Fix Table – FiveM Error Codes

Error / MessageSymptomLikely CauseFast FixEst. Time
You lack required entitlementKicks on joinRockstar/launcher not authenticatedSign in launcher → verify license → relaunch FiveM3–6 min
Could not find game executableFiveM can’t locate GTA5.exeWrong path/OneDrive, moved installPoint FiveM to correct GTA V path or reinstall to non‑OneDrive;4–8 min
CitizenFX fatal errorCrash popup before/after loadCorrupted cache/overlay/driverClear cache, disable overlays, update GPU;5–10 min
ERR_GFX_STATECrash during loading/graphicsGPU driver/overlay conflictClean install GPU driver, disable overlays6–12 min
ERR_MEM_EMBEDDEDALLOC_GUARD_1Memory error/crashVRAM pressure, broken modsLower graphics, remove conflicting mods5–10 min
Game cache could not be verifiedLooping verifyCorrupted GTA filesVerify files in Steam/Epic/Rockstar6–15 min
FiveM keeps crashing on startupImmediate crashBad cache/overlay/driverFollow flow 2–55–12 min
Connection failed / handshake failed / timed outCan’t join serverDNS/Winsock/firewall/VPNFlush DNS, reset Winsock, disable VPN4–8 min
Invalid or corrupted cache / ROS offlineStalls or kicksDamaged FiveM cacheClear cache folder2–4 min
Platform mutex / access deniedFiveM won’t startAnother instance/permissionsKill FiveM processes, run as admin2–5 min
Steam/Epic/Rockstar account mismatchJoin failsWrong linked accountSign out all → sign in correct account3–6 min
Failed to fetch server listEmpty browserFirewall/ROS outageCheck Rockstar status, allowlist FiveM2–6 min
Server version mismatchKicked on joinClient/server build mismatchUpdate server artifacts or wait for client3–10 min
DXGI_ERROR_DEVICE_REMOVEDGraphics device lostDriver crash/OCClean driver install, remove OC6–12 min
VCRUNTIME140.dll / MSVCP140.dll missingLaunch errorVC++ runtime not installedInstall x64 VC++ 2015–20223–6 min
Could not load resource (server)Server won’t startBroken resource/dependencyFix manifest/deps5–15 min
Script/mod conflictCrashes in specific serversIncompatible client modsRemove injectors/reShade/scripts3–8 min
GTA V path in OneDriveMissing files / accessSync lock/virtualized pathMove install to C:GamesGTA V6–15 min
Overlay conflict (Discord/RTSS)Crash on load/Alt‑TabOverlay hookingDisable overlays globally2–4 min
Antivirus quarantineExe disappearsAV false positiveRestore/allowlist FiveM/GTA3–6 min
High ping / packet lossRubberband/timeoutsISP/Wi‑Fi/VPNWire in Ethernet, DNS/Winsock reset5–10 min
Voice not working (SaltyChat/Mumble)No voiceDevice/plug‑insSelect correct device, plugin versions3–7 min
Stuck on “Preparing to launch”Never launchesCache/launcherClear cache, restart launcher3–6 min
Out‑of‑date FiveM clientCan’t join updated serversUpdate blocked/corruptReinstall FiveM clean5–8 min

Tip: If multiple errors appear, run the Diagnostic Flow top‑down once before deep dives.


Diagnostic Flow (Start Here)

Follow these steps in order. Stop when the issue / bug is fixed.

  1. Confirm launcher & license
    • Launch Steam/Epic/Rockstar and sign in.
    • Ensure GTA V is owned and Online services are available.
    • Quit and restart FiveM.
  2. Verify GTA V path & permissions
    • Avoid OneDrive/Cloud paths. Recommended: C:GamesGTA V.
    • Run FiveM and your launcher as Administrator (right‑click → Run as administrator).
  3. Clear FiveM cache
    • Close FiveM completely.
    • Press Win+R → paste and open: %localappdata%FiveMFiveM.appdata
    • Delete the cache folder (keep game-storage intact). Optionally clear nui-storage.
  4. Disable overlays & injectors
    • Turn off Discord overlay, GeForce Experience, MSI Afterburner/RivaTuner, ReShade, Overwolf.
  5. Update graphics & DirectX
    • Install latest NVIDIA/AMD drivers (clean install). Reboot.
    • Run dxdiag (Win+R → dxdiag) to confirm DirectX with no errors.
  6. Verify/repair game files
    • Steam: Library → GTA V → Properties → Installed Files → Verify integrity.
    • Epic: Library → GTA V → ⋯ → ManageVerify.
    • Rockstar: Settings → My installed games → GTA V → Verify integrity.
    • Repair Rockstar Games Launcher/Social Club if prompted.
  7. Allowlist in security software
    • Add FiveM.exe and GTA5.exe to Windows Defender/AV exclusions.Path examples are in Logs & Crash Data
  8. Network resets & checks
    • Open CMD as admin and run: ipconfig /flushdns netsh winsock reset netsh int ip reset
    • Reboot. Test without VPN/proxy. Try a mobile hotspot to isolate ISP issues.
  9. If server‑specific
    • Ask if the server is full, whitelisted, or updating.
    • Server admins: verify txAdmin status, artifact build, onesync mode, routing buckets, sv_enforceGameBuild, and licenseKey.
  10. Last resort: clean reinstall
    • Back up FiveM data, then uninstall FiveM & reinstall.
    • If still broken, reinstall GTA V on a clean local path.

Warning: Full reinstalls remove settings and can consume bandwidth. Back up configs and screenshots first.


Common FiveM Error Codes (A→Z)

Use this index to jump to any section quickly for all FiveM error codes.

ErrorAnchor
You lack required entitlement#you-lack-required-entitlement
Could not find game executable#could-not-find-game-executable
CitizenFX fatal error#citizenfx-fatal-error
ERR_GFX_STATE#err_gfx_state
ERR_MEM_EMBEDDEDALLOC_GUARD_1#err_mem_embeddedalloc_guard_1
Game cache could not be verified#game-cache-could-not-be-verified
FiveM keeps crashing on startup#fivem-keeps-crashing-on-startup
Connection failed / handshake failed / timed out#connection-failed–handshake-failed–timed-out
Invalid or corrupted cache / ROS offline#invalid-or-corrupted-cache–ros-offline
Platform mutex / access denied#platform-mutex–access-denied
Steam/Epic/Rockstar account mismatch#steamepicrockstar-account-mismatch
Failed to fetch server list / server version mismatch#failed-to-fetch-server-list–server-version-mismatch
DXGI_ERROR_DEVICE_REMOVED#dxgi_error_device_removed
VCRUNTIME140.dll / MSVCP140.dll missing#vcruntime140dll–msvcp140dll-missing
Could not load resource (server)#could-not-load-resource-server
Script/mod conflict#scriptmod-conflict
GTA V path in OneDrive#gta-v-path-in-onedrive
Overlay conflict#overlay-conflict
Antivirus quarantine#antivirus-quarantine
High ping / packet loss#high-ping–packet-loss
Voice not working (SaltyChat/Mumble)#voice-not-working
Stuck on “Preparing to launch”#stuck-on-preparing-to-launch
Out‑of‑date FiveM client#out-of-date-fivem-client

You lack required entitlement

What it means: Your linked launcher account isn’t providing the GTA V license to FiveM.

Symptoms

  • Kicked on connect with entitlement message.
  • GTA Online works, but FiveM rejects join.

Likely causes

  • Not signed into the correct Steam/Epic/Rockstar account.
  • Launcher offline or license not synchronized.
  • Temporary Rockstar Online Services issue.

Fix (Step‑by‑Step)

  1. Close FiveM.
  2. Open your launcher (Steam/Epic/Rockstar) and sign out, then sign back in to the account that owns GTA V.
  3. Ensure the launcher is Online.
  4. Start GTA V once from the launcher (menu load is enough), then exit.
  5. Launch FiveM as Administrator and connect again.

Notes for Server Admins

  • If multiple users report this simultaneously, wait for ROS to stabilize and announce it in Discord.

Related: You lack required entitlement · Performance & Optimization hub


Could not find game executable

What it means: FiveM can’t find GTA5.exe.

Symptoms

  • Error on launch; FiveM asks for game path repeatedly.

Likely causes

  • GTA V moved, installed to OneDrive path, or drive letter changed.
  • Insufficient permissions.

Fix (Step‑by‑Step)

  1. Open FiveM → when prompted for the path, browse to your GTA V folder, e.g. C:GamesGTA V.
  2. If installed under OneDrive, move GTA V to a local path (not synced) and update the launcher path.
  3. Run FiveM as Administrator.
  4. If still failing, verify GTA V files in your launcher.

Related: Could not find game executable · Performance & Optimization hub


CitizenFX fatal error

What it means: FiveM crashed due to a client component fault (cache, overlay, driver, or corrupted file).

Symptoms

  • Crash window referencing CitizenFX.
  • Often occurs after updates or adding mods.

Likely causes

  • Corrupted FiveM cache.
  • Overlay/injector conflict (Discord, RTSS, ReShade, Overwolf).
  • Outdated or unstable GPU driver.

Fix (Step‑by‑Step)

  1. Follow steps 3–5 in the Diagnostic Flow.
  2. If it persists, delete your FiveM nui-storage (same folder as cache) and reboot.
  3. As a last resort, reinstall FiveM cleanly.

Related: Keeps crashing on startup · Performance & Optimization hub


ERR_GFX_STATE

What it means: Graphics subsystem crashed or reset during initialization.

Symptoms

  • Crash during loading, black screen, or device lost message.

Likely causes

  • Bad/old GPU driver or unstable overclock.
  • Overlay hook conflicts.
  • Corrupted shader cache.

Fix (Step‑by‑Step)

  1. Perform a clean install of your GPU driver (NVIDIA/AMD) and reboot.
  2. Disable all overlays and ReShade.
  3. Delete shader caches: %localappdata%NVIDIAGLCache and %localappdata%D3DSCache (if present).
  4. Lower in‑game graphics and test.

Related: Performance & Optimization hub


ERR_MEM_EMBEDDEDALLOC_GUARD_1

What it means: GTA V ran out of or mismanaged memory during allocation.

Symptoms

  • Crash with memory error, often when joining highly modded servers.

Likely causes

  • VRAM/RAM pressure from high textures or heavy servers.
  • Conflicting client‑side injectors or mods.

Fix (Step‑by‑Step)

  1. Reduce texture/graphics settings.
  2. Close background apps; ensure page file is system‑managed.
  3. Remove client injectors (ReShade, RTSS) and retest.
  4. Clear FiveM cache.

Related: Performance & Optimization hub


Game cache could not be verified

What it means: Your GTA V installation failed integrity checks.

Symptoms

  • Verifying loop or files constantly “re‑download”.

Likely causes

  • Corrupted local files or AV quarantine.
  • Installing under OneDrive/restricted path.

Fix (Step‑by‑Step)

  1. Verify files in your launcher (Steam/Epic/Rockstar).
  2. Temporarily disable AV and run verification again.
  3. Move GTA V to a clean path, e.g. C:GamesGTA V.

Related: Could not find game executable


FiveM keeps crashing on startup

What it means: FiveM fails during early initialization – one of the main FiveM Error Codes.

Symptoms

  • Crash before server list appears.

Likely causes

  • Corrupted FiveM cache.
  • Overlay/injector or bad GPU driver.

Fix (Step‑by‑Step)

  1. Complete steps 3–5 in the Diagnostic Flow.
  2. If still crashing, delete %localappdata%FiveMFiveM.appCitizenFX.ini (if present) and relaunch.
  3. Reinstall FiveM.

Related: Keeps crashing on startup · Performance & Optimization hub


Connection failed / handshake failed / timed out

What it means: Your client didn’t establish or maintain a session with the server.

Symptoms

  • Long “Connecting…” then timeout; kicks with handshake errors.

Likely causes

  • DNS/Winsock issues, VPN/proxy, or firewall rules.
  • Server full, whitelisted, or updating.

Fix (Step‑by‑Step)

  1. Run the Network resets in the Diagnostic Flow step 8.
  2. Turn VPN/proxy off. Test with another network/hotspot.
  3. Add FiveM.exe to firewall allowlist. Reboot router if possible.

Notes for Server Admins

  • Check txAdmin console for connect errors, sv_maxClients, and routing buckets.

Related: Performance & Optimization hub · FiveM Scripts category


Invalid or corrupted cache / ROS offline

What it means: Cached files in FiveM are unusable, or Rockstar services are temporarily unavailable.

Symptoms

  • Infinite load, frequent retries, or offline errors.

Likely causes

  • Damaged cache; temporary ROS outage.

Fix (Step‑by‑Step)

  1. Close FiveM.
  2. Open: %localappdata%FiveMFiveM.appdata
  3. Delete the cache folder; restart FiveM.
  4. If many users report issues simultaneously, wait for ROS to recover.

Related: You lack required entitlement


Platform mutex / access denied

What it means: FiveM detects an existing lock or lacks permission to start.

Symptoms

  • Errors mentioning mutex/handle; FiveM won’t open.

Likely causes

  • Another FiveM instance is running.
  • Security software blocking access.

Fix (Step‑by‑Step)

  1. Open Task ManagerDetails → end any FiveM.exe processes.
  2. Run FiveM as Administrator.
  3. Add FiveM to Defender/AV exclusions.

Related: Performance & Optimization hub


Steam/Epic/Rockstar account mismatch

What it means: The account your launcher uses doesn’t match the one FiveM expects.

Symptoms

  • Immediate denial on join; mismatch/kick message.

Likely causes

  • Multiple accounts; family sharing; recently changed login.

Fix (Step‑by‑Step)

  1. Sign out of all launchers.
  2. Sign back into the account that owns GTA V.
  3. Launch GTA V once; then try FiveM.

Related: You lack required entitlement


Failed to fetch server list / server version mismatch

What it means: FiveM can’t download lists or your client/server builds don’t align.

Symptoms

  • Empty server browser or immediate version kick.

Likely causes

  • Firewall/AV blocking FiveM network calls; ROS issues.
  • Server uses a newer/older artifact than your client supports.

Fix (Step‑by‑Step)

  1. Allowlist FiveM in firewall/AV.
  2. Try again after a few minutes in case of upstream outages.
  3. Server admins: update to a stable artifact and ensure sv_enforceGameBuild matches target build.

Related: Performance & Optimization hub · FiveM Free Scripts


DXGI_ERROR_DEVICE_REMOVED

What it means: Windows reported the graphics device was removed/reset during rendering.

Symptoms

  • Sudden crash, often with overclocked GPUs.

Likely causes

  • Driver crash, unstable OC, power limits.

Fix (Step‑by‑Step)

  1. Remove GPU overclocks/undervolts.
  2. Perform a clean driver install. Reboot.
  3. Lower graphics and test.

Related: Performance & Optimization hub


VCRUNTIME140.dll / MSVCP140.dll missing

What it means: Microsoft Visual C++ runtime is not present or corrupted.

Symptoms

  • DLL missing error on launch.

Likely causes

  • VC++ redistributables not installed.

Fix (Step‑by‑Step)

  1. Install Microsoft Visual C++ 2015–2022 Redistributable (x64).
  2. Reboot and relaunch FiveM.

Related: Keeps crashing on startup


Could not load resource (server)

What it means: A server resource failed to load due to missing files or dependency order.

Symptoms

  • Server won’t start; console shows resource errors.

Likely causes

  • Missing dependency or wrong load order.
  • Invalid fxmanifest.lua.

Fix (Step‑by‑Step)

  1. Check txAdmin console for the first failing resource.
  2. Ensure dependencies are started before dependents in server.cfg.
  3. Validate fxmanifest.lua (game/build, dependencies, client/server scripts).
  4. Update to a stable artifact.

Notes for Server Admins

  • Keep a staging profile to test updates before production.

Related: FiveM Scripts category


Script/mod conflict

What it means: Client‑side injectors or mods clash with FiveM.

Symptoms

  • Crashes only on certain servers or after adding a mod/reshade.

Likely causes

  • ReShade/RTSS/Overwolf; outdated script packs.

Fix (Step‑by‑Step)

  1. Remove all client injectors (ReShade, RTSS, overlays).
  2. Clear FiveM cache and test.

Related: Performance & Optimization hub


GTA V path in OneDrive

What it means: Files are synced/locked by OneDrive causing access issues.

Symptoms

  • Verify loops; missing executable; odd permissions.

Likely causes

  • Install directory under %userprofile%OneDrive.

Fix (Step‑by‑Step)

  1. Move GTA V to a local, unsynced path like C:GamesGTA V.
  2. Update the launcher to point to the new path.

Related: Could not find game executable


Overlay conflict

What it means: Overlays hook into DirectX and can crash the client.

Symptoms

  • Crash on load or after Alt‑Tab; black screen.

Likely causes

  • Discord, GeForce Experience, MSI Afterburner/RTSS.

Fix (Step‑by‑Step)

  1. Disable overlays globally.
  2. Reboot the PC and test FiveM.

Related: Performance & Optimization hub


Antivirus quarantine

What it means: Security tools removed/blocked game/client files.

Symptoms

  • Missing executables; blocked network calls.

Likely causes

  • False positives from Defender/AV.

Fix (Step‑by‑Step)

  1. Restore quarantined files.
  2. Add exclusions for FiveM/GTA V folders.

Related: Keeps crashing on startup


High ping / packet loss

What it means: Your network path is unstable.

Symptoms

  • Rubber‑banding, delayed voice, timeouts.

Likely causes

  • Wi‑Fi congestion, bad DNS, VPN, or ISP issues.

Fix (Step‑by‑Step)

  1. Use Ethernet if possible.
  2. Run the network commands in the Diagnostic Flow.
  3. Test a different DNS or network.

Notes for Server Admins

  • Avoid excessive entity counts and aggressive tick settings.

Related: Performance & Optimization hub


Voice not working (SaltyChat/Mumble)

What it means: Voice plugin/device mismatch or blocked audio path.

Symptoms

  • You can’t hear or be heard.

Likely causes

  • Wrong default device; mismatched plugin version; overlay conflicts.

Fix (Step‑by‑Step)

  1. Set correct Default input/output in Windows Sound settings.
  2. Ensure voice plugin matches server version (SaltyChat/Mumble/pma‑voice).
  3. Disable overlays; restart FiveM.

Related: FiveM Scripts category


Stuck on “Preparing to launch”

What it means: FiveM initialization stuck due to cache or launcher state.

Symptoms

  • Infinite “preparing” message.

Likely causes

  • Corrupted cache; launcher offline.

Fix (Step‑by‑Step)

  1. Clear cache as per the Diagnostic Flow.
  2. Restart the launcher signed in and online.

Related: Keeps crashing on startup


Out‑of‑date FiveM client

What it means: Your client is behind server expectations. How to update FiveM

Symptoms

  • Version kick; servers won’t list.

Likely causes

  • Interrupted update; corrupted files.

Fix (Step‑by‑Step)

  1. Close FiveM; delete the cache folder.
  2. Relaunch FiveM to auto‑update. If it fails, reinstall FiveM.

Networking & Voice Edge Cases

  • NAT & Ports (players): Typically no manual port‑forwarding is required, but strict NATs can cause timeouts. Prefer wired connections and avoid double‑NAT.
  • Firewall: Ensure FiveM.exe and GTA5.exe are allowed for Private and Public networks in Windows Defender Firewall.
  • VPN/Proxy: Disable while testing—can break handshake and voice routing.
  • Voice frameworks: Servers may use Mumble, pma‑voice, or SaltyChat. Match plugin versions and use the same default audio device FiveM uses. Overlays can interfere—disable them.

Where to Find Logs & Crash Data

Client (Windows)

  • CitizenFX logs: %localappdata%FiveMFiveM.applogsCitizenFX.log.*
  • Crash dumps: %localappdata%FiveMFiveM.appcrashes
  • FiveM cache (for clearing): %localappdata%FiveMFiveM.appdatacache
  • Rockstar Games Launcher logs: %localappdata%Rockstar GamesLauncherlogs
  • Windows Event Viewer: eventvwr.mscWindows LogsApplication.

Server (txAdmin)

  • Live console & history: txAdmin web → FXServer/Console.
  • Logs & profiles: check your server’s server-data/txData/ profile for logs and backups; also inspect logs/ in the root if configured.

When asking for help, include: the latest CitizenFX.log, a concise problem description, steps already tried, and any txAdmin logs or server console excerpts.


Prevent Recurrence: Pro Tips

  • Driver hygiene: Update GPU drivers only when needed; prefer clean installs.
  • Overlay policy: Keep overlays off for FiveM/GTA unless required.
  • Stable artifacts: Server owners: pin a known‑stable artifact; test updates on staging.
  • Sane server.cfg: Avoid excessive entity counts; choose sensible sync/routing settings.
  • Verified scripts only: Use trusted sources; audit dependencies before deployment.
  • Backups: Keep periodic backups of server-data and txAdmin profiles.

Internal Resources & Next Steps


FAQ

Is FiveM crashing after a recent update?
Yes—clear the cache, disable overlays, and reinstall the GPU driver cleanly. If it started after server changes, the server may be on a newer artifact.

Will verifying GTA V delete mods?
Verification restores official files. FiveM doesn’t need single‑player mod files; server mods live on the server.

Is FiveM safe or bannable?
FiveM is separate from GTA Online. Don’t use injectors/cheats. Stick to trusted sources for scripts and the official client.

Where is the FiveM cache folder?
%localappdata%FiveMFiveM.appdatacache.

How do I fix “connection failed/handshake failed”?
Run ipconfig /flushdns, netsh winsock reset, and disable VPN/proxy. See the Connection failed section.

Why do I get “You lack required entitlement”?
You’re not signed into the launcher account that owns GTA V. Sign out/in, launch GTA V once, then open FiveM.

How do I stop FiveM from crashing on startup?
Clear cache, disable overlays, and update your GPU driver. If needed, reinstall FiveM.

Can OneDrive break my GTA V install?
Yes. Avoid installing under OneDrive‑synced folders to prevent lock/sync issues.

Do overlays really cause crashes?
Often. Discord/RTSS/GeForce overlays hook into DirectX and can trigger crashes. Keep them off.

Where can I see txAdmin logs?
In txAdmin’s web UI (Console/FXServer). Also review server-data/txData/ for logs and backups.

Does FiveM need port forwarding?
Players: usually no. Servers: yes—follow the server setup guide for FXServer/txAdmin.

Why do I get “VCRUNTIME140.dll missing”?
Install Microsoft VC++ 2015–2022 (x64) runtime and reboot.

How do I check if Rockstar services are down?
If many players hit entitlement/list issues at once, it’s likely a temporary ROS outage—try later.

Which voice plugin do I need?
Use the one your server lists (Mumble, pma‑voice, or SaltyChat) and match versions.


Changelog & Credits

Last updated: 2025-09-05

VersionDateChanges
1.02025-09-05Initial 2025 mega‑guide with diagnostic flow, A→Z fixes, networking/voice, logs, FAQ, and internal resources.

Credits (sources used):

Luke
Luke

I'm Luke, I am a gamer and love to write about FiveM, GTA, and roleplay. I run a roleplay community and have about 10 years of experience in administering servers.

Articles: 436