Significant-Gravitas/AutoGPT · error · NotFoundError

Store listing version {store_listing_version_id} not found o

Error message

Store listing version {store_listing_version_id} not found or invalid

What it means

Error "Store listing version {store_listing_version_id} not found or invalid" thrown in Significant-Gravitas/AutoGPT.

Source

Thrown at autogpt_platform/backend/backend/api/features/library/_add_to_library.py:43

async def resolve_graph_for_library(
    store_listing_version_id: str,
    user_id: str,
    *,
    admin: bool,
) -> tuple[GraphModel, prisma.models.StoreListingVersion]:
    """Look up a StoreListingVersion and resolve its graph.

    When ``admin=True``, uses ``get_graph_as_admin`` to bypass the marketplace
    APPROVED-only check.  Otherwise uses the regular ``get_graph``.

    Returns the resolved graph together with the StoreListingVersion, so callers
    can snapshot marketplace metadata without re-querying it.
    """
    slv = await prisma.models.StoreListingVersion.prisma().find_unique(
        where={"id": store_listing_version_id}, include={"AgentGraph": True}
    )
    if not slv or not slv.AgentGraph:
        raise NotFoundError(
            f"Store listing version {store_listing_version_id} not found or invalid"
        )

    ag = slv.AgentGraph
    if admin:
        graph_model = await graph_db.get_graph_as_admin(
            graph_id=ag.id, version=ag.version, user_id=user_id
        )
    else:
        graph_model = await graph_db.get_graph(
            graph_id=ag.id, version=ag.version, user_id=user_id
        )

    if not graph_model:
        raise NotFoundError(f"Graph #{ag.id} v{ag.version} not found or accessible")
    return graph_model, slv

View on GitHub (pinned to 9c8bb5550f)

Solutions

  1. Confirm the store listing version ID exists and is approved/available in the store.
  2. Refresh the store listing and retry with a valid version ID.

When it happens

Trigger: Thrown at autogpt_platform/backend/backend/api/features/library/_add_to_library.py:43 when the library encounters an invalid state.

Common situations: See trigger scenarios.


AI-assisted analysis of Significant-Gravitas/AutoGPT@9c8bb5550f (2026-08-14). Data as JSON: /api/errors/676809f0fcfc232e. Report an issue: GitHub.