# PLG — Plugins, Themes & Backgrounds

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

Source: https://errors.glyph.my/area/plg.md

## 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.
- **Direct link:** https://errors.glyph.my/gx-plg-001

## 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.
- **Direct link:** https://errors.glyph.my/gx-plg-002

## 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.
- **Direct link:** https://errors.glyph.my/gx-plg-003

## 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.
- **Direct link:** https://errors.glyph.my/gx-plg-004

## 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.
- **Direct link:** https://errors.glyph.my/gx-plg-005

## 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.
- **Direct link:** https://errors.glyph.my/gx-plg-006

## 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.
- **Direct link:** https://errors.glyph.my/gx-plg-007

## 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.
- **Direct link:** https://errors.glyph.my/gx-plg-008

## 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.
- **Direct link:** https://errors.glyph.my/gx-plg-009

## 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.
- **Direct link:** https://errors.glyph.my/gx-plg-010

## 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.
- **Direct link:** https://errors.glyph.my/gx-plg-011

## 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.
- **Direct link:** https://errors.glyph.my/gx-plg-012

## 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.
- **Direct link:** https://errors.glyph.my/gx-plg-013

## 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.
- **Direct link:** https://errors.glyph.my/gx-plg-014
