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.

Fix:
  1. Close Discord fully (Task Manager › end Discord), then delete %AppData%\Discord and %LocalAppData%\Discord.
  2. Reinstall Discord from discord.com.
  3. 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.

Fix:
  1. Delete %AppData%\Discord and %LocalAppData%\Discord, then reinstall.
  2. Whitelist Discord in antivirus and restore any quarantined files.
  3. 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.

Fix:
  1. Delete the Discord folders in %AppData% and %LocalAppData% first.
  2. Run the installer as administrator.
  3. 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.

Fix:
  1. In Voice & Video settings, disable QoS High Packet Priority.
  2. Change the server's voice region (or ask the server owner to).
  3. 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.

Fix:
  1. Toggle Hardware Acceleration in Settings › Advanced (off, or on if it was off).
  2. Run Discord as administrator so it can capture the game.
  3. 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.

Fix:
  1. End all Discord processes and relaunch.
  2. Delete the Cache/Code Cache folders in %AppData%\Discord.
  3. Disable hardware acceleration if it recurs.

Fixes that work for most Discord errors

  1. Fully quit the client from the system tray (right-click › Exit), then reopen it — a half-loaded client throws most generic errors.
  2. Restart your PC and router, and on Windows flush DNS (Command Prompt: ipconfig /flushdns).
  3. Update or reinstall the client to the latest version — many 'connection' or 'version' errors are just an out-of-date client.
  4. Temporarily disable VPN and add the client as an exception in your antivirus/firewall, then retry.
  5. 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