# Error codes

> Reference directory of all Glyph error codes (GX-AREA-NNN), what they mean, how to fix them, and when to report an issue.

Every error shown in Glyph carries a short code in the form `GX-AREA-NNN` (shown in lowercase inside the app, for example `gx-play-012`). Click the code in Glyph to copy it, or click **Help** to jump straight to its entry below.

You can also review recent local errors anytime under **Settings › About › Recent errors**. Codes are never reused; retired codes stay listed as no longer used.


> **Note:**
> **For AI assistants and scripts:** The same catalog is served at [errors.glyph.my](https://errors.glyph.my) with a public MCP server at `https://errors.glyph.my/mcp` (also built into `https://docs.glyph.my/mcp` and Glyph's own MCP), [llms.txt](https://errors.glyph.my/llms.txt), [llms-full.txt](https://errors.glyph.my/llms-full.txt), [errors.json](https://errors.glyph.my/errors.json), and per-code Markdown/JSON (`https://errors.glyph.my/gx-play-012.md`). See [Ask an AI about Glyph](../getting-started/ask-an-ai.md).


| Code | Area | Guide | Summary |
| --- | --- | --- | --- |
| `GX-PLAY` | [Playback & Audio](#play-playback-audio) | [Playback help](playback.md) | Audio streaming, decoding, output devices, embeds, and video playback. |
| `GX-SRC` | [Sources & Resolver](#src-sources-resolver) | [Search and sources](../using-glyph/search-and-sources.md) | Music providers, track resolution, yt-dlp, radio, lyrics, and metadata. |
| `GX-SRCH` | [Search](#srch-search) | [Search, links and transfer help](search-and-transfer.md) | Search queries, source failures, and alternative match lookups. |
| `GX-LIB` | [Library & Playlists](#lib-library-playlists) | [Library, playlists and queue](../using-glyph/library-and-queue.md) | Local library database, playlists, covers, sharing, and taste exports. |
| `GX-IMP` | [Import & Migration](#imp-import-migration) | [Search, links and transfer help](search-and-transfer.md) | Playlist link imports, file imports, share codes, and service migration. |
| `GX-SYNC` | [Account & Sync](#sync-account-sync) | [Accounts and sync help](accounts-and-sync.md) | End-to-end encrypted sync, storage quotas, and profile data. |
| `GX-AUTH` | [Sign-in & Devices](#auth-sign-in-devices) | [Accounts and sync help](accounts-and-sync.md) | Authentication, passkeys, tokens, device limits, handles, and access controls. |
| `GX-JAM` | [Jam & Live Sessions](#jam-jam-live-sessions) | [Jam help](jam.md) | Shared Jam rooms, host permissions, push updates, and clock sync. |
| `GX-DEV` | [Speakers, Cast & Connect](#dev-speakers-cast-connect) | [Speakers and TVs](../using-glyph/devices.md) | Remote device control, AirPlay, Chromecast, UPnP, and MPD outputs. |
| `GX-DL` | [Downloads](#dl-downloads) | [Downloads and audio quality](../using-glyph/downloads-and-quality.md) | Offline audio downloads, integrity checks, and download folder management. |
| `GX-UPD` | [Updates](#upd-updates) | [Install and updates help](install-and-updates.md) | App version checks, signatures, checksums, and self-updates. |
| `GX-PLG` | [Plugins, Themes & Backgrounds](#plg-plugins-themes-backgrounds) | [Plugin troubleshooting](../plugins/troubleshooting.md) | Plugin catalog, WASM sandbox, manifests, themes, and custom backgrounds. |
| `GX-NET` | [Network & Connectivity](#net-network-connectivity) | [Help overview](README.md) | Internet access, server reachability, TLS, timeouts, and rate limits. |
| `GX-CFG` | [Settings & Configuration](#cfg-settings-configuration) | [Settings file](../using-glyph/config-file.md) | Configuration files, settings codes, equalizer presets, and platform features. |
| `GX-FS` | [Local Files & Storage](#fs-local-files-storage) | [Local files](../using-glyph/local-files.md) | Disk access, permissions, local audio files, and cache storage. |
| `GX-MOB` | [Android & Wear OS](#mob-android-wear-os) | [Android app](../using-glyph/mobile.md) | Android native bridge, WebView, background service, Keystore, and Wear OS. |
| `GX-WEB` | [Web Player](#web-web-player) | [Web player](../using-glyph/web-player.md) | Browser playback restrictions, web client errors, and web-only limits. |
| `GX-MCP` | [AI Assistants (MCP)](#mcp-ai-assistants-mcp) | [AI assistants (MCP)](../using-glyph/ai-assistants.md) | Model Context Protocol local server, cloud relay, OAuth, and tool execution. |
| `GX-SRV` | [Server](#srv-server) | [Your own server help](server.md) | HTTP API, storage, proxy streaming, and operator policy errors returned by a Glyph server. |
| `GX-CMP` | [Companion](#cmp-companion) | [YouTube companion](../self-hosting/companion.md) | Glyph Companion resolver container, r-dlp auto-updates, and internal proxy routes. |
| `GX-RDLP` | [r-dlp Resolver](#rdlp-r-dlp-resolver) | [r-dlp](../components/r-dlp.md) | YouTube direct-stream resolver CLI and JSON-lines worker errors. |

## PLAY — Playback & Audio

Audio streaming, decoding, output devices, embeds, and video playback.

Related guide: [Playback help](playback.md) · Agent endpoints: [errors.glyph.my/area/play.md](https://errors.glyph.my/area/play.md) · [JSON](https://errors.glyph.my/area/play.json)

### GX-PLAY-001

**Stream could not be opened**

- **What happened:** Glyph could not open the audio stream URL for the current track.
- **What you can do:** Check your internet connection and play the track again. If it fails on one song, open the song menu and choose Wrong song to pick another source.
- **When to open an issue:** Open an issue if every track from all sources fails with this code while your internet connection works.

### GX-PLAY-002

**Unsupported audio format**

- **What happened:** The audio container returned by the source or local file is not supported by Glyph's audio decoder.
- **What you can do:** For online tracks, use Wrong song to pick a different source. For local files, convert the file to MP3, FLAC, OGG, M4A, AAC, or WAV.
- **When to open an issue:** Open an issue if a standard MP3, FLAC, OGG, M4A, or WAV file triggers this code.

### GX-PLAY-003

**Unsupported audio codec**

- **What happened:** The audio stream uses a codec that this build of Glyph cannot decode.
- **What you can do:** Try another source via Wrong song, or re-encode local files to a standard codec such as AAC, Opus, MP3, or FLAC.
- **When to open an issue:** Open an issue if this happens on online streams from a built-in provider.

### GX-PLAY-004

**Audio decode error**

- **What happened:** The audio stream or file contained damaged or unexpected frames during decoding.
- **What you can do:** Retry playback. If the track was downloaded, remove and download it again. If it is a local file, verify the file is not damaged.
- **When to open an issue:** Open an issue if uncorrupted online tracks repeatedly stop mid-song with this code.

### GX-PLAY-005

**Audio buffer or read interrupted**

- **What happened:** Reading audio data stalled or the network connection dropped while buffering.
- **What you can do:** Wait a moment for your connection to stabilize and press Play again.
- **When to open an issue:** Open an issue if this occurs consistently on a fast, stable connection.

### GX-PLAY-006

**No audio output device found**

- **What happened:** The operating system did not report any usable speakers or headphones.
- **What you can do:** Connect headphones or speakers, check your system sound settings, and select an output in Settings > Playback.
- **When to open an issue:** Open an issue if other apps play audio normally while Glyph reports no output device.

### GX-PLAY-007

**Audio output device not responding**

- **What happened:** The selected audio output device disconnected or stopped accepting audio frames.
- **What you can do:** Reconnect the audio device or choose another output in Settings > Playback.
- **When to open an issue:** Open an issue if Glyph fails to recover after switching outputs in Settings > Playback.

### GX-PLAY-008

**Audio output busy or unavailable**

- **What happened:** The audio backend could not open the output stream because it is busy, exclusive to another app, or unavailable.
- **What you can do:** Close apps using exclusive audio mode, check your sound server (WASAPI, CoreAudio, PipeWire/PulseAudio), and try again.
- **When to open an issue:** Open an issue if this happens on a standard desktop setup with no exclusive-mode audio apps running.

### GX-PLAY-009

**Audio stream link expired**

- **What happened:** The upstream audio URL rejected the request with HTTP 401 or 403, usually because a temporary stream signature expired.
- **What you can do:** Press Play again so Glyph resolves a fresh stream link.
- **When to open an issue:** Open an issue if freshly resolved tracks immediately fail with this code.

### GX-PLAY-010

**Audio stream HTTP error**

- **What happened:** The remote media host returned an unexpected HTTP error while streaming the track.
- **What you can do:** Try playing the track again in a moment, or pick another source via Wrong song.
- **When to open an issue:** Open an issue if the error persists across multiple tracks and sources.

### GX-PLAY-011

**Invalid audio byte range or changed length**

- **What happened:** The media server returned an inconsistent Content-Range header, incomplete body, or changed file length while seeking.
- **What you can do:** Restart playback of the track from the beginning.
- **When to open an issue:** Open an issue with the source name if seeking consistently triggers this code.

### GX-PLAY-012

**Song could not be loaded**

- **What happened:** Playback failed for the current track for an unexpected reason.
- **What you can do:** Try playing the track again or choose another source via Wrong song.
- **When to open an issue:** Open an issue with the code and recent diagnostics from Settings > About if this happens often.

### GX-PLAY-013

**Track not playable and skipped**

- **What happened:** Glyph could not play the track after trying available options and skipped to the next song in the queue.
- **What you can do:** Open Wrong song on the skipped track to choose another source, or check your network connection.
- **When to open an issue:** Open an issue if entire playlists skip without playing.

### GX-PLAY-014

**Explicit song blocked by settings**

- **What happened:** The song is marked explicit and cannot be played while Hide explicit songs is enabled.
- **What you can do:** Turn off Hide explicit songs in Settings > Playback if you want to play explicit tracks.
- **When to open an issue:** Only report this if a clean track is wrongly blocked or the setting has no effect.

### GX-PLAY-015

**Track unavailable while offline**

- **What happened:** You are offline and this track has not been downloaded to this device.
- **What you can do:** Reconnect to the internet or play songs from your Downloads.
- **When to open an issue:** Open an issue if a downloaded track shows this error while offline.

### GX-PLAY-016

**No embed player for this source**

- **What happened:** The track's provider does not offer an embedded fallback player.
- **What you can do:** Choose another source via Wrong song or enable additional sources in Settings > Sources.
- **When to open an issue:** No issue needed unless a provider that supports embeds shows this error.

### GX-PLAY-017

**Mini-player unavailable**

- **What happened:** Glyph could not create or attach the embedded mini-player window on this system.
- **What you can do:** Make sure your system WebView runtime (WebView2 on Windows, WebKitGTK on Linux) is installed and up to date, then restart Glyph.
- **When to open an issue:** Open an issue with your OS version if the WebView runtime is installed and this still happens.

### GX-PLAY-018

**Embed player blocked or failed**

- **What happened:** The embedded player refused playback, was blocked by the source, or reported an internal error.
- **What you can do:** Try playing the track again or pick another source via Wrong song.
- **When to open an issue:** Open an issue if all embedded tracks fail consistently.

### GX-PLAY-019

**No preview available for this candidate**

- **What happened:** The selected candidate in Wrong song does not have a playable audio preview.
- **What you can do:** Select a different candidate from the list or apply the match directly.
- **When to open an issue:** No issue needed; some catalog entries do not carry preview audio.

### GX-PLAY-020

**Video playback failed**

- **What happened:** The music video stream could not be loaded or decoded in the video player.
- **What you can do:** Press Retry or switch back to audio-only playback.
- **When to open an issue:** Open an issue if no music videos play on your device.

### GX-PLAY-021

**No playable MP4 video stream found**

- **What happened:** The video resolver did not find a compatible direct MP4 stream for this video.
- **What you can do:** Switch back to audio playback or try again later.
- **When to open an issue:** Open an issue if this happens for every music video.

### GX-PLAY-022

**Track unplayable during taste rating**

- **What happened:** The sample track could not be played during taste calibration.
- **What you can do:** Skip to the next track or check your internet connection.
- **When to open an issue:** Open an issue if all taste rating samples fail to play.

### GX-PLAY-023

**End of queue reached**

- **What happened:** There are no more playable tracks left in the current queue.
- **What you can do:** Add songs to the queue, enable autoplay, or start a radio.
- **When to open an issue:** Only report this if playable tracks still remain in the queue when it triggers.

### GX-PLAY-024

**Playback transfer between devices failed**

- **What happened:** Handing off playback to another signed-in device or speaker did not succeed.
- **What you can do:** Make sure the target device is online, signed into the same account, and has Glyph open, then try again.
- **When to open an issue:** Open an issue if both devices are online and transfers always fail.

## SRC — Sources & Resolver

Music providers, track resolution, yt-dlp, radio, lyrics, and metadata.

Related guide: [Search and sources](../using-glyph/search-and-sources.md) · Agent endpoints: [errors.glyph.my/area/src.md](https://errors.glyph.my/area/src.md) · [JSON](https://errors.glyph.my/area/src.json)

### GX-SRC-001

**No playable source found**

- **What happened:** None of the enabled legal music sources had a playable stream for this song.
- **What you can do:** Use Wrong song to search manually, or enable additional sources in Settings > Sources.
- **When to open an issue:** Open an issue if widely available tracks fail to resolve on all enabled sources.

### GX-SRC-002

**Song not found on YouTube**

- **What happened:** Use YouTube only is enabled, and no matching video was found on YouTube for this track.
- **What you can do:** Turn off Use YouTube only in Settings > Sources or choose a match manually via Wrong song.
- **When to open an issue:** Only report this if the exact song is public on YouTube and manual matching also fails.

### GX-SRC-003

**YouTube audio could not be loaded on this device**

- **What happened:** Local and server YouTube audio resolution failed for this track.
- **What you can do:** Wait a moment and try again. In Settings > Sources, check that yt-dlp is installed and up to date.
- **When to open an issue:** Open an issue if every YouTube track fails even after updating Glyph and yt-dlp.

### GX-SRC-004

**Track resolution failed**

- **What happened:** An error occurred while resolving a playable stream URL for this song.
- **What you can do:** Check your network connection and retry. If using a custom server, verify it is healthy in Settings > Server.
- **When to open an issue:** Open an issue if resolution fails repeatedly across different songs.

### GX-SRC-005

**Music source temporarily unavailable**

- **What happened:** An upstream music provider returned a server error or could not be reached.
- **What you can do:** Wait a few minutes and try again, or try a different source in Settings > Sources.
- **When to open an issue:** Open an issue if the source stays unavailable for more than a day.

### GX-SRC-006

**Source rate limit or quota reached**

- **What happened:** A music provider rejected the request because its API rate limit or daily quota was exceeded.
- **What you can do:** Wait for the rate limit window to reset, or check your own API quota if using Direct mode.
- **When to open an issue:** Open an issue if this happens on the official server for extended periods.

### GX-SRC-007

**Content region-blocked or restricted**

- **What happened:** The upstream source blocked playback or metadata access in your region or due to content restrictions.
- **What you can do:** Use Wrong song to pick a match from another provider.
- **When to open an issue:** No issue needed; regional availability is enforced by the music provider.

### GX-SRC-008

**Invalid or missing provider API key**

- **What happened:** Direct mode tried to call a provider API without a valid API key or client secret.
- **What you can do:** Open Settings > Server / Sources and enter or fix the API credentials for that provider, or switch back to Server mode.
- **When to open an issue:** Only report this if valid credentials are rejected by Glyph.

### GX-SRC-009

**yt-dlp timed out**

- **What happened:** The local yt-dlp helper did not answer within 15 seconds.
- **What you can do:** Try again, or reinstall/update yt-dlp in Settings > Sources.
- **When to open an issue:** Open an issue if yt-dlp always times out on a working connection.

### GX-SRC-010

**yt-dlp returned no audio format**

- **What happened:** yt-dlp completed but did not return a video ID or usable audio format.
- **What you can do:** Update yt-dlp in Settings > Sources and try again, or pick another match via Wrong song.
- **When to open an issue:** Open an issue if this happens on most songs after updating yt-dlp.

### GX-SRC-011

**yt-dlp install or update failed**

- **What happened:** Glyph could not download, verify, or install the yt-dlp binary.
- **What you can do:** Check your internet connection, firewall, and write permissions for Glyph's data folder, then retry in Settings > Sources.
- **When to open an issue:** Open an issue with the details if retrying still fails.

### GX-SRC-012

**Unexpected stream URL from resolver**

- **What happened:** A resolver returned a stream URL that failed Glyph's safety or host checks.
- **What you can do:** Update Glyph and yt-dlp, then try playing the track again.
- **When to open an issue:** Open an issue if this occurs on a standard provider track.

### GX-SRC-013

**Native YouTube resolver paused**

- **What happened:** The built-in native YouTube resolver paused temporarily after an upstream error and fell back to other resolvers.
- **What you can do:** Wait a short time for automatic recovery or keep yt-dlp enabled in Settings > Sources.
- **When to open an issue:** Open an issue if the native resolver stays paused permanently.

### GX-SRC-014

**Radio generation failed**

- **What happened:** Glyph could not build a radio or Drift queue for the selected track or artist.
- **What you can do:** Check your internet connection and try starting Radio again.
- **When to open an issue:** Open an issue if Radio fails for every song.

### GX-SRC-015

**No similar radio tracks found**

- **What happened:** Radio could not find similar tracks for this song.
- **What you can do:** Try starting Radio from a different track or artist.
- **When to open an issue:** Only report this if popular tracks consistently return empty radio results.

### GX-SRC-016

**Lyrics unavailable**

- **What happened:** No synced or plain lyrics were found for this song, or the lyrics service did not respond.
- **What you can do:** Check back later or verify the song title and artist metadata.
- **When to open an issue:** Open an issue only if no songs load lyrics at all.

### GX-SRC-017

**Artist page unavailable**

- **What happened:** Artist metadata or discography could not be loaded from the server or provider.
- **What you can do:** Check your connection and retry opening the artist page.
- **When to open an issue:** Open an issue if artist pages fail to load for all artists.

### GX-SRC-018

**Cover image unavailable or busy**

- **What happened:** Album artwork could not be fetched or was temporarily throttled.
- **What you can do:** Artwork retries automatically; wait a moment or reload the page.
- **When to open an issue:** Open an issue if no covers load anywhere in the app.

### GX-SRC-019

**Music video unavailable**

- **What happened:** The requested video ID is invalid, mismatched, or unavailable on YouTube.
- **What you can do:** Switch back to audio mode or pick another song.
- **When to open an issue:** Open an issue if valid public music videos fail with this code.

### GX-SRC-020

**Voice search found no match**

- **What happened:** A voice assistant playback query did not match any track in your library or online search.
- **What you can do:** Repeat the request with the song title and artist name.
- **When to open an issue:** Open an issue if voice queries never return matches even for exact titles.

## SRCH — Search

Search queries, source failures, and alternative match lookups.

Related guide: [Search, links and transfer help](search-and-transfer.md) · Agent endpoints: [errors.glyph.my/area/srch.md](https://errors.glyph.my/area/srch.md) · [JSON](https://errors.glyph.my/area/srch.json)

### GX-SRCH-001

**Search unavailable while backend is offline**

- **What happened:** Online search requires a reachable Glyph server or Direct mode, and the backend is currently offline.
- **What you can do:** Check your internet connection or server URL in Settings > Server. You can still search your local library in offline mode.
- **When to open an issue:** Open an issue if the server shows healthy elsewhere but Glyph stays offline.

### GX-SRCH-002

**All search sources failed**

- **What happened:** Every enabled music search provider returned an error for this query.
- **What you can do:** Click Retry in a moment or check Settings > Sources and Settings > Status.
- **When to open an issue:** Open an issue if all sources fail across multiple queries while status.glyph.my shows no outage.

### GX-SRCH-003

**One or more search sources failed**

- **What happened:** Search returned partial results because at least one provider timed out or errored.
- **What you can do:** Use the retry option at the bottom of search results to query the failed source again.
- **When to open an issue:** Open an issue if the same provider fails every time you search.

### GX-SRCH-004

**Search query invalid or too long**

- **What happened:** The search query was empty or exceeded the maximum supported length.
- **What you can do:** Shorten your search terms and try again.
- **When to open an issue:** Only report this if normal short searches trigger this code.

### GX-SRCH-005

**Alternative match search failed**

- **What happened:** The Wrong song dialog could not fetch alternative matches for the track.
- **What you can do:** Retry the lookup or check your internet connection.
- **When to open an issue:** Open an issue if Wrong song always fails while normal search works.

## LIB — Library & Playlists

Local library database, playlists, covers, sharing, and taste exports.

Related guide: [Library, playlists and queue](../using-glyph/library-and-queue.md) · Agent endpoints: [errors.glyph.my/area/lib.md](https://errors.glyph.my/area/lib.md) · [JSON](https://errors.glyph.my/area/lib.json)

### GX-LIB-001

**Library database is corrupt**

- **What happened:** Glyph could not parse the local library file. A backup copy of the broken file was kept on disk.
- **What you can do:** If you use a Glyph account, sign in to restore from sync. Otherwise check the backup file in Glyph's data folder.
- **When to open an issue:** Open an issue and mention what happened before the crash or shutdown.

### GX-LIB-002

**Could not save library**

- **What happened:** Writing updated library or playlist data to disk failed.
- **What you can do:** Check that your disk has free space and Glyph's data folder is writable.
- **When to open an issue:** Open an issue if disk space and permissions are fine.

### GX-LIB-003

**Playlist track limit reached**

- **What happened:** The playlist reached the maximum number of songs allowed.
- **What you can do:** Create a second playlist or remove songs from this playlist before adding more.
- **When to open an issue:** No issue needed; playlist size limits protect sync performance.

### GX-LIB-004

**Playlist not found**

- **What happened:** The requested playlist does not exist or was deleted.
- **What you can do:** Go back to your Library and pick an existing playlist.
- **When to open an issue:** Open an issue if an existing playlist disappears unexpectedly.

### GX-LIB-005

**Playlist is locked or read-only**

- **What happened:** This playlist cannot be modified in the current state (for example, during a restricted Jam or system view).
- **What you can do:** Copy the songs into one of your own playlists to edit them.
- **When to open an issue:** Open an issue if your own personal playlist becomes read-only.

### GX-LIB-006

**Playlist cover image too large**

- **What happened:** The chosen cover image exceeds the maximum file size.
- **What you can do:** Choose a smaller image or resize/compress it before selecting it again.
- **When to open an issue:** No issue needed.

### GX-LIB-007

**Playlist cover image unreadable**

- **What happened:** The selected image could not be decoded as PNG, JPEG, or WebP.
- **What you can do:** Convert the picture to PNG, JPEG, or WebP and try again.
- **When to open an issue:** Open an issue if a valid PNG or JPEG is rejected.

### GX-LIB-008

**Could not create or open share link**

- **What happened:** Creating a share link or resolving an incoming Glyph share link failed.
- **What you can do:** Verify you are online, the link is complete, and the playlist is still shared.
- **When to open an issue:** Open an issue if newly created share links fail to open immediately.

### GX-LIB-009

**Nothing to share**

- **What happened:** The playlist or selection has no shareable tracks.
- **What you can do:** Add at least one online song to the playlist before sharing it.
- **When to open an issue:** No issue needed.

### GX-LIB-010

**Invalid Glyph taste file**

- **What happened:** The selected file is not a valid Glyph taste export or contains no taste data.
- **What you can do:** Select a .json taste file previously exported from Glyph.
- **When to open an issue:** Open an issue if a freshly exported Glyph taste file fails to import.

### GX-LIB-011

**Library offline**

- **What happened:** This library action requires the backend library service, which is currently offline or not ready.
- **What you can do:** Wait a moment for Glyph to finish loading or reconnect to the server.
- **When to open an issue:** Open an issue if the library stays offline after restarting Glyph.

## IMP — Import & Migration

Playlist link imports, file imports, share codes, and service migration.

Related guide: [Search, links and transfer help](search-and-transfer.md) · Agent endpoints: [errors.glyph.my/area/imp.md](https://errors.glyph.my/area/imp.md) · [JSON](https://errors.glyph.my/area/imp.json)

### GX-IMP-001

**Unsupported or invalid playlist link**

- **What happened:** The pasted link is not a supported Spotify, Deezer, YouTube, Apple Music, SoundCloud, or Bandcamp playlist URL.
- **What you can do:** Copy the full public playlist URL from the music service and paste it again.
- **When to open an issue:** Open an issue if a valid public playlist link from a supported service is rejected.

### GX-IMP-002

**Playlist is private or inaccessible**

- **What happened:** The music service denied access because the playlist is private or restricted.
- **What you can do:** Temporarily set the playlist to Public on the source service, import it, and switch it back to Private afterwards.
- **When to open an issue:** Open an issue only if a clearly public playlist reports this error.

### GX-IMP-003

**Playlist does not exist**

- **What happened:** The playlist could not be found on the external service (it may have been deleted or the link is incomplete).
- **What you can do:** Open the link in a browser to confirm the playlist exists and is public, then copy the URL again.
- **When to open an issue:** Open an issue if the playlist opens in a private browser tab but fails in Glyph.

### GX-IMP-004

**Import service unavailable or invalid response**

- **What happened:** The external music service or Glyph's import helper did not respond or returned a page format Glyph could not read.
- **What you can do:** Try importing again in a few minutes, or export the playlist as CSV/text and import the file.
- **When to open an issue:** Open an issue with the service name (Spotify, YouTube, etc.) if imports consistently fail.

### GX-IMP-005

**Import service rate-limited**

- **What happened:** The external service temporarily throttled playlist import requests.
- **What you can do:** Wait a few minutes and try importing again.
- **When to open an issue:** Open an issue if rate limits persist for hours.

### GX-IMP-006

**Import already in progress**

- **What happened:** Another import or migration job is already running.
- **What you can do:** Wait for the current import to finish or cancel it before starting a new one.
- **When to open an issue:** Open an issue if an import stays stuck indefinitely.

### GX-IMP-007

**No songs found to import**

- **What happened:** The playlist link, share link, or file contained zero readable songs.
- **What you can do:** Verify the playlist or file is not empty and is in a supported format.
- **When to open an issue:** Open an issue if a non-empty public playlist returns zero songs.

### GX-IMP-008

**Import session expired**

- **What happened:** The multi-page import cursor on the server expired before the import finished.
- **What you can do:** Start the playlist import again from the beginning.
- **When to open an issue:** Open an issue if imports expire within seconds.

### GX-IMP-009

**Playlist exceeds maximum import size**

- **What happened:** The playlist contains more tracks than the server's import limit allows.
- **What you can do:** Split the playlist into smaller playlists or import locally from an exported CSV/JSON file.
- **When to open an issue:** No issue needed; limits protect server resources.

### GX-IMP-010

**Update required for large playlist imports**

- **What happened:** Importing playlists with more than 100 songs requires a newer Glyph app or server/Companion version.
- **What you can do:** Update Glyph (and your self-hosted server/Companion if applicable) or import locally.
- **When to open an issue:** Open an issue if both app and server are already on the latest release.

### GX-IMP-011

**Unsupported import file format**

- **What happened:** The chosen file extension is not supported for playlist or music import.
- **What you can do:** Use a supported file format (CSV, TXT, M3U/M3U8, Spotify JSON export, or supported audio files).
- **When to open an issue:** No issue needed.

### GX-IMP-012

**Corrupt or empty import file**

- **What happened:** The CSV, JSON, or text file could not be parsed or is missing required track columns.
- **What you can do:** Check that the file is UTF-8 encoded and includes track title (and artist) columns, then try again.
- **When to open an issue:** Open an issue with a redacted sample if an official export file fails to parse.

### GX-IMP-013

**Invalid or oversized Glyph share code**

- **What happened:** The pasted text is not a valid glyph:playlist: code or exceeds the maximum supported size.
- **What you can do:** Ask the sender to copy the full playlist code or send a Glyph share link instead.
- **When to open an issue:** Open an issue if a code freshly copied from Glyph is rejected.

### GX-IMP-014

**Migration could not resume or start**

- **What happened:** No paused migration was found, or no service/items were selected to migrate.
- **What you can do:** Select a source service and at least one playlist or library section, then start the migration again.
- **When to open an issue:** Open an issue if a paused migration fails to resume right after pausing.

### GX-IMP-015

**Migration source profile not found or private**

- **What happened:** The external profile link or username could not be found or has no public playlists.
- **What you can do:** Check the profile URL and make sure your playlists are set to Public on that service.
- **When to open an issue:** Open an issue if a public profile with public playlists cannot be read.

### GX-IMP-016

**Migration cancelled or offline**

- **What happened:** The migration was cancelled or lost internet connectivity before completing.
- **What you can do:** Reconnect to the internet and resume the migration from Settings > Migrate.
- **When to open an issue:** Open an issue if migration aborts while your connection is active.

### GX-IMP-017

**No song or playlist links found in clipboard**

- **What happened:** The pasted text did not contain recognizable song titles or playlist links.
- **What you can do:** Copy the songs or playlist URL from the source app and paste again.
- **When to open an issue:** No issue needed.

## SYNC — Account & Sync

End-to-end encrypted sync, storage quotas, and profile data.

Related guide: [Accounts and sync help](accounts-and-sync.md) · Agent endpoints: [errors.glyph.my/area/sync.md](https://errors.glyph.my/area/sync.md) · [JSON](https://errors.glyph.my/area/sync.json)

### GX-SYNC-001

**Account sync failed**

- **What happened:** Glyph could not synchronize your library or settings with your account.
- **What you can do:** Check your internet connection and click Sync again in Settings > Account.
- **When to open an issue:** Open an issue if sync fails continuously while you are signed in and online.

### GX-SYNC-002

**Account storage full**

- **What happened:** Your account reached the server's storage quota for synced items or images.
- **What you can do:** Delete unused playlists, playlist covers, or profile pictures in Settings > Account to free space.
- **When to open an issue:** Open an issue if your account appears nearly empty yet reports full storage.

### GX-SYNC-003

**Sync payload too large**

- **What happened:** A single sync batch or item exceeded the server's maximum upload size.
- **What you can do:** Try reducing very large playlists or cover images, then sync again.
- **When to open an issue:** Open an issue if normal library edits trigger this error.

### GX-SYNC-004

**Sync conflict or invalid item**

- **What happened:** A synced item had an unexpected format or conflicted with the server state.
- **What you can do:** Trigger a manual sync in Settings > Account. If needed, sign out and back in to pull a clean copy.
- **When to open an issue:** Open an issue if the conflict repeats after signing back in.

### GX-SYNC-005

**Missing encryption key on this device**

- **What happened:** This device does not hold your account's end-to-end encryption data key.
- **What you can do:** Sign out and sign back in by approving from an existing device or entering your account password.
- **When to open an issue:** Open an issue if the key disappears after a normal restart.

### GX-SYNC-006

**Outdated encryption key on this device**

- **What happened:** Your account's encryption key was rotated on another device and this device still has the older key.
- **What you can do:** Re-authenticate on this device (via password or device approval) to receive the current key.
- **When to open an issue:** Open an issue if this appears without changing your password or rotating keys.

### GX-SYNC-007

**Encrypted sync data could not be decrypted**

- **What happened:** A synced item failed authenticity checks or was encrypted with a different key.
- **What you can do:** Check Settings > Server for privacy alerts, and re-sign in if you recently changed your account password.
- **When to open an issue:** Open an issue immediately if you see this alongside an unexpected privacy alert.

### GX-SYNC-008

**Account key salt changed unexpectedly**

- **What happened:** The server returned a different key derivation salt than the one previously trusted by this device.
- **What you can do:** Do not enter your password until you confirm with the server operator whether the account was reset. Check Settings > Server.
- **When to open an issue:** Open an issue if this happens on the official Glyph server.

### GX-SYNC-009

**Account refresh timed out**

- **What happened:** Refreshing your account session and sync state took too long.
- **What you can do:** Check your internet connection and try again in a moment.
- **When to open an issue:** Open an issue if refreshes time out while other requests succeed.

### GX-SYNC-010

**Account backend unavailable on server**

- **What happened:** The configured Glyph server has accounts disabled or its account database is temporarily unavailable.
- **What you can do:** Check Settings > Server or wait for the server operator to restore account storage.
- **When to open an issue:** Open an issue if this happens on the official Glyph server.

### GX-SYNC-011

**Profile image too large or invalid**

- **What happened:** The selected avatar or banner image is empty, unreadable, or exceeds the maximum upload size.
- **What you can do:** Pick a smaller PNG, JPEG, or WebP image (under 20 MiB source) and try uploading again.
- **When to open an issue:** Open an issue if a small standard PNG or JPEG is rejected.

### GX-SYNC-012

**Profile update failed**

- **What happened:** Saving changes to your profile or public playlists failed.
- **What you can do:** Check your internet connection and save your profile changes again.
- **When to open an issue:** Open an issue if profile updates always fail while signed in.

## AUTH — Sign-in & Devices

Authentication, passkeys, tokens, device limits, handles, and access controls.

Related guide: [Accounts and sync help](accounts-and-sync.md) · Agent endpoints: [errors.glyph.my/area/auth.md](https://errors.glyph.my/area/auth.md) · [JSON](https://errors.glyph.my/area/auth.json)

### GX-AUTH-001

**Signed out or session invalid**

- **What happened:** Your session is no longer valid (for example, the device was removed or signed out).
- **What you can do:** Sign in again in Settings > Account.
- **When to open an issue:** Open an issue if you are signed out repeatedly without removing the device.

### GX-AUTH-002

**Access token expired**

- **What happened:** The short-lived access token expired and needs to be refreshed.
- **What you can do:** Glyph refreshes tokens automatically. If the message remains, sign in again in Settings > Account.
- **When to open an issue:** Open an issue if automatic token refresh fails continuously.

### GX-AUTH-003

**Wrong handle or password**

- **What happened:** The handle or password did not match any account on this server.
- **What you can do:** Double-check your handle and password, or use a passkey or recovery code.
- **When to open an issue:** No issue needed unless a freshly set password is rejected immediately.

### GX-AUTH-004

**Wrong password**

- **What happened:** The current password you entered is incorrect.
- **What you can do:** Re-enter your current password carefully and try again.
- **When to open an issue:** No issue needed.

### GX-AUTH-005

**No password set for this account**

- **What happened:** This account uses passkeys or device pairing and does not have a password configured.
- **What you can do:** Sign in with your passkey or approve the sign-in from another signed-in device.
- **When to open an issue:** No issue needed.

### GX-AUTH-006

**Password too short or too long**

- **What happened:** The password does not meet the required length (at least 10 characters).
- **What you can do:** Choose a password between 10 and 128 characters.
- **When to open an issue:** No issue needed.

### GX-AUTH-007

**Passkey verification failed**

- **What happened:** The passkey assertion could not be verified or is not registered for this account.
- **What you can do:** Try signing in again with the passkey registered for this server, or use your password.
- **When to open an issue:** Open an issue if a newly registered passkey fails on the same browser and server.

### GX-AUTH-008

**Passkey already registered**

- **What happened:** This security key or passkey is already linked to an account on this server.
- **What you can do:** Sign in with the existing passkey instead of registering it again.
- **When to open an issue:** No issue needed.

### GX-AUTH-009

**Sign-in session expired**

- **What happened:** The sign-in or device-pairing request expired before it was completed.
- **What you can do:** Start a new sign-in flow and finish it within a few minutes.
- **When to open an issue:** Open an issue if sign-in expires immediately after starting.

### GX-AUTH-010

**Device limit reached**

- **What happened:** Your account already has the maximum number of signed-in devices allowed by the server.
- **What you can do:** Open Settings > Account > Devices on an existing device and remove an unused device, then sign in again.
- **When to open an issue:** Open an issue if removing a device does not free a slot.

### GX-AUTH-011

**Pairing code or message invalid**

- **What happened:** The device pairing code is unknown, mistyped, or its encrypted key exchange failed.
- **What you can do:** Check the code shown on the other device or generate a fresh pairing code.
- **When to open an issue:** Open an issue if freshly generated pairing codes always fail.

### GX-AUTH-012

**Handle invalid or reserved**

- **What happened:** The requested handle contains disallowed characters, has invalid length, or is a reserved system name.
- **What you can do:** Choose a handle with 3 to 20 lowercase letters, numbers, or underscores.
- **When to open an issue:** No issue needed.

### GX-AUTH-013

**Handle already taken**

- **What happened:** Another account on this server is already using that handle.
- **What you can do:** Pick a different handle and try again.
- **When to open an issue:** No issue needed.

### GX-AUTH-014

**Handle change cooldown active**

- **What happened:** Handles can only be changed once every 30 days.
- **What you can do:** Wait until the 30-day cooldown passes before changing your handle again.
- **When to open an issue:** No issue needed.

### GX-AUTH-015

**Handle confirmation does not match**

- **What happened:** The confirmation handle you typed did not match your current account handle.
- **What you can do:** Type your exact current handle (without extra spaces) and confirm again.
- **When to open an issue:** No issue needed.

### GX-AUTH-016

**Recovery code invalid**

- **What happened:** The handle or account recovery code was incorrect.
- **What you can do:** Check the recovery code you saved when creating the account and enter it again carefully.
- **When to open an issue:** No issue needed.

### GX-AUTH-017

**Account required by this server**

- **What happened:** This Glyph server requires you to be signed in before using this feature or streaming YouTube tracks.
- **What you can do:** Sign in or create an account in Settings > Account.
- **When to open an issue:** No issue needed; this is configured by the server operator.

### GX-AUTH-018

**Server not accepting new accounts**

- **What happened:** This server has reached its maximum number of accounts or closed new signups.
- **What you can do:** Contact the server operator or connect to another Glyph server.
- **When to open an issue:** Only report this if you operate the server and the limit setting is not respected.

### GX-AUTH-019

**Access blocked by server**

- **What happened:** The server operator has blocked this account or device.
- **What you can do:** Contact the server operator if you believe this block was a mistake.
- **When to open an issue:** No issue needed for self-hosted servers; contact the server operator.

### GX-AUTH-020

**Admin permission required**

- **What happened:** This account does not have administrator privileges on the connected server.
- **What you can do:** Sign in with an admin account or ask the server owner to grant access.
- **When to open an issue:** No issue needed.

### GX-AUTH-021

**Server access token required**

- **What happened:** This private Glyph server requires a valid bearer access token.
- **What you can do:** Open Settings > Server and enter the access token provided by your server operator.
- **When to open an issue:** Open an issue if a valid token is saved but not sent.

### GX-AUTH-022

**Protected server requires HTTPS**

- **What happened:** Credentials and admin actions cannot be sent over plain HTTP (except localhost).
- **What you can do:** Change the server URL in Settings > Server to use https://.
- **When to open an issue:** No issue needed; HTTPS protects your access token.

### GX-AUTH-023

**Credential store unavailable**

- **What happened:** The operating system keychain or secure credential store could not save or read a token.
- **What you can do:** Make sure your system keyring (Windows Credential Manager, macOS Keychain, or Linux Secret Service) is unlocked.
- **When to open an issue:** Open an issue with your OS details if the keyring is unlocked and still fails.

### GX-AUTH-024

**Device not found or device list failed**

- **What happened:** The target device does not belong to your account or the device list could not be loaded.
- **What you can do:** Refresh your device list in Settings > Account and try again.
- **When to open an issue:** Open an issue if the device list never loads while signed in.

## JAM — Jam & Live Sessions

Shared Jam rooms, host permissions, push updates, and clock sync.

Related guide: [Jam help](jam.md) · Agent endpoints: [errors.glyph.my/area/jam.md](https://errors.glyph.my/area/jam.md) · [JSON](https://errors.glyph.my/area/jam.json)

### GX-JAM-001

**Invalid Jam code**

- **What happened:** The code you entered is not formatted like a valid Glyph Jam code.
- **What you can do:** Check the code with the Jam host or scan/open the Jam invite link directly.
- **When to open an issue:** No issue needed.

### GX-JAM-002

**Jam not found**

- **What happened:** No active Jam exists with that code on the current server.
- **What you can do:** Confirm you are connected to the same Glyph server as the host and ask for a fresh Jam code.
- **When to open an issue:** Open an issue if a just-created Jam cannot be found on the same server.

### GX-JAM-003

**Jam has ended**

- **What happened:** The host ended this Jam session or it expired after inactivity.
- **What you can do:** Start a new Jam or ask the host for a new invite.
- **When to open an issue:** No issue needed.

### GX-JAM-004

**Jam is full**

- **What happened:** This Jam already has the maximum number of listeners allowed.
- **What you can do:** Wait until someone leaves the Jam or start another Jam.
- **When to open an issue:** No issue needed.

### GX-JAM-005

**Removed from Jam or not a member**

- **What happened:** You are no longer a member of this Jam (either removed by the host or disconnected).
- **What you can do:** Ask the host if you can rejoin using the Jam code.
- **When to open an issue:** Open an issue if you are dropped repeatedly without the host removing you.

### GX-JAM-006

**Jam join request denied**

- **What happened:** The Jam host declined your request to join.
- **What you can do:** Check with the host before requesting to join again.
- **When to open an issue:** No issue needed.

### GX-JAM-007

**Jam host permission required**

- **What happened:** Only the Jam host can perform this action.
- **What you can do:** Ask the Jam host to change settings, manage members, or control playback.
- **When to open an issue:** Open an issue if you are the host and still see this code.

### GX-JAM-008

**Cannot join your own Jam**

- **What happened:** You tried to join a Jam that you are already hosting.
- **What you can do:** Open the Connect / Jam panel to manage your active Jam.
- **When to open an issue:** No issue needed.

### GX-JAM-009

**Jam host is already online**

- **What happened:** Host handover was declined because the current host is still connected.
- **What you can do:** Wait until the host leaves or asks to transfer host control.
- **When to open an issue:** No issue needed.

### GX-JAM-010

**Jam live push unavailable**

- **What happened:** This server does not support real-time Jam WebSocket push; Glyph falls back to periodic polling.
- **What you can do:** No action required; Jam continues working with slightly slower updates.
- **When to open an issue:** No issue needed unless live push is expected on your server.

### GX-JAM-011

**Jam live push quota reached**

- **What happened:** The server hit its daily live push budget; Glyph falls back to polling until tomorrow.
- **What you can do:** Jam keeps running in polling mode automatically.
- **When to open an issue:** No issue needed.

### GX-JAM-012

**Jam live connection timed out**

- **What happened:** Opening or maintaining the live Jam WebSocket connection failed or timed out.
- **What you can do:** Check your internet connection or firewall/proxy WebSocket support; Glyph will retry or fall back to polling.
- **When to open an issue:** Open an issue if Jam live connections never establish on a normal network.

### GX-JAM-013

**Jam clock sync failed**

- **What happened:** Glyph could not measure clock offset against the server to synchronize Jam playback position.
- **What you can do:** Check that your device clock is set automatically and your connection is stable.
- **When to open an issue:** Open an issue if playback stays several seconds out of sync on a stable network.

### GX-JAM-014

**Jam action not allowed**

- **What happened:** This playback or queue action is restricted by the current Jam permissions.
- **What you can do:** Ask the Jam host to allow guest controls or queue edits.
- **When to open an issue:** Open an issue if guests with permission enabled still see this error.

## DEV — Speakers, Cast & Connect

Remote device control, AirPlay, Chromecast, UPnP, and MPD outputs.

Related guide: [Speakers and TVs](../using-glyph/devices.md) · Agent endpoints: [errors.glyph.my/area/dev.md](https://errors.glyph.my/area/dev.md) · [JSON](https://errors.glyph.my/area/dev.json)

### GX-DEV-001

**Remote device offline or busy**

- **What happened:** The target Glyph device is offline, asleep, or busy and could not accept the command.
- **What you can do:** Open Glyph on the target device, make sure it is online, and try again.
- **When to open an issue:** Open an issue if an active, online device always reports unavailable.

### GX-DEV-002

**Remote device did not respond in time**

- **What happened:** The remote Glyph device did not confirm the playback command before the timeout.
- **What you can do:** Bring Glyph to the foreground on the target device and retry.
- **When to open an issue:** Open an issue if commands regularly time out between two open devices.

### GX-DEV-003

**Remote device needs an update**

- **What happened:** The target Glyph device runs an older version that does not support command acknowledgements.
- **What you can do:** Update Glyph on the target device to the latest version.
- **When to open an issue:** No issue needed.

### GX-DEV-004

**Connect live channel failed**

- **What happened:** The real-time WebSocket channel for remote playback control failed or timed out.
- **What you can do:** Check your internet connection; Glyph will reconnect automatically.
- **When to open an issue:** Open an issue if Connect never goes online while signed in.

### GX-DEV-005

**Output device not supported**

- **What happened:** This track or feature cannot be cast to the selected speaker or MPD output.
- **What you can do:** Play locally on this device or choose another compatible speaker.
- **When to open an issue:** No issue needed unless a documented format fails on a supported device.

### GX-DEV-006

**Speaker playback failed**

- **What happened:** Sending or playing audio on the selected external speaker failed.
- **What you can do:** Check that the speaker is powered on, on the same local network, and try connecting again.
- **When to open an issue:** Open an issue with the speaker model and protocol (Cast, AirPlay, UPnP, MPD).

### GX-DEV-007

**AirPlay connection or RTSP error**

- **What happened:** The AirPlay receiver closed the connection or rejected an RTSP command.
- **What you can do:** Reconnect to the AirPlay speaker and ensure both devices are on the same Wi-Fi network.
- **When to open an issue:** Open an issue with your AirPlay receiver model if playback never starts.

### GX-DEV-008

**AirPlay password or pairing unsupported**

- **What happened:** The AirPlay speaker requires a password or AirPlay 2 pairing, which Glyph does not yet support.
- **What you can do:** Disable the speaker password/pairing requirement in the speaker's settings if available, or use another output.
- **When to open an issue:** No issue needed; AirPlay 2 pairing support is tracked separately.

### GX-DEV-009

**Chromecast connection error**

- **What happened:** The Chromecast device closed the session or returned a Cast protocol error.
- **What you can do:** Make sure your Chromecast is on the same network and not blocked by AP isolation or firewall rules, then reconnect.
- **When to open an issue:** Open an issue with your Chromecast model if casting consistently fails.

### GX-DEV-010

**UPnP / DLNA device error**

- **What happened:** The UPnP or DLNA media renderer rejected the playback command.
- **What you can do:** Restart the renderer or select a different track format and try again.
- **When to open an issue:** Open an issue with the device model and UPnP error code from the details.

### GX-DEV-011

**MPD server connection error**

- **What happened:** Glyph could not connect to the configured MPD server or the server closed the connection.
- **What you can do:** Verify the MPD host, port, and password in Settings and make sure MPD is running.
- **When to open an issue:** Open an issue if another MPD client connects fine with the same settings.

## DL — Downloads

Offline audio downloads, integrity checks, and download folder management.

Related guide: [Downloads and audio quality](../using-glyph/downloads-and-quality.md) · Agent endpoints: [errors.glyph.my/area/dl.md](https://errors.glyph.my/area/dl.md) · [JSON](https://errors.glyph.my/area/dl.json)

### GX-DL-001

**Download failed**

- **What happened:** One or more tracks could not be downloaded for offline playback.
- **What you can do:** Check your internet connection and disk space, then retry the download.
- **When to open an issue:** Open an issue if all downloads fail on a working connection.

### GX-DL-002

**Online connection required to download**

- **What happened:** Tracks cannot be downloaded while Glyph is offline.
- **What you can do:** Reconnect to the internet and start the download again.
- **When to open an issue:** No issue needed.

### GX-DL-003

**Downloads storage not ready**

- **What happened:** The download manager is still initializing or its storage directory is temporarily unavailable.
- **What you can do:** Wait a few seconds and try again.
- **When to open an issue:** Open an issue if downloads stay not ready after restarting Glyph.

### GX-DL-004

**Already downloaded**

- **What happened:** All selected tracks are already saved for offline playback.
- **What you can do:** No action needed; play them directly from Downloads.
- **When to open an issue:** No issue needed.

### GX-DL-005

**No downloadable source available**

- **What happened:** None of the selected tracks are from a legally downloadable source (Jamendo, Audius, or Internet Archive).
- **What you can do:** Offline downloads are only enabled for sources that allow free downloads.
- **When to open an issue:** No issue needed.

### GX-DL-006

**Download source rejected or non-HTTPS**

- **What happened:** The download URL did not use HTTPS or pointed to an unusable source file.
- **What you can do:** Try downloading again later or pick another source.
- **When to open an issue:** Open an issue if a built-in downloadable source triggers this code.

### GX-DL-007

**Downloaded file incomplete or not audio**

- **What happened:** The download was cut off, empty, or the server returned an HTML/text document instead of audio.
- **What you can do:** Retry the download when your connection is stable.
- **When to open an issue:** Open an issue if the same track always downloads as a non-audio document.

### GX-DL-008

**Download exceeds size limit**

- **What happened:** The remote audio file is larger than Glyph's maximum single-track download limit.
- **What you can do:** Stream the track online instead of downloading it.
- **When to open an issue:** Open an issue if a normal-length song triggers this limit.

### GX-DL-009

**Download folder is busy**

- **What happened:** The download folder cannot be changed while downloads are actively running.
- **What you can do:** Wait for active downloads to finish or cancel them, then change the folder.
- **When to open an issue:** No issue needed.

### GX-DL-010

**Failed to move download folder**

- **What happened:** Moving existing downloaded tracks to the new directory failed.
- **What you can do:** Check permissions and free space on the destination drive, then try again.
- **When to open an issue:** Open an issue if the destination is writable and has plenty of space.

### GX-DL-011

**Downloaded file was damaged**

- **What happened:** A previously saved offline file failed playback integrity checks and was removed or queued for re-download.
- **What you can do:** Play online or let Glyph re-download the track automatically.
- **When to open an issue:** Open an issue if freshly downloaded tracks repeatedly become damaged.

## UPD — Updates

App version checks, signatures, checksums, and self-updates.

Related guide: [Install and updates help](install-and-updates.md) · Agent endpoints: [errors.glyph.my/area/upd.md](https://errors.glyph.my/area/upd.md) · [JSON](https://errors.glyph.my/area/upd.json)

### GX-UPD-001

**Update check failed**

- **What happened:** Glyph could not check for a newer release.
- **What you can do:** Check your internet connection and try Check for updates again in Settings > About.
- **When to open an issue:** Open an issue if update checks fail continuously while GitHub is reachable.

### GX-UPD-002

**App version too old for server**

- **What happened:** The connected Glyph server requires a newer version of Glyph (HTTP 426).
- **What you can do:** Install the update shown on screen or download the latest release from GitHub.
- **When to open an issue:** Open an issue only if you are already running the latest release.

### GX-UPD-003

**GitHub release API error or rate limit**

- **What happened:** GitHub returned an HTTP error or rate-limited the release check from your IP address.
- **What you can do:** Wait a few minutes and check again, or download the release manually from GitHub Releases.
- **When to open an issue:** No issue needed for temporary GitHub rate limits.

### GX-UPD-004

**No update available**

- **What happened:** An update install was triggered, but no pending update has been found yet.
- **What you can do:** Click Check for updates first in Settings > About.
- **When to open an issue:** No issue needed.

### GX-UPD-005

**Updates managed by package manager**

- **What happened:** This installation is managed by an OS package manager (such as apt, dnf, Flatpak, or Homebrew) and cannot self-update.
- **What you can do:** Update Glyph through your system package manager.
- **When to open an issue:** No issue needed.

### GX-UPD-006

**No release asset for this platform**

- **What happened:** The latest GitHub release does not include a matching binary for your OS and CPU architecture.
- **What you can do:** Check the Releases page on GitHub or wait a few minutes if a release is still uploading.
- **When to open an issue:** Open an issue if a stable release is missing your supported platform.

### GX-UPD-007

**Release missing checksum or signature**

- **What happened:** Glyph refused to install an update because SHA256SUMS.txt or its minisign signature was missing.
- **What you can do:** Wait a few minutes in case the release is still publishing, or check GitHub Releases.
- **When to open an issue:** Open an issue if a published release is missing its signature files.

### GX-UPD-008

**Update checksum mismatch**

- **What happened:** The downloaded update file's SHA-256 hash did not match the signed manifest, so it was discarded.
- **What you can do:** Retry the update download. Check your network/proxy if downloads are being corrupted.
- **When to open an issue:** Open an issue immediately if retrying still produces a checksum mismatch.

### GX-UPD-009

**Update signature verification failed**

- **What happened:** The cryptographic minisign signature on the release manifest failed verification and the update was refused.
- **What you can do:** Do not install the file manually from untrusted mirrors. Download directly from github.com/glyphmusic/apps/releases.
- **When to open an issue:** Open an issue immediately with the version number.

### GX-UPD-010

**Update download failed or unsafe URL**

- **What happened:** Downloading the update package failed, exceeded the size limit, or redirected to a non-HTTPS URL.
- **What you can do:** Check your internet connection and retry, or download the installer from GitHub Releases.
- **When to open an issue:** Open an issue if the download consistently fails on a healthy connection.

### GX-UPD-011

**Update archive invalid**

- **What happened:** The downloaded update archive was damaged or did not contain the expected Glyph executable.
- **What you can do:** Retry the update or download the installer manually from GitHub Releases.
- **When to open an issue:** Open an issue with the release tag and platform.

### GX-UPD-012

**Could not launch update installer**

- **What happened:** The OS package installer could not be started for the downloaded update.
- **What you can do:** On Android, allow installing unknown apps for Glyph. On desktop, download and run the installer from GitHub Releases.
- **When to open an issue:** Open an issue with your OS version if installer launch keeps failing.

## PLG — Plugins, Themes & Backgrounds

Plugin catalog, WASM sandbox, manifests, themes, and custom backgrounds.

Related guide: [Plugin troubleshooting](../plugins/troubleshooting.md) · Agent endpoints: [errors.glyph.my/area/plg.md](https://errors.glyph.my/area/plg.md) · [JSON](https://errors.glyph.my/area/plg.json)

### GX-PLG-001

**Plugin catalog unreachable**

- **What happened:** Glyph could not fetch the plugin catalog while offline or unable to reach the catalog host.
- **What you can do:** Check your internet connection and refresh Settings > Plugins.
- **When to open an issue:** Open an issue if the catalog stays unreachable while you are online.

### GX-PLG-002

**Plugin catalog GitHub rate limit reached**

- **What happened:** GitHub rate-limited requests to the plugin catalog from your network.
- **What you can do:** Wait a few minutes and refresh Settings > Plugins.
- **When to open an issue:** No issue needed for brief GitHub rate limits.

### GX-PLG-003

**Plugin system not ready**

- **What happened:** The plugin host has not finished starting yet.
- **What you can do:** Wait a couple of seconds and retry your action.
- **When to open an issue:** Open an issue if plugins remain unavailable after startup.

### GX-PLG-004

**Invalid plugin ZIP or manifest**

- **What happened:** The file is not a valid ZIP archive, lacks glyph-plugin.json, or contains multiple plugins.
- **What you can do:** Verify the plugin package follows the Glyph plugin format and includes a single valid glyph-plugin.json.
- **When to open an issue:** Only report this if an official catalog plugin fails validation.

### GX-PLG-005

**Plugin archive or WASM module invalid**

- **What happened:** The plugin ZIP or WebAssembly module exceeds the size limit or is not valid WebAssembly.
- **What you can do:** Rebuild or re-download the plugin and check the size limits in the plugin docs.
- **When to open an issue:** Only report this if a valid small WASM plugin is rejected.

### GX-PLG-006

**Plugin ID conflict**

- **What happened:** Another installed plugin already uses the same plugin ID.
- **What you can do:** Uninstall the conflicting plugin first, or change the ID if developing your own plugin.
- **When to open an issue:** No issue needed.

### GX-PLG-007

**Plugin stopped after error**

- **What happened:** A running plugin crashed, timed out, or misbehaved and was stopped to protect Glyph.
- **What you can do:** Check Settings > Plugins for details, update the plugin, or disable it.
- **When to open an issue:** Report to the plugin author, or open a Glyph issue if it is an official plugin.

### GX-PLG-008

**Plugin permission denied**

- **What happened:** The plugin attempted an action it does not have permission for (such as modifying protected settings or editing a Jam queue).
- **What you can do:** Grant the required permission in Settings > Plugins if you trust the plugin, or update the plugin.
- **When to open an issue:** No issue needed; the sandbox is working as designed.

### GX-PLG-009

**Plugin network request blocked**

- **What happened:** The plugin sandbox blocked a request to a private/local IP, a Glyph server, an undeclared host, or a response over 4 MiB.
- **What you can do:** Plugin authors must declare allowed external domains in glyph-plugin.json.
- **When to open an issue:** No issue needed unless a declared public host is wrongly blocked.

### GX-PLG-010

**Plugin call rate limit reached**

- **What happened:** Installed plugins exceeded the combined host API rate limit.
- **What you can do:** Wait a moment and disable any plugin making excessive background requests.
- **When to open an issue:** Open an issue if this triggers with only official plugins enabled.

### GX-PLG-011

**Plugin theme or stylesheet invalid**

- **What happened:** A look/theme plugin has an invalid colour value, disallowed CSS construct, or broken asset URL.
- **What you can do:** Switch back to the default theme in Settings > Appearance or fix the theme manifest/CSS.
- **When to open an issue:** Report to the theme author, or open an issue for official themes.

### GX-PLG-012

**Plugin settings could not be saved**

- **What happened:** Saving configuration or credentials for a plugin failed.
- **What you can do:** Verify all required fields are filled and check disk/keyring availability, then save again.
- **When to open an issue:** Open an issue if saving always fails.

### GX-PLG-013

**Could not pin plugin app icon**

- **What happened:** Pinning or applying a custom app icon provided by a plugin failed on this device.
- **What you can do:** Try again or check whether your OS launcher supports custom app icons.
- **When to open an issue:** Open an issue with your OS/launcher version if supported icons fail to apply.

### GX-PLG-014

**Custom background invalid or limit reached**

- **What happened:** The chosen background picture is unsupported, too large, or you reached the maximum number of saved backgrounds.
- **What you can do:** Use a PNG, JPEG, or WebP picture within the size limit, or remove an old background first.
- **When to open an issue:** No issue needed.

## NET — Network & Connectivity

Internet access, server reachability, TLS, timeouts, and rate limits.

Related guide: [Help overview](README.md) · Agent endpoints: [errors.glyph.my/area/net.md](https://errors.glyph.my/area/net.md) · [JSON](https://errors.glyph.my/area/net.json)

### GX-NET-001

**No internet connection**

- **What happened:** This device cannot reach the internet right now.
- **What you can do:** Check Wi-Fi or mobile data. Downloaded songs remain playable offline.
- **When to open an issue:** Open an issue if Glyph reports offline while other apps have internet access.

### GX-NET-002

**Glyph server unreachable**

- **What happened:** Glyph could not connect to the configured Glyph server.
- **What you can do:** Check status.glyph.my or verify your server URL in Settings > Server. Local playback and downloads still work.
- **When to open an issue:** Open an issue if api.glyph.my is unreachable and status.glyph.my shows no outage.

### GX-NET-003

**Network request timed out**

- **What happened:** The server or upstream service did not respond before the timeout expired.
- **What you can do:** Check your connection stability and try again in a moment.
- **When to open an issue:** Open an issue if timeouts happen constantly on a fast connection.

### GX-NET-004

**DNS lookup failed**

- **What happened:** The hostname for the Glyph server or music provider could not be resolved.
- **What you can do:** Check the server URL spelling in Settings > Server and verify your DNS / VPN settings.
- **When to open an issue:** No issue needed for local DNS or typo issues.

### GX-NET-005

**TLS or HTTPS connection failed**

- **What happened:** Establishing a secure TLS connection failed (for example, an invalid certificate or captive portal).
- **What you can do:** Check your system clock, Wi-Fi login portal, or self-hosted server TLS certificate.
- **When to open an issue:** Open an issue if api.glyph.my fails TLS on a standard network with the right system time.

### GX-NET-006

**Incompatible server protocol version**

- **What happened:** The Glyph server uses a different protocol version than this app supports.
- **What you can do:** Update both Glyph and your self-hosted server to compatible versions.
- **When to open an issue:** Open an issue if this happens on api.glyph.my with the latest Glyph release.

### GX-NET-007

**Server daily quota reached**

- **What happened:** The hosted Glyph server reached its daily edge quota; Glyph switched to local fallback where possible.
- **What you can do:** Wait for the daily quota reset or switch to a self-hosted server / Direct mode in Settings > Server.
- **When to open an issue:** Check status.glyph.my before opening an issue.

### GX-NET-008

**Too many requests**

- **What happened:** Requests were temporarily throttled due to rate limiting.
- **What you can do:** Wait a short moment and try again.
- **When to open an issue:** Open an issue if normal usage regularly triggers rate limits.

### GX-NET-009

**Status page unreachable**

- **What happened:** Glyph could not fetch live service health from status.glyph.my.
- **What you can do:** Check your internet connection and press Retry.
- **When to open an issue:** Open an issue if status.glyph.my opens in a browser but fails in Glyph.

### GX-NET-010

**Network request failed**

- **What happened:** An HTTP or socket request failed due to a connection drop or transport error.
- **What you can do:** Check your network connection and retry.
- **When to open an issue:** Open an issue if this occurs repeatedly on a reliable network.

## CFG — Settings & Configuration

Configuration files, settings codes, equalizer presets, and platform features.

Related guide: [Settings file](../using-glyph/config-file.md) · Agent endpoints: [errors.glyph.my/area/cfg.md](https://errors.glyph.my/area/cfg.md) · [JSON](https://errors.glyph.my/area/cfg.json)

### GX-CFG-001

**Configuration file is corrupt or invalid**

- **What happened:** Glyph could not parse config.toml because of invalid syntax or unexpected values.
- **What you can do:** Inspect config.toml in Glyph's data folder or rename it so Glyph creates a clean default configuration.
- **When to open an issue:** Open an issue if Glyph corrupted config.toml without manual editing.

### GX-CFG-002

**Could not save settings**

- **What happened:** Writing updated settings to config.toml failed.
- **What you can do:** Check that Glyph's data directory is writable and the disk is not full.
- **When to open an issue:** Open an issue if disk permissions and space are normal.

### GX-CFG-003

**Invalid or newer Glyph settings code**

- **What happened:** The pasted settings code is invalid, too large, or exported from a newer version of Glyph.
- **What you can do:** Update Glyph to the latest version or copy the complete settings code again.
- **When to open an issue:** Open an issue if a code exported from the same Glyph version fails.

### GX-CFG-004

**Invalid equalizer preset code**

- **What happened:** The pasted text is not a valid Glyph equalizer code or has the wrong number of bands.
- **What you can do:** Copy a complete Glyph equalizer code and try importing it again.
- **When to open an issue:** Open an issue if a freshly exported equalizer code is rejected.

### GX-CFG-005

**Feature not supported on this platform**

- **What happened:** This action is only available on another platform (for example, desktop-only settings on mobile).
- **What you can do:** No action needed; use the feature on a supported platform.
- **When to open an issue:** Open an issue if a button is visible on a platform where it should not appear.

### GX-CFG-006

**Autostart configuration failed**

- **What happened:** Glyph could not register or remove itself from OS startup items.
- **What you can do:** Check OS startup permissions or configure Glyph in your system's Login Items / Startup Apps.
- **When to open an issue:** Open an issue with your OS version if toggling autostart fails.

### GX-CFG-007

**Unsupported external link**

- **What happened:** Glyph refused to open a link with an unsupported or unsafe URL scheme.
- **What you can do:** Only https://, http://, mailto:, and sms: links can be opened.
- **When to open an issue:** Open an issue if a normal Glyph help or source link triggers this.

### GX-CFG-008

**Invalid internal command or argument**

- **What happened:** An internal UI-to-backend command was unrecognized or received invalid parameters.
- **What you can do:** Restart Glyph. If you are using a development build, make sure UI and backend versions match.
- **When to open an issue:** Open an issue with the command name from Details.

## FS — Local Files & Storage

Disk access, permissions, local audio files, and cache storage.

Related guide: [Local files](../using-glyph/local-files.md) · Agent endpoints: [errors.glyph.my/area/fs.md](https://errors.glyph.my/area/fs.md) · [JSON](https://errors.glyph.my/area/fs.json)

### GX-FS-001

**File or folder not found**

- **What happened:** The requested file or directory no longer exists at its saved path.
- **What you can do:** Verify the file or removable drive is still present and re-add the folder if it moved.
- **When to open an issue:** No issue needed for moved or deleted files.

### GX-FS-002

**File permission denied**

- **What happened:** The operating system denied Glyph permission to read or write the file or folder.
- **What you can do:** Grant Glyph storage/folder permissions or choose a folder inside your user directory.
- **When to open an issue:** Open an issue if Glyph cannot access its own data directory.

### GX-FS-003

**Folder not writable or disk full**

- **What happened:** Glyph could not write data because the disk is full or the directory is read-only.
- **What you can do:** Free disk space or choose a writable directory in Settings.
- **When to open an issue:** No issue needed when the disk is full.

### GX-FS-004

**Local audio file unreadable**

- **What happened:** The local file is not a supported audio format or its metadata/audio could not be read.
- **What you can do:** Make sure the file is a valid MP3, FLAC, OGG, M4A, AAC, WAV, or MKA file.
- **When to open an issue:** Open an issue if a valid audio file that plays in other players fails here.

### GX-FS-005

**Local file I/O error**

- **What happened:** Reading or writing a local file failed unexpectedly.
- **What you can do:** Retry the action and check disk health or antivirus exclusions if it repeats.
- **When to open an issue:** Open an issue with the details if this happens regularly.

### GX-FS-006

**Could not clear cache or storage**

- **What happened:** Clearing cached covers, audio cache, or downloads failed, or an unknown storage category was requested.
- **What you can do:** Pause playback and try clearing storage again in Settings > Storage.
- **When to open an issue:** Open an issue if clearing cache fails repeatedly.

## MOB — Android & Wear OS

Android native bridge, WebView, background service, Keystore, and Wear OS.

Related guide: [Android app](../using-glyph/mobile.md) · Agent endpoints: [errors.glyph.my/area/mob.md](https://errors.glyph.my/area/mob.md) · [JSON](https://errors.glyph.my/area/mob.json)

### GX-MOB-001

**Android native bridge not initialized**

- **What happened:** The Android WebView invoked a backend command before the native Rust core finished starting.
- **What you can do:** Force-close and reopen Glyph.
- **When to open an issue:** Open an issue with your Android version if this happens on startup.

### GX-MOB-002

**Native command crashed on Android**

- **What happened:** An internal Rust command panicked inside the Android JNI bridge and was safely caught.
- **What you can do:** Try the action again or restart Glyph.
- **When to open an issue:** Always open an issue with this code and what you tapped before it appeared.

### GX-MOB-003

**Android Activity unavailable**

- **What happened:** A native Android action (clipboard, share sheet, open link, or app icon) ran while no Activity was attached.
- **What you can do:** Bring Glyph to the foreground and try again.
- **When to open an issue:** Open an issue if this happens while actively using the app.

### GX-MOB-004

**Android WebView failed to load UI**

- **What happened:** The embedded Android WebView failed to load the Glyph interface after retrying.
- **What you can do:** Tap Retry, update Android System WebView from the Play Store, or restart Glyph.
- **When to open an issue:** Open an issue with your device model and Android System WebView version.

### GX-MOB-005

**Android WebView renderer crashed**

- **What happened:** Android killed or crashed the WebView rendering process; Glyph recreated the view.
- **What you can do:** Glyph recovers automatically. Free memory or update Android System WebView if it happens often.
- **When to open an issue:** Open an issue if the screen repeatedly reloads or crashes.

### GX-MOB-006

**Android secure storage error**

- **What happened:** Android Keystore or encrypted app storage could not read or write credentials.
- **What you can do:** Restart Glyph. If the error persists, clear app data and sign in again.
- **When to open an issue:** Open an issue with your Android version and device manufacturer.

### GX-MOB-007

**Android background playback service error**

- **What happened:** The Android foreground playback service could not start or lost audio focus/notification permission.
- **What you can do:** Allow notifications and disable aggressive battery optimization for Glyph in Android Settings.
- **When to open an issue:** Open an issue if background playback stops with battery optimization disabled.

### GX-MOB-008

**Wear OS remote connection failed**

- **What happened:** The Glyph Wear OS app could not reach the server or maintain its live WebSocket connection.
- **What you can do:** Check that your watch has Wi-Fi or phone Bluetooth connectivity and tap Retry.
- **When to open an issue:** Open an issue if the watch has internet access and still cannot connect.

### GX-MOB-009

**Wear OS session expired**

- **What happened:** Your Glyph Wear OS watch session expired or was removed from your account.
- **What you can do:** Pair the watch again from Settings > Account on your phone or desktop.
- **When to open an issue:** Open an issue if the watch gets signed out every day.

## WEB — Web Player

Browser playback restrictions, web client errors, and web-only limits.

Related guide: [Web player](../using-glyph/web-player.md) · Agent endpoints: [errors.glyph.my/area/web.md](https://errors.glyph.my/area/web.md) · [JSON](https://errors.glyph.my/area/web.json)

### GX-WEB-001

**Browser blocked audio playback**

- **What happened:** Your browser blocked autoplay, an embedded stream, or audio playback in the Web Player.
- **What you can do:** Click Play to satisfy browser autoplay rules, disable strict media blockers for Glyph, or use the native Glyph app.
- **When to open an issue:** Open an issue if standard tracks fail in a clean browser profile.

### GX-WEB-002

**Web Player API request failed**

- **What happened:** A request from the Web Player to the Glyph server failed.
- **What you can do:** Check your internet connection and reload the page.
- **When to open an issue:** Open an issue if the server is online and requests keep failing.

### GX-WEB-003

**Feature requires native Glyph app**

- **What happened:** This action (such as local downloads, local folders, or local plugins) is only available in the desktop or Android app.
- **What you can do:** Install the Glyph desktop or Android app to use this feature.
- **When to open an issue:** No issue needed.

### GX-WEB-004

**Page failed to render**

- **What happened:** An unexpected UI error occurred while rendering the current page.
- **What you can do:** Click Retry or Back. The rest of Glyph continues to work.
- **When to open an issue:** Open an issue and attach the technical details from the error card.

### GX-WEB-005

**App failed to start**

- **What happened:** Glyph encountered a fatal error during startup before the main UI could load.
- **What you can do:** Click Retry or reload/restart Glyph.
- **When to open an issue:** Open an issue and copy the details from the startup error card.

### GX-WEB-006

**Clipboard access denied**

- **What happened:** The browser or OS denied access to the clipboard.
- **What you can do:** Allow clipboard access in browser site permissions or copy the text manually.
- **When to open an issue:** No issue needed.

## MCP — AI Assistants (MCP)

Model Context Protocol local server, cloud relay, OAuth, and tool execution.

Related guide: [AI assistants (MCP)](../using-glyph/ai-assistants.md) · Agent endpoints: [errors.glyph.my/area/mcp.md](https://errors.glyph.my/area/mcp.md) · [JSON](https://errors.glyph.my/area/mcp.json)

### GX-MCP-001

**MCP origin not allowed**

- **What happened:** The local MCP server rejected an HTTP request from a disallowed Origin header.
- **What you can do:** Connect using an MCP client directly rather than an untrusted browser page.
- **When to open an issue:** No issue needed; origin checks protect local playback control.

### GX-MCP-002

**MCP bearer token missing or invalid**

- **What happened:** The MCP client did not present a valid bearer token.
- **What you can do:** Copy the current MCP token from Settings > Integrations or re-authorize OAuth in your AI assistant.
- **When to open an issue:** Open an issue if a freshly copied token is rejected.

### GX-MCP-003

**MCP server is disabled**

- **What happened:** AI assistant (MCP) access is disabled in your Glyph settings or on this server.
- **What you can do:** Enable AI assistant integration in Settings > Integrations.
- **When to open an issue:** No issue needed.

### GX-MCP-004

**MCP protocol or JSON-RPC parse error**

- **What happened:** The MCP request body was not valid JSON-RPC 2.0 or used an unsupported method or framing.
- **What you can do:** Make sure your AI client supports MCP Streamable HTTP and sends valid JSON-RPC requests.
- **When to open an issue:** Open an issue if a standard MCP client fails the handshake.

### GX-MCP-005

**Unknown MCP tool or invalid arguments**

- **What happened:** The AI assistant called an unrecognized MCP tool or passed invalid arguments.
- **What you can do:** Refresh the tool list in your AI assistant and retry.
- **When to open an issue:** Open an issue if a tool listed by tools/list is rejected.

### GX-MCP-006

**MCP tool permission denied**

- **What happened:** The AI assistant tried to use a tool that is disabled in your MCP permission settings.
- **What you can do:** Review and enable the needed capability in Settings > Integrations.
- **When to open an issue:** No issue needed.

### GX-MCP-007

**Glyph did not answer MCP request in time**

- **What happened:** No online Glyph app answered the relayed MCP tool call before the timeout expired.
- **What you can do:** Open Glyph on your desktop, phone, or web browser and retry the request.
- **When to open an issue:** Open an issue if an open, online Glyph app never answers MCP calls.

### GX-MCP-008

**MCP tool requires native desktop app**

- **What happened:** Only the Web Player is online, but the requested MCP tool (such as local plugin inspection) requires the native Glyph app.
- **What you can do:** Open the Glyph desktop app and try the MCP call again.
- **When to open an issue:** No issue needed.

### GX-MCP-009

**Local MCP server failed to bind**

- **What happened:** Glyph could not listen on the configured local MCP port (it may already be in use).
- **What you can do:** Change the local MCP port in Settings > Integrations or stop the process using that port.
- **When to open an issue:** Open an issue if binding fails on unused ports.

### GX-MCP-010

**MCP OAuth error**

- **What happened:** OAuth registration, authorization, or token exchange for an AI assistant failed.
- **What you can do:** Restart the OAuth connection from your AI assistant and approve it promptly.
- **When to open an issue:** Open an issue with the AI client name if OAuth consistently fails.

### GX-MCP-011

**MCP documentation lookup failed**

- **What happened:** The docs MCP endpoint could not load documentation from GitHub or find the requested page/section.
- **What you can do:** Check the page path or retry in a moment.
- **When to open an issue:** Open an issue if docs.glyph.my/mcp fails for valid queries.

### GX-MCP-012

**MCP tool execution failed**

- **What happened:** Running the requested MCP tool returned an error.
- **What you can do:** Check the tool error message returned to your assistant and verify the referenced track, playlist, or device exists.
- **When to open an issue:** Open an issue if valid tool calls consistently fail.

## SRV — Server

HTTP API, storage, proxy streaming, and operator policy errors returned by a Glyph server.

Related guide: [Your own server help](server.md) · Agent endpoints: [errors.glyph.my/area/srv.md](https://errors.glyph.my/area/srv.md) · [JSON](https://errors.glyph.my/area/srv.json)

### GX-SRV-001

**Bad request**

- **What happened:** The Glyph server rejected the request because a parameter or JSON body was missing or invalid.
- **What you can do:** Retry the action and make sure your Glyph app is up to date.
- **When to open an issue:** Open an issue with what you were doing when this code appeared.

### GX-SRV-002

**Server endpoint or resource not found**

- **What happened:** The requested API route, playlist link, cover, or resource was not found on the Glyph server.
- **What you can do:** Check that the link is still valid and that your app and server versions are compatible.
- **When to open an issue:** Open an issue if a built-in app feature hits a missing endpoint on api.glyph.my.

### GX-SRV-003

**HTTP method not allowed**

- **What happened:** The server received an unsupported HTTP method for this endpoint.
- **What you can do:** Update Glyph if you see this inside the app, or check your custom API client.
- **When to open an issue:** Open an issue if this happens during normal app usage.

### GX-SRV-004

**Request body too large**

- **What happened:** The upload or JSON request exceeded the server's maximum payload size.
- **What you can do:** Use a smaller file, image, or plugin archive and try again.
- **When to open an issue:** Open an issue if normal app sync requests trigger this error.

### GX-SRV-005

**Server rate limit exceeded**

- **What happened:** You sent too many requests to the Glyph server in a short period (HTTP 429).
- **What you can do:** Wait a few seconds (or the Retry-After window) and try again.
- **When to open an issue:** Open an issue if normal listening triggers rate limits.

### GX-SRV-006

**Temporarily blocked by abuse protection**

- **What happened:** The server's automatic abuse protection temporarily paused requests from this client or network.
- **What you can do:** Wait until the temporary block expires and try again.
- **When to open an issue:** Contact the server operator or open an issue if this happens under normal use.

### GX-SRV-007

**Daily YouTube song limit reached**

- **What happened:** This Glyph server limits how many YouTube songs each user can resolve per day, and you reached today's cap.
- **What you can do:** Wait for the daily reset, use local yt-dlp in Settings > Sources, or connect to your own Glyph server.
- **When to open an issue:** No issue needed; this is a server operator limit.

### GX-SRV-008

**Server queue full or timed out**

- **What happened:** The Glyph server is currently overloaded and could not accept or finish your request in time.
- **What you can do:** Wait a few seconds and try again.
- **When to open an issue:** Open an issue if api.glyph.my stays overloaded for an extended time.

### GX-SRV-009

**Upstream provider unavailable on server**

- **What happened:** The Glyph server could not reach an upstream music provider or required backend helper.
- **What you can do:** Wait a moment and retry, or try another source.
- **When to open an issue:** Open an issue if this persists across all songs.

### GX-SRV-010

**Upstream provider rate-limited**

- **What happened:** An external music service rate-limited the Glyph server.
- **What you can do:** Wait a minute and try again.
- **When to open an issue:** Open an issue if it continues for hours.

### GX-SRV-011

**Upstream media or cover fetch failed**

- **What happened:** The server could not fetch an image or stream from an upstream host.
- **What you can do:** Retry in a moment or choose a different cover/source.
- **When to open an issue:** Open an issue if valid upstream URLs always fail.

### GX-SRV-012

**Internal server error**

- **What happened:** The Glyph server encountered an unexpected internal error while handling the request.
- **What you can do:** Try again in a moment. If you self-host, check the server logs.
- **When to open an issue:** Open an issue with the time and action if this happens on api.glyph.my.

### GX-SRV-013

**Server account storage error**

- **What happened:** The server's account database (SQLite/D1/R2) returned an error.
- **What you can do:** Wait a moment and retry. Self-hosters should check database disk space and bindings.
- **When to open an issue:** Open an issue if this persists on api.glyph.my.

### GX-SRV-014

**Not implemented or supported on server**

- **What happened:** This server host or deployment type does not support the requested operation.
- **What you can do:** Check the server documentation for feature support between Cloudflare Worker and native servers.
- **When to open an issue:** No issue needed unless a documented feature returns this.

### GX-SRV-015

**Server admin API disabled**

- **What happened:** The admin interface is disabled on this Glyph server.
- **What you can do:** Enable admin access in the server configuration if you operate this server.
- **When to open an issue:** No issue needed.

### GX-SRV-016

**Server owner permission required**

- **What happened:** Only the server owner can perform this administrative action.
- **What you can do:** Sign in as the server owner to change this setting.
- **When to open an issue:** No issue needed.

### GX-SRV-017

**Admin sign-in failed or locked out**

- **What happened:** The admin password was wrong or too many failed attempts triggered a temporary lockout.
- **What you can do:** Wait for any lockout timer to expire and enter the correct admin password.
- **When to open an issue:** No issue needed.

### GX-SRV-018

**WebSocket upgrade required**

- **What happened:** This live endpoint requires a WebSocket upgrade (HTTP 426).
- **What you can do:** Check that any reverse proxy in front of a self-hosted Glyph server forwards Upgrade and Connection headers.
- **When to open an issue:** Open an issue if this appears in the official app on api.glyph.my.

### GX-SRV-019

**Video streaming disabled on server**

- **What happened:** The server operator has disabled music video streaming on this server.
- **What you can do:** Use audio playback or enable video streaming in your self-hosted server configuration.
- **When to open an issue:** No issue needed.

### GX-SRV-020

**Setting managed by server operator**

- **What happened:** This account setting (such as the device limit) is enforced globally by the server operator and cannot be changed by users.
- **What you can do:** Contact the server operator if you need a higher limit.
- **When to open an issue:** No issue needed.

### GX-SRV-021

**Audio or video proxy stream failed**

- **What happened:** The server's media proxy failed to resolve or stream audio/video bytes from the upstream source.
- **What you can do:** Press Play again in a moment or pick another source via Wrong song.
- **When to open an issue:** Open an issue if media proxying fails for all tracks.

### GX-SRV-022

**Invalid media byte range**

- **What happened:** The server rejected an unsatisfiable HTTP Range request (HTTP 416).
- **What you can do:** Restart playback of the song from the beginning.
- **When to open an issue:** Open an issue if seeking in the app triggers HTTP 416.

## CMP — Companion

Glyph Companion resolver container, r-dlp auto-updates, and internal proxy routes.

Related guide: [YouTube companion](../self-hosting/companion.md) · Agent endpoints: [errors.glyph.my/area/cmp.md](https://errors.glyph.my/area/cmp.md) · [JSON](https://errors.glyph.my/area/cmp.json)

### GX-CMP-001

**Companion r-dlp update failed (using cache)**

- **What happened:** Glyph Companion could not fetch a newer r-dlp release at startup and kept using its verified cached binary.
- **What you can do:** No urgent action required; check outbound internet/GitHub connectivity from the Companion container.
- **When to open an issue:** Open an issue if GitHub is reachable and updates fail consistently.

### GX-CMP-002

**Companion r-dlp cache unavailable (using bundled)**

- **What happened:** Glyph Companion could not update r-dlp and found no verified cached copy, falling back to the bundled binary.
- **What you can do:** Ensure /cache is writable and the container can reach GitHub Releases.
- **When to open an issue:** Open an issue if /cache is writable and GitHub is reachable.

### GX-CMP-003

**Companion r-dlp verification failed**

- **What happened:** An r-dlp update downloaded by Companion failed SHA-256 or minisign signature verification and was rejected.
- **What you can do:** Restart the Companion container to retry, and verify release-key.pub is up to date.
- **When to open an issue:** Open an issue immediately if an official r-dlp release fails signature verification.

### GX-CMP-004

**Companion internal authentication failed**

- **What happened:** An internal Companion route (/internal/*) rejected the request due to a missing or mismatched YTDLP_SERVICE_TOKEN.
- **What you can do:** Verify YTDLP_SERVICE_TOKEN matches between your Glyph server/Worker and Companion container.
- **When to open an issue:** No issue needed for configuration mismatches.

### GX-CMP-005

**Companion audio or video resolve failed**

- **What happened:** The Companion service failed to resolve a YouTube audio or video stream.
- **What you can do:** Check Companion logs for r-dlp or yt-dlp errors and update the Companion image.
- **When to open an issue:** Open an issue with Companion logs if all tracks fail.

### GX-CMP-006

**Companion import service unavailable**

- **What happened:** The Worker could not reach the Companion import helper to fetch a playlist.
- **What you can do:** Retry later, import locally, or check that the Companion container is running and healthy.
- **When to open an issue:** Open an issue if this persists on api.glyph.my.

### GX-CMP-007

**Companion resolver timed out**

- **What happened:** A Companion resolve or import worker exceeded its execution timeout.
- **What you can do:** Try again in a moment and check Companion CPU/network load.
- **When to open an issue:** Open an issue if timeouts happen on an idle Companion instance.

### GX-CMP-008

**Companion request invalid**

- **What happened:** An internal Companion endpoint received invalid parameters or an unsupported HTTP method.
- **What you can do:** Make sure Glyph server and Companion are running compatible versions.
- **When to open an issue:** Open an issue if both server and Companion are on the latest release.

## RDLP — r-dlp Resolver

YouTube direct-stream resolver CLI and JSON-lines worker errors.

Related guide: [r-dlp](../components/r-dlp.md) · Agent endpoints: [errors.glyph.my/area/rdlp.md](https://errors.glyph.my/area/rdlp.md) · [JSON](https://errors.glyph.my/area/rdlp.json)

### GX-RDLP-001

**Invalid JSON request to r-dlp**

- **What happened:** The r-dlp worker received a malformed JSON line on stdin.
- **What you can do:** Restart Glyph or Companion; if calling r-dlp directly, send one valid JSON object per line.
- **When to open an issue:** Open an issue if Glyph or Companion itself triggers this code.

### GX-RDLP-002

**r-dlp request frame invalid**

- **What happened:** A request line sent to r-dlp serve exceeded 4096 bytes or lacked a terminating newline.
- **What you can do:** Ensure requests are compact JSON lines under 4096 bytes.
- **When to open an issue:** Open an issue if Glyph triggers this internally.

### GX-RDLP-003

**Invalid YouTube video ID or URL**

- **What happened:** r-dlp was given a string that is neither a valid 11-character YouTube ID nor an HTTPS YouTube URL.
- **What you can do:** Pass a valid YouTube video ID or https:// URL.
- **When to open an issue:** Open an issue if a valid YouTube link is rejected.

### GX-RDLP-004

**r-dlp resolution deadline exceeded**

- **What happened:** Resolving the YouTube stream exceeded the configured time budget.
- **What you can do:** Retry the request; check network latency to YouTube.
- **When to open an issue:** Open an issue if r-dlp always times out on a fast connection.

### GX-RDLP-005

**YouTube video unavailable or rejected**

- **What happened:** YouTube's player endpoint reported the video as unavailable, private, age-gated, or blocked.
- **What you can do:** Pick another match via Wrong song or let yt-dlp fallback handle it.
- **When to open an issue:** Only report this if all normal public videos are rejected.

### GX-RDLP-006

**Live streams are not supported by r-dlp**

- **What happened:** The target YouTube video is a live broadcast, which r-dlp does not resolve.
- **What you can do:** Choose a regular non-live recording via Wrong song.
- **When to open an issue:** No issue needed.

### GX-RDLP-007

**No compatible direct audio format**

- **What happened:** r-dlp found no direct audio stream without signature deciphering; Glyph will fall back to yt-dlp.
- **What you can do:** Keep yt-dlp installed in Settings > Sources (or Companion) for fallback.
- **When to open an issue:** Open an issue if this starts happening for every video.

### GX-RDLP-008

**No compatible direct MP4 video stream**

- **What happened:** r-dlp found no direct MP4 video format matching the requested max height.
- **What you can do:** Switch back to audio mode or try a different video.
- **When to open an issue:** Open an issue if no videos resolve direct MP4 streams.

### GX-RDLP-009

**Mismatched YouTube player video ID**

- **What happened:** YouTube returned player metadata for a different video ID than requested.
- **What you can do:** Try resolving the track again.
- **When to open an issue:** Open an issue if this repeats across different tracks.

### GX-RDLP-010

**Anonymous visitor context unavailable**

- **What happened:** r-dlp could not obtain or parse an anonymous YouTube visitor token.
- **What you can do:** Wait a moment and retry, or update r-dlp to the latest release.
- **When to open an issue:** Open an issue in glyphmusic/r-dlp if visitor bootstrapping stops working.

### GX-RDLP-011

**Upstream YouTube response invalid or too large**

- **What happened:** YouTube returned an oversized, truncated, or unparseable player payload, or an invalid media host.
- **What you can do:** Try again in a moment or update r-dlp.
- **When to open an issue:** Open an issue in glyphmusic/r-dlp if this persists.

### GX-RDLP-012

**Media probe verification failed**

- **What happened:** The --verify range probe did not receive a valid partial media response from YouTube.
- **What you can do:** Retry the resolve request; Glyph will fall back to yt-dlp if needed.
- **When to open an issue:** Open an issue if verified probes fail consistently.

### GX-RDLP-013

**r-dlp network error**

- **What happened:** r-dlp encountered an HTTP or TLS transport error contacting YouTube.
- **What you can do:** Check your internet connection and retry.
- **When to open an issue:** Open an issue if YouTube is reachable normally but r-dlp always fails.

### GX-RDLP-014

**Invalid r-dlp CLI arguments or budget**

- **What happened:** r-dlp was invoked with invalid command-line flags or an invalid resolution timeout budget.
- **What you can do:** Run r-dlp --help to check supported flags.
- **When to open an issue:** Open an issue if Glyph or Companion passed invalid flags.

### GX-RDLP-015

**Internal r-dlp state error**

- **What happened:** r-dlp encountered an internal lock or state error.
- **What you can do:** Restart Glyph or the Companion service.
- **When to open an issue:** Open an issue in glyphmusic/r-dlp with the details.
