Significant-Gravitas/AutoGPT · error · NotFoundError

Webhook #{webhook_id} not found

Error message

Webhook #{webhook_id} not found

What it means

Error "Webhook #{webhook_id} not found" thrown in Significant-Gravitas/AutoGPT.

Source

Thrown at autogpt_platform/backend/backend/api/features/library/db.py:2016

    )
    # A preset may only reference a graph the caller can access (own / store /
    # library); get_graph() enforces that and a foreign/unknown graph is None.
    # The preset then inherits the graph's org/team (resource-follows-parent),
    # resolved here so callers can't forget it.
    graph = await graph_db.get_graph(
        preset.graph_id, preset.graph_version, user_id=user_id
    )
    if not graph:
        raise NotFoundError(
            f"Graph #{preset.graph_id} v{preset.graph_version} "
            "not found or not accessible"
        )

    # Refuse to attach a webhook the caller doesn't own
    if webhook_id:
        webhook = await integrations_db.get_webhook(webhook_id)
        if webhook.user_id != user_id:
            raise NotFoundError(f"Webhook #{webhook_id} not found")

    create_input = prisma.types.AgentPresetCreateInput(
        userId=user_id,
        name=preset.name,
        description=preset.description,
        agentGraphId=preset.graph_id,
        agentGraphVersion=preset.graph_version,
        isActive=preset.is_active,
        webhookId=webhook_id,
        InputPresets={
            "create": [
                prisma.types.AgentNodeExecutionInputOutputCreateWithoutRelationsInput(  # noqa
                    name=name, data=SafeJson(data)
                )
                for name, data in {
                    **preset.inputs,
                    **preset.credentials,
                }.items()

View on GitHub (pinned to 9c8bb5550f)

Solutions

  1. Confirm the webhook ID exists and belongs to your account.
  2. Reconnect the integration to recreate the webhook.

When it happens

Trigger: Thrown at autogpt_platform/backend/backend/api/features/library/db.py:2016 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/d3e3505a70cfa39f. Report an issue: GitHub.