1. Home
  2. Discord
  3. Error codes
  4. JavaScript error

Error codeDiscordDesktop app (the steps given are for Windows)

Discord: "JavaScript error"

JavaScript error when launching Discord

A JavaScript error message appears when you try to start the Discord app. Discord's fix is to wipe the app's local data folders and reinstall.

Is Discord down right now? Operational: 18 problem reports in the last hour. If it were down for everyone, this error could come from there; right now it looks normal.
Fix it

How to fix "JavaScript error"

  1. Press Windows key + R, type %appdata% and delete the Discord folder.

  2. Press Windows key + R again, type %LocalAppData% and delete the Discord folder there too.

  3. Reinstall Discord.

  4. If the error comes back, contact Discord support at dis.gd/contact.

From Discord's help pages: support.discord.com, in our words. Checked on 5 November 2026. If the steps do not help, Discord's own support is the next stop.

More

More Discord error codes

All Discord error codesLive Discord status