Error lookup
Paste a message from the server console, a log file, or the game, and see what it means and how to fix it.
Most messages here were produced by BDS 1.26.66.1 in this wiki's own tests. Others come from the program or documentation, and say so.
All known messages
Every message the lookup knows about, by area.
Startup and settings
| Message | What to do |
|---|---|
Using an allowlist without online authentication can be dangerous and is not allowed.Server will not run | allow-list=true and online-mode=false. The server exits with code 2. Set online-mode=true (recommended). More |
persistent-ticking-area-max-count is unlimited. This can significantly affect server performance and memory use.Warning | A ticking-area limit is set to unlimited. Use a number unless you really need more areas. More |
Unknown server-authoritative-entity-attack-request-validation value '…'. Expected disabled, observe, or enforce. Using the default.Warning | A typo in an attack-validation setting. The server ignores it and uses disabled. Use exactly disabled, observe, or enforce, in lower case. More |
server-authoritative-entity-attack-range-tolerance=… materially increases accepted targeted-actor range.Warning | The extra reach allowed for attacks is large, which helps reach cheats. Lower server-authoritative-entity-attack-range-tolerance. The default is 0.5. More |
Content logging to console is disabled. Enable it with content-log-console-output-enabled=true in server.propertiesWarning | Pack and script errors are hidden from the console. Harmless. Set content-log-console-output-enabled=true while setting up packs or scripts. More |
Profiler stopped. Failed to save profile.Warning | script profiler stop had nothing to save, usually because no scripts were running. Run a world with a script pack, then start and stop the profiler again. More |
./bedrock_server: error while loading shared libraries: … cannot open shared object fileServer will not run | Linux cannot find a library. Either the server folder is not on the library path, or the system is missing a package. Start it with LD_LIBRARY_PATH=. ./bedrock_server from the server folder. More |
Pack optimizer exits with code 7Server will not run | The optimizer config could not be read, its input folder is missing, or a value has the wrong type (such as "true" in quotes). Check the paths exist and use forward slashes. More |
Server Identity
| Message | What to do |
|---|---|
Invalid server identity key file 'keys/server_identity_key.pem'.Server will not run | The key file is damaged or uses the wrong kind of key (for example P-256). The server exits with code 2. Restore the key from your backup. More |
No saved server identity key exists at …Warning | The identity is temporary and changes at every restart, so players see "Trust this server?" again. Run serveridentity save in the console. More |
Saved server identity key to … / A saved server identity key exists at …Normal | Your identity is kept across restarts. Nothing to do. Keep a private backup of keys/. More |
Deleted server identity key at …Warning | The saved key is gone, but the running server keeps using it until restart. Restart, then run serveridentity save. Saving before restarting saves the same key again. More |
Failed to save server identity key to … / Unable to create server identity key directory …Error | The server cannot write to its folder. Check the account running BDS can write to the server folder. More |
Allowlist, operators, and commands
| Message | What to do |
|---|---|
Allow list is enabled but contains no entries.Warning | Nobody can join yet. The allowlist is on by default. Run allowlist add "Your Gamertag" in the console. More |
Incorrect permission level for command: …Error | config/commands.json blocks this command for you. "internal" blocks the console too. The name shown is the main command name. Lower the level for that command in config/commands.json. More |
Failed to parse JSON in file 'config/commands.json'Error | commands.json has broken JSON or an unknown level name. The whole file is ignored. Check quotes and commas. More |
Unknown command: …. Please check that the command exists and that you have permission to use it.Error | The command does not exist in this version, or cheats are off. A common one: permissions should be permission. Run help to see what your server accepts. More |
Syntax error: Unexpected "…": at "… >>…<<"Error | An argument is wrong or missing. The part between >> << is where it went wrong. Old guides list subcommands that no longer exist, such as script watchdog exportstats. Check the command on the syntax page. More |
No targets matched selectorError | The player is not online, or the name is misspelled. op and similar commands need the player online. Wait for the player to join, then try again. More |
Network and transport
| Message | What to do |
|---|---|
Your current connection type is not set to NetherNet. In this release, NetherNet is the only supported transport type.Server will not run | transport=raknet. The server starts but players cannot connect. Set transport=nethernet and restart. More |
Unknown Transport Layer Type …, expected one of [ 'raknet', 'nethernet-websocket' ]Error | The transport value is misspelled. Set transport=nethernet. More |
server-udp-ports: entry '…' has mismatched range lengths.Error | The public and local ranges are different sizes. The server still starts, but players may not connect. Make both ranges the same size, for example 21200-21300:19400-19500. More |
server-udp-ports: Invalid Port. Port must be in the range [ 1, 65535 ]Error | server-udp-ports contains text or a number out of range. The server still starts. Use a port such as 19132, or see the syntax page. More |
Missing SDP offer in request bodyNormal | Something sent an empty request to the signaling port. A browser or port checker can cause this. Nothing to do. It means the TCP port is reachable. More |
Packs and system packs
| Message | What to do |
|---|---|
Configured pack (id: …, version: …) was not found and was ignoredError | world_behavior_packs.json or world_resource_packs.json names an ID or version that no installed pack has. Copy the header uuid and version from the pack's manifest.json exactly. More |
The following issues were found when loading packs … Missing '/header' element in pack manifest.Error | A pack's manifest.json is broken or not valid JSON. Open the manifest.json named under the message and fix the JSON. More |
System packs contain errors, please check the server logs for details. Closing server.Server will not run | A pack in system_behavior_packs or system_resource_packs failed. The server exits with code 0, so automatic restarts may not trigger. Read the lines just above for the pack and error. More |
Scripts
| Message | What to do |
|---|---|
InternalWebSocketError: Internal Web Socket error occurred with message '0x80072efd'Error | A script could not reach its WebSocket server. 0x80072efd means the connection was refused or nothing was listening. Check the address and that the other server is running. More |
requesting dependency on beta APIs [...], but the Beta APIs experiment is not enabled.Error | The pack uses beta modules but the world does not have Beta APIs on. Turn on Beta APIs when creating the world in the game, then copy the world to the server. More |
requesting dependency on module [...] but it is not configured to use it.Error | The module is not allowed for this script. server-net and diagnostics are not allowed by default. Create config/<script-module-uuid>/permissions.json listing every module the script uses. More |
ReferenceError: Import [...] not found.Error | A script imports a file or module that does not exist. Check the file name and folder, including capitals. More |
Plugin [...] - [main.js] ran with error: [...]Error | The script threw an error while loading. The text after "ran with error" is the cause. Fix the error in the script, then run reload. More |
UriNotAllowedError: Request URI is not permitted by configuration.Error | The address is not in allowed_uris for this script. Add the address to allowed_uris in the script's permissions.json, then reloadconfig. More |
TLSOnlyError: HTTPS is required for HTTP requests and WSS is required for Web Sockets.Error | force_tls is on and the script used http:// or ws://. Use https:// or wss://, or turn off force_tls for that script. More |
RequestBodyTooLargeError: HTTP request or Web Socket message body exceeds allowed size.Error | The body is larger than max_body_bytes. Send less data or raise max_body_bytes. More |
HttpRequestLimitExceededErrorError | The script has more requests running than max_concurrent_requests allows. Wait for requests to finish before starting more, or raise the limit. More |
Packet limits
| Message | What to do |
|---|---|
Failed to load packet limit config: Error: generic: invalid argument (22)Server will not run | packetlimitconfig.json is broken: bad JSON, an unknown algorithm, a value out of range, or no limitGroups. The server exits with code 2. Restore the original file from the BDS download. More |
Invalid 'maxBucketSize' value for BucketPacketLimitAlgorithm. Must be in the range …Server will not run | A packet limit is out of range. maxBucketSize must be 1 to 10000; drainRatePerSec 0 to 10000. More |
Disconnect reasons and client messages
| Message | What to do |
|---|---|
You're not invited to play on this server.Player or disconnect message | The player is not on the allowlist. Run allowlist add "Gamertag" in the console. More |
Trust this server? (every time)Player or disconnect message | The server identity changes at each restart because it was never saved. Run serveridentity save once. More |
Outdated client / Outdated serverPlayer or disconnect message | The game and the server are different versions. Update BDS to match the game, or the other way round. More |
NetherNetICE / NetherNetNegotiationTimeout…Player or disconnect message | The connection was set up over TCP but the UDP game traffic did not get through. Forward the UDP ports in server-udp-ports. More |
NetherNetIdentityNotAllowedPlayer or disconnect message | The player's game declined the server identity. Ask the player to join again and choose Trust and Join. More |
Other NetherNet… reasonsPlayer or disconnect message | Setup failed or the connection dropped. ProtocolVersion means mismatched versions. Check versions match, then follow the connection checklist. More |
ScriptWatchdogException / ScriptMemoryLimitExceededPlayer or disconnect message | A script hung or used too much memory, and the watchdog stopped the server. Find the script with the profiler and fix it. More |
AsyncJoinTaskDeniedPlayer or disconnect message | A script refused the player with asyncPlayerJoin. Check the join script's rules. More |
ResourcePackLoadingFailedPlayer or disconnect message | The player could not download or load the server's resource packs. Check the packs work locally. More |
EditorMismatchEditorWorld / EditorMismatchVanillaWorldPlayer or disconnect message | An Editor client joined a normal world, or a normal client joined an Editor project. Join with the matching client, or start the server with the right mode. More |
SubClientLoginDisabledPlayer or disconnect message | A split-screen player was refused. Split-screen guests are controlled by the hidden allow-subclient-login setting. More |
Normal messages you can ignore
| Message | What to do |
|---|---|
Server Telemetry is currently not enabled …Normal | An information notice, not an error. Ignore it, or add emit-server-telemetry=true to share telemetry with Mojang. More |
No CDN config file found at: cdn_config.jsonNormal | You have not set up a CDN. That is fine. Nothing to do unless you want faster pack downloads. More |
NO LOG FILE! - setting up server logging...Normal | Printed at every start. Not an error. Nothing to do. More |
Server started. / Accepting clients on … / Quit correctlyNormal | Normal start and stop messages. Nothing to do. More |
Packet rate limiting enabled / Packet limit config updatedNormal | The packet limiter is on, or its file was reloaded. Nothing to do. More |