Discord Error Codes
Discord problems while gaming are almost always a corrupt install, a stuck update, or a voice-connection (RTC) block — not your account. Here's each common error and message and the fix that clears it.
Error codes
Update Failed (retrying loop)
Discord is stuck cycling 'Update Failed / Retrying'
Cause: A corrupt local Discord build or an antivirus blocking the updater.
- Close Discord fully (Task Manager › end Discord), then delete %AppData%\Discord and %LocalAppData%\Discord.
- Reinstall Discord from discord.com.
- Whitelist Discord's Update.exe in your antivirus.
A JavaScript error occurred in the main process
Discord crashes on launch with a JS error dialog
Cause: Corrupt Discord data or a quarantined file.
- Delete %AppData%\Discord and %LocalAppData%\Discord, then reinstall.
- Whitelist Discord in antivirus and restore any quarantined files.
- Run Discord as administrator once.
Installation has failed
The Discord installer errors out
Cause: A leftover partial install or the installer running from a locked location.
- Delete the Discord folders in %AppData% and %LocalAppData% first.
- Run the installer as administrator.
- Reboot and retry; disable AV during the install.
RTC Connecting / No Route
Voice chat can't connect
Cause: A firewall/VPN block, a wrong voice region, or router QoS blocking Discord's voice servers.
- In Voice & Video settings, disable QoS High Packet Priority.
- Change the server's voice region (or ask the server owner to).
- Disable VPN and allow Discord through the firewall; restart the router.
Screen share / Go Live black screen
Others see a black screen when you stream a game
Cause: GPU hardware acceleration conflicting with the captured game.
- Toggle Hardware Acceleration in Settings › Advanced (off, or on if it was off).
- Run Discord as administrator so it can capture the game.
- Add the game under Registered Games and use window (not full-screen) capture.
Discord won't open / grey screen
Discord launches to a blank grey window
Cause: A corrupt cache or a stuck process.
- End all Discord processes and relaunch.
- Delete the Cache/Code Cache folders in %AppData%\Discord.
- Disable hardware acceleration if it recurs.
Fixes that work for most Discord errors
- Fully quit the client from the system tray (right-click › Exit), then reopen it — a half-loaded client throws most generic errors.
- Restart your PC and router, and on Windows flush DNS (Command Prompt: ipconfig /flushdns).
- Update or reinstall the client to the latest version — many 'connection' or 'version' errors are just an out-of-date client.
- Temporarily disable VPN and add the client as an exception in your antivirus/firewall, then retry.
- Check the service's official status page or its X/Twitter — if the servers are down for maintenance there is no local fix; wait it out.
FAQ
How do I fix the Discord 'Update Failed' loop?
Close Discord completely via Task Manager, then delete the %AppData%\Discord and %LocalAppData%\Discord folders and reinstall Discord from discord.com. Whitelist Discord's Update.exe in your antivirus so the updater isn't blocked. This clears the corrupt-build cause behind almost every update loop.
Why does Discord voice say 'RTC Connecting' and never connect?
Discord can't reach its voice servers, usually a firewall, VPN, or router QoS block. In Voice & Video settings turn off 'Enable Quality of Service High Packet Priority', change the server's voice region, disable any VPN, allow Discord through your firewall, and restart your router.
Other games
- Red Dead Online Error Codes — 0x50000006, 0x50060000, 0x20010006 & Fixes
- Rust Error Codes — EAC Disconnected, Auth Timed Out, Steam Auth & Fixes
- Space Marine 2 Error Codes — 4, 140, 142, CSF, N-2 & Connection Fixes
- Counter-Strike 2 Errors — VAC Unable to Verify, Matchmaking Failed & Fixes
- Dota 2 Errors — Searching for Game Coordinator, Disconnected & Fixes
- Elder Scrolls Online Error Codes — 301, 307, 210, 200 & Connection Fixes
- Fallout 76 Error Codes — 3:0:7, 4:7:0, 4:7:1, 4:8:2009 & Fixes
- Lost Ark Error Codes — 10010, 10027, G0x9-SPELPWP1P2NT & Connection Fixes