Cannot load configuration and YAML errors
Troubleshooting config reading errors: tabs, wrong indentation, colons, and special characters, and finding the line from the message.
Updated August 13, 2026
Cannot load configuration from file
while scanning a simple key
in 'reader', line 42, column 3
could not find expected ':'
Broken YAML. The server names the line — start there.
Five causes
- Tabs. Not allowed in YAML. Replace them with spaces.
- Wrong indentation. The line is shifted to the wrong level.
- No space after the colon:
key:valueinstead ofkey: value. - Special character without quotes: a value containing
:,#,%,&or starting with a digit must be wrapped in quotes. - Unclosed quote — the error then points to a line much lower than the real one.
Quick fix
- Open the file with the form in the panel editor: it won't let you break the structure — Server files.
- Or check the text in any online YAML validator.
- Or restore the config from a backup and make the edit again, one line at a time.
Encoding
If the error comes with unreadable characters, the file wasn't saved in UTF-8 — Plugin localization.
Resetting the config
A deleted config will be recreated by the plugin on the next start with default values. This is a quick way to get back to a working state, at the cost of your settings — keep the old file nearby.
More details — Plugin configs.
Minecraft hostingYour server runs while you are offlineCreate server
