MemPalace/mempalace · error · ValueError

unknown MEMPALACE_TRANSPORT {selected!r} (expected: https, m

Error message

unknown MEMPALACE_TRANSPORT {selected!r} (expected: https, meshguard)

What it means

Error "unknown MEMPALACE_TRANSPORT {selected!r} (expected: https, meshguard)" thrown in MemPalace/mempalace.

Source

Thrown at mempalace/transport.py:169


def get_transport(palace_path: str) -> Transport:
    """The single swap point (MEMPALACE_TRANSPORT; default https).

    ``meshguard`` is reserved: selecting it before the binding lands
    fails loudly rather than silently degrading to bearer tokens —
    a user who asked for mesh-identity auth must never unknowingly
    run on the token model.
    """
    selected = (os.environ.get("MEMPALACE_TRANSPORT") or "https").strip().lower()
    if selected == "https":
        return HttpsBearerTransport(palace_path)
    if selected == "meshguard":
        raise NotImplementedError(
            "MEMPALACE_TRANSPORT=meshguard is reserved for the MeshGuard binding "
            "(RFC 004 transport seam); it has not shipped yet"
        )
    raise ValueError(f"unknown MEMPALACE_TRANSPORT {selected!r} (expected: https, meshguard)")

View on GitHub (pinned to 06cb6987f0)

Solutions

  1. Set MEMPALACE_TRANSPORT to 'https' or 'meshguard'

When it happens

Trigger: Thrown at mempalace/transport.py:169 when the library encounters an invalid state.

Common situations: Unknown transport name configured.


AI-assisted analysis of MemPalace/mempalace@06cb6987f0 (2026-08-15). Data as JSON: /api/errors/1c2ce1b2b60b7ccc. Report an issue: GitHub.