Significant-Gravitas/AutoGPT · error · NotFoundError

Graph #{ag.id} v{ag.version} not found or accessible

Error message

Graph #{ag.id} v{ag.version} not found or accessible

What it means

Error "Graph #{ag.id} v{ag.version} not found or accessible" thrown in Significant-Gravitas/AutoGPT.

Source

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

        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


def _marketplace_metadata(
    store_listing_version: prisma.models.StoreListingVersion,
) -> dict[str, str | None]:
    """Snapshot the marketplace listing's title/description/image.

    Returns the published ``name``, ``description`` and first image URL so a
    downloaded agent shows up in the library exactly as it appears in the
    marketplace.
    """
    return {
        "name": store_listing_version.name,
        "description": store_listing_version.description,
        "imageUrl": (
            store_listing_version.imageUrls[0]
            if store_listing_version.imageUrls

View on GitHub (pinned to 9c8bb5550f)

Solutions

  1. Verify the graph ID and version exist and that your account has access to it.
  2. If the graph was deleted or made private, restore access or pick another graph.

When it happens

Trigger: Thrown at autogpt_platform/backend/backend/api/features/library/_add_to_library.py:58 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/98fe01196d6ac3e6. Report an issue: GitHub.