- This article or section documents the current version of Scratch (version 3.0). For this article in Scratch 2.0, see Error (2.0).
- This article is about errors in Scratch 3.0. For other uses, see Error (disambiguation).
An error is a what occurs when a computer runs into a problem and cannot complete the instructions it is given. In Scratch 3.0, an error can occur if a project crashed, failed to load, is used with uncompatible hardware or software, runs into a Script Error, or is overloaded and cannot handle the project it is running. There are also many errors to do with the Scratch Website.
Types of Errors
There are many types of errors that can occur.
Project Crash
- Main article: Making Scratch Crash
If variables and lists get too long, there are too many clones, or the project is doing too many things at once, the project may crash.
Scratch uses Sentry to collect errors automatically. When Sentry sends the detail to the Scratch Team privately, an error code is generated and added to the bottom of the error message, for example, "Your error was tagged with id 81df2c542358573aabf8305dd397f6a8". This changes each time the error is reported, and the ID itself does not give any information without data sent to Sentry.
Loading Error
Sometimes, a project may fail to load. This causes a crash. When Scratch 3.0 was released, there was a bug that caused projects to fail to load. This was fixed a few days later.
Incompatible Software or Hardware
- Main article: System Requirements
Old operating systems, browsers, or system requirements can cause errors because they are incapable of running Scratch. Users who do not have compatible software or hardware to run Scratch 3.0, can try using Scratch 2.0 or Scratch 1.4 instead.
Script Errors
- Main article: Script Error
Scripts can sometimes be made to do impossible things, like dividing by zero or changing the sprite position to a string. When this happens, a script error occurs. Unlike most other errors, they simply skip the block with the error and continue on.
Website Errors
Errors might occur when viewing the Scratch Website. They are shown below by their HTTP status codes.
403
- Main article: 403 Error
The 403 error occurs when a page requested is forbidden.
404
- Main article: 404 Error
The 404 error occurs when a page requested does not exist.
500
- Main article: 500 Error
The 500 error occurs when an internal error occurs, such as the server not responding, overloaded, or the Scratch Team doing tests without Maintenance Mode.
503
- Main article: Maintenance Mode
HTTP 503 (Service Unavailable) is the status code for Maintenance Mode.