Errors & Troubleshooting

Occasionally the editor or app you are using will throw an error. Common errors are listed here with a description of what they mean and what you can do to resolve them.

0kb .HEX file
If your .Hex file appears to compile and download, but results in an empty (0Kb) file it is likely due to lack of storage on your device. If you are downloa...
Tue, 5 Mar, 2019 at 9:14 AM
Program Error: sim error: failed cast on null
Description This error occurs when in the MakeCode editor simulator when it is trying to process the program and there is an error in the code. This is usu...
Thu, 6 Feb, 2020 at 3:37 PM
How to get the current program off the micro:bit
There may be occasions when you want to take a look at the programming that is running on the micro:bit or if you have misplaced the original program. To do...
Thu, 27 Aug, 2020 at 8:16 AM