Forgot password
Enter the email address you used when you joined and we'll send you instructions to reset your password.
If you used Apple or Google to create your account, this process will create a password for your existing account.
This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.
Reset password instructions sent. If you have an account with us, you will receive an email within a few minutes.
Something went wrong. Try again or contact support if the problem persists.

Minecraft: How to Fix “Server was shut down due to unhandled scripting watchdog exception” Error

Learn how to troubleshoot the “server was shut down due to unhandled scripting watchdog exception” error in Minecraft.

Minecraft, throughout the years, has become more and more robust as a program. Despite this, the game still sees some errors occasionally, and troubleshooting them can be a pain, depending on the error in question. With the release of version 1.19.20, a few new problems have been introduced to the game. Today, we’ll show you how to fix “server was shut down due to unhandled scripting watchdog exception” error in Minecraft!

Recommended Videos

Troubleshooting Scripting Watchdog Exception Error

As with any Minecraft error, it’s best to first understand why the error occurred before attempting to troubleshoot it, so that you can potentially avoid the problem in the future. For starters, this issue seems to have popped up substantially following the release of version 1.19.20.

With some research, we found out that this error was mostly occurring on the Bedrock Edition, though there were a few cases reported on the Java Edition.

Minecraft version 1.19.20 released last month, and if you read the official blog post about it, you’ll notice that they modified some system events for servers. Specifically, this line:

  • script-watchdog-enable-shutdown– Enables server shutdown in the case of an unhandled watchdog exception (default = true)

The server watchdog basically ensures that the server is running at the proper TPS (Ticks per second), and if anything is interfering with that, it’ll throw out errors.

New to version 1.19.20 is this new system command that shuts the whole server down if it detects watchdog errors. By default, it’s set to true, so if a watchdog exception is detected, the server will shut down, and you’ll get the error.

The error in question.

Related | How to Fix Minecraft Could Not Connect to Outdated Client Error

It’s difficult to pinpoint exactly why all these new watchdog errors are popping up now, but in a lot of the reported cases we found, people had add-ons and mods enabled. If you’re experiencing this issue, the first step you should try is to disable all mods and add-ons, then test the game.

We’re inclined to believe that this might actually be the problem, as many mods were not optimized for the new 1.19.20 update. As such, since there is now a failsafe implemented into the server backend, these mods would eventually crash the server with the failsafe turned on.

If you’re sure that your mod isn’t causing any problems, you can open your server’s configuration file and edit the command listed above. Simply change it from “true” to “false,” and the watchdog will not shut down the server when it detects an error.

Additionally, there have been reports of players playing in single-player worlds experiencing the error, which definitely should not be happening. If this is happening, we recommend reporting the error on the official Mojang Issue Tracker, and disabling any add-ons or mods.

That concludes our Minecraft guide on how to fix “server was shut down due to unhandled scripting watchdog exception” error. Due to the nature of this error, it may require action on Mojang’s part. If you have any other questions, please let us know in the comments below.

Author
Image of Jeremy Kanjanapangka
Jeremy Kanjanapangka
Jeremy is a Content Writer for Touch, Tap, Play, and has been writing in the games journalism industry for almost a decade now. With a degree in English and a passion for games, he loves to talk and write about all kinds of games. While you can find him covering the latest and greatest games, there is a special place in his heart for RPGs, action-adventure games, fighting games, and anything Nintendo related.