Error

Minecraft Wiki article. Categories: Upcoming, Java_Edition_upcoming_tag, Gameplay

📌 Mirrored from Minecraft Wiki

This article is reproduced from Error on the Minecraft Wiki. Mirrored from revision 3724018. It is licensed CC BY-NC-SA 3.0 by the Minecraft Wiki contributors — not under the Codex’s CC BY-SA 4.0, and it may not be used commercially. Edits belong upstream, not here.

An error is a piece of text that appears on the screen to alert the player of some form of mistake or complications.

Command errors

Name Meaning Editions
Syntax error: Unexpected ... at ... A command has been misused. Bedrock Edition only
Unknown command. Please check that the command exists and that you have permission to use it. ‌[BE only]
Unknown or incomplete command. See below for error ‌[JE only]
This command does not exist or requires a permission level higher than the player possesses to be used ‌[BE only]. Both
Incorrect argument for command Similar to Syntax Error. Appears if the command was not used correctly. Java Edition only
No targets matched selector A target was not specified, like if you use any commands, but you forgot to use @. Bedrock Edition only
Only one entity is allowed, but the provided selector allows more than one‌[JE only]
Too many targets matched selector‌[BE only]
An attempt to, for example, teleport one entity to multiple. Example: /tp @s @e Bedrock Edition only
That position is not loaded‌[JE only]
Cannot place blocks outside of the world‌[BE only]​[until: JE 1.13]
This chunk is not loaded yet. Both
Players cannot be killed while they are in Creative mode. Players cannot be killed in Creative. Shows "Removed" in Minecraft Education. Bedrock Edition only
You do not have permission to use this command The command requires a higher permission level than the player possesses to be used. Bedrock Edition only

(Java Edition until 1.13)

Monsters cannot be summoned in Peaceful difficulty ‌[JE only]

Unable to summon object‌[BE only]

Players cannot summon hostile mobs in peaceful mode. Both
Failed to place structure The location does not support the structure. Java Edition only
Resource reload failed‌[JE only]
At least one of your resource or behavior packs failed to load.‌[BE only]
Any resource or behavior packs cannot be loaded. Both
<NUMBER> must not be more than <NUMBER>, found <NUMBER>‌[JE only]
The number you have entered (<NUMBER>) is too big, it must be at most <NUMBER>‌[BE only]​[until: JE 1.13]
Displayed when a player attempts to enter a number over a certain limit. Both
<NUMBER> must not be less than <NUMBER>, found <NUMBER>‌[JE only]
The number you have entered (<NUMBER>) is too small, it must be at least <NUMBER>‌[BE only]​[until: JE 1.13]
Displayed when a player attempts to enter a number under a certain limit. Both
Expected integer‌[JE only]
Invalid integer '%s'‌[JE only]
<NUMBER> is not a valid number‌[BE only]​[until: JE 1.13]
The number entered is not a valid value, like a letter in a text. Both
(#) is higher than the maximum level of (#) which is supported for this enchantment‌[JE only]
(enchantment) does not support level (#)‌[BE only]
Using /enchant, the number of the enchantment level is too high and is over the maximum level supported in survival mode. Both

Chat errors

These errors appear in the chat,‌[BE only] or action bar.‌[JE only]

Name Meaning Editions
Unable to open. Loot not generated yet. The player cannot open a chest that has not been opened yet in spectator mode. Java Edition only
You may not rest now; there are monsters nearby‌[JE only]
You may not rest now, there are monsters nearby‌[BE only]
There are monsters near the bed, which prevents sleeping. Both
You may not rest now, the bed is too far away‌[JE only]
Bed is too far away‌[BE only]
You are too far away from the bed to go to bed. Both
You can only sleep at night or during thunderstorms The player cannot sleep during the day, unless there is a thunderstorm. Both
This bed is occupied The player can't sleep, as there is another player in this bed already. Both
No amount of rest can pass this night The players_sleeping_percentage is set higher than 100, which prevents sleeping from passing the night. Both
You have no home bed or charged Respawn Anchor, or it was obstructed‌[JE only]
Your home bed was missing or obstructed‌[BE only]​[until: JE 1.16]
Your respawn anchor was out of charges, missing, or obstructed‌[BE only]
When a bed is destroyed, blocked‌[JE only] or placed in the Nether or End. Both
Height limit for building is (128,256,320) blocks When placing on a block above the height limit. Both
Minimum height limit for building is -64 blocks When placing on a block below the height limit. Bedrock Edition only

Errors in Legacy Console Edition

There are errors that appear in the middle of the screen, similar to death messages.

Name Meaning
You may not rest now, there are monsters nearby There are some monsters too close to the bed.
You can only sleep at night Players cannot sleep during the day.
You can't spawn enemies in Peaceful mode. Players cannot spawn hostile mobs in peaceful mode.
This animal can't enter Love Mode. The maximum number of breeding animals, excluding Wolves, Chickens and Mooshrooms, has been reached. The maximum animals that can breed has been reached (except for Mooshrooms, Chickens, and Wolves).
You may not rest now, the bed is too far away The player is not close enough to the bed.

Error hints

These errors appear in boxes similar to the hints found in the tutorial.

Name Meaning
You cannot leave this area until you have completed the tutorial. The player needs to complete the tutorial in order to get access to the other areas in the tutorial.
You do not have all the ingredients required to make this item. The box on the bottom left shows the ingredients required to craft this. The player needs more materials to make this item.

Sources