NEW 📢 Limited launch offer: up to 70% off your first month on every game!See plans

Lavalink errors and what they mean

Lavalink hostingUpdated Nov 6, 20266 min read

When music stops, read two consoles: the node's Console in the panel first, then your bot's. Find the message in the tables below. A healthy node always ends its start with Lavalink is ready to accept connections.

Your bot cannot connect

Message in your botWhat it means and what to do
ECONNREFUSED, connection refused, a timeoutThe host or port is wrong, or the node is stopped. Copy the Address again from the node's Overview and start the node.
401, UnauthorizedThe password does not match password: in application.yml. Copy it again without the quotes.
An SSL, TLS or handshake errorYour client has secure or SSL on. The node uses plain http and ws: switch it off.
404 on connect, or a client that never becomes readyThe client is written for Lavalink 3. Your node runs version 4: use a client release that supports it.
The bot is connected to the node, but no song ever starts in the voice channelYour client library may be older than its DAVE release. Lavalink 4.2.2 then refuses the voice update, and your bot's console shows a 400 error with token, endpoint, sessionId and channelId must be provided in voice state. Update the client: How to connect your Discord bot to Lavalink lists the release of each common client to use.
The node disconnects and comes backThe node restarted, often after running out of memory. Read the node's console for the reason.

The node does not start

Message in the node's consoleWhat it means and what to do
ScannerException, mapping values are not allowed here, or another YAML errorA mistake in application.yml, nearly always indentation or a tab. Use spaces only and keep each level two spaces deeper. Restore your backup if you cannot find it.
Invalid dependencyA dependency: line is not in the form group:name:version. Copy it again from the plugin's page.
XmlException: Local name html for root tag does not match expected name metadataThe repository a dependency: line downloads from sent a web page instead of the plugin. Remove that line and upload the plugin's .jar into plugins instead: How to add plugins to Lavalink.
No plugin manifest foundA file in plugins is not a Lavalink plugin. Delete it.
An error naming a plugin, such as a missing key or settingA plugin was switched on without the keys it needs. Fill them in under its block in plugins:, or switch that source off.
OutOfMemoryError, or the node stops while busyThe node needs more memory than the plan has. Fewer players at once, or a bigger plan.

Install messages

Message during installWhat it means and what to do
PlayNHost: could not download ...A download from GitHub failed and the install stopped. Run it again: Settings, Launch Details, Reinstall. If it fails again, open a ticket.
PlayNHost: checksum mismatch for Lavalink.jarThe file downloaded did not match the version we test, so it was not used. Run Reinstall once more (Settings, Launch Details); if it repeats, open a ticket.
Kept your application.yml.Not an error: a reinstall left your settings and password as they were.

How to reinstall: How to host a Lavalink server 24/7. Open a ticket: How to open a support ticket.

A song does not load or play

ResultWhat it means and what to do
empty (older clients say NO_MATCHES)The search found nothing, or no enabled source handles that link. Check which sources are true under sources: in application.yml.
error (older clients say LOAD_FAILED)The site refused or failed. The node's console has the detailed reason on the line after your request. Try another site to tell a site problem from a node problem.
No playable stream foundThe site offers that track only as a preview or a protected stream. On SoundCloud this is common for songs from big labels; no node can play those.

YouTube messages

MessageWhat it means and what to do
OAUTH INTEGRATION: To give youtube-source access to your account, go to https://www.google.com/device and enter code ...The YouTube plugin asks for a sign-in. Use a spare Google account, never your own: How to play YouTube on Lavalink 4.
OAUTH INTEGRATION: The device token has expired. OAuth integration has been canceled.The code was not entered in time. Restart the node to get a new one.
OAUTH INTEGRATION: Account linking was denied. OAuth integration has been canceled.Access was refused on the Google page. Restart the node and allow it.
This video requires login. or Sign in to confirm you’re not a bot in the node's console, and the song fails as soon as it startsYouTube refuses to play for a server that is not signed in. Search still works, which is why the song is found first. Sign the YouTube plugin in: How to play YouTube on Lavalink 4.

Slow or choppy audio

Watch CPU on the Usage card on Overview while music plays. If it sits at the limit, fewer players or filters at once, or a bigger plan, fixes it. Filters such as timescale and many players at once use more CPU.

Still stuck

Open a ticket with the exact lines from the node's console and your bot's console: How to open a support ticket. Connecting a bot step by step: How to connect your Discord bot to Lavalink.

Already hosting your bot somewhere else? Move it to us

OUR LATEST BLOGS