Skip to main content
Version: v2.10.0

MagmaStreamErrorCode

Represents the error codes in magmastream.

GENERAL_UNKNOWNโ€‹

An unknown error occurred.


GENERAL_TIMEOUTโ€‹

A timeout occurred.


GENERAL_INVALID_MANAGERโ€‹

An invalid manager was provided.


INTENT_MISSINGโ€‹

The required intent "GuildVoiceStates" is missing.


MANAGER_INIT_FAILEDโ€‹

Failed to initialize the manager.


MANAGER_INVALID_CONFIGโ€‹

The manager configuration is invalid or incomplete.


MANAGER_SHUTDOWN_FAILEDโ€‹

The manager failed to shut down properly.


MANAGER_NO_NODESโ€‹

No Lavalink nodes were configured or available.


MANAGER_NODE_NOT_FOUNDโ€‹

The requested Lavalink node could not be found.


MANAGER_SEARCH_FAILEDโ€‹

The track search operation failed.


MANAGER_CLEANUP_INACTIVE_PLAYERS_FAILEDโ€‹

Failed to clean up inactive players.


NODE_INVALID_CONFIGโ€‹

The Lavalink node configuration is invalid or missing required fields.


NODE_CONNECT_FAILEDโ€‹

Failed to establish a connection to the Lavalink node.


NODE_RECONNECT_FAILEDโ€‹

Failed to reconnect to the Lavalink node after disconnection.


NODE_DISCONNECTEDโ€‹

The Lavalink node was unexpectedly disconnected.


NODE_PROTOCOL_ERRORโ€‹

A protocol or communication error occurred between the client and Lavalink node.


NODE_SESSION_IDS_LOAD_FAILEDโ€‹

Failed to load session IDs from persistent storage.


NODE_SESSION_IDS_UPDATE_FAILEDโ€‹

Failed to update session IDs in persistent storage.


NODE_PLUGIN_ERRORโ€‹

A plugin running on the node caused an unexpected error.


PLAYER_INVALID_CONFIGโ€‹

The player configuration is invalid or incomplete.


PLAYER_STATE_INVALIDโ€‹

The player state is corrupted or inconsistent.


PLAYER_QUEUE_EMPTYโ€‹

The queue is empty โ€” no tracks to play.


PLAYER_PREVIOUS_EMPTYโ€‹

There are no previous tracks to play.


PLAYER_INVALID_NOW_PLAYING_MESSAGEโ€‹

Failed to create or send the "Now Playing" message.


PLAYER_INVALID_AUTOPLAYโ€‹

Autoplay is not available or failed to initialize.


PLAYER_INVALID_VOLUMEโ€‹

The provided volume value is invalid or out of range.


PLAYER_INVALID_REPEATโ€‹

The repeat mode provided is invalid.


PLAYER_INVALID_PAUSEโ€‹

The pause operation failed or was called in an invalid state.


PLAYER_INVALID_SEEKโ€‹

The seek operation failed due to invalid position or track data.


PLAYER_MOVE_FAILEDโ€‹

Moving a track within the queue failed.


PLAYER_VOICE_RECEIVER_ERRORโ€‹

Failed to receive or process voice data from Discord.


QUEUE_REDIS_ERRORโ€‹

A Redis-related error occurred while accessing the queue.


QUEUE_JSON_ERRORโ€‹

A JSON read/write or parse error occurred while accessing the queue.


QUEUE_MEMORY_ERRORโ€‹

An in-memory queue operation failed unexpectedly.


FILTER_APPLY_FAILEDโ€‹

Failed to apply one or more audio filters.


REST_REQUEST_FAILEDโ€‹

A REST request to Lavalink or a related service failed.


REST_UNAUTHORIZEDโ€‹

The REST request was unauthorized or missing valid credentials.


UTILS_TRACK_PARTIAL_INVALIDโ€‹

A partial track object was invalid or missing required data.


UTILS_TRACK_BUILD_FAILEDโ€‹

Failed to build a track object from provided data.


UTILS_AUTOPLAY_BUILD_FAILEDโ€‹

Failed to build or fetch an autoplay track.


UTILS_PLAYER_SERIALIZE_FAILEDโ€‹

Failed to serialize the player state.


PLUGIN_LOAD_FAILEDโ€‹

Failed to load a plugin or its dependencies.


PLUGIN_RUNTIME_ERRORโ€‹

A plugin threw an error during execution.