langflow-ai/langflow · error · HTTPException

Watsonx snapshot_list_result payload slot is not configured.

Error message

Watsonx snapshot_list_result payload slot is not configured.

What it means

Error "Watsonx snapshot_list_result payload slot is not configured." thrown in langflow-ai/langflow.

Source

Thrown at src/backend/base/langflow/api/v1/mappers/deployments/watsonx_orchestrate/mapper.py:1358

        except AdapterPayloadValidationError as exc:
            raise HTTPException(
                status_code=status.HTTP_500_INTERNAL_SERVER_ERROR,
                detail=f"Invalid config list provider_data payload: {exc.format_first_error()}",
            ) from exc

        return DeploymentConfigListResponse(provider_data=validated_payload)

    def shape_snapshot_list_result(
        self,
        result: SnapshotListResult,
        *,
        page: int,
        size: int,
    ) -> DeploymentSnapshotListResponse:
        slot = self.api_payloads.snapshot_list_result
        if slot is None:
            msg = "Watsonx snapshot_list_result payload slot is not configured."
            raise HTTPException(status_code=status.HTTP_500_INTERNAL_SERVER_ERROR, detail=msg)

        items_all: list[dict[str, Any]] = []
        for item in result.snapshots:
            item_provider_data = item.provider_data if isinstance(item.provider_data, dict) else {}
            connections = item_provider_data.get("connections")
            display_name = item_provider_data.get("display_name")
            items_all.append(
                {
                    "id": item.id,
                    "name": item.name,
                    "display_name": display_name,
                    "connections": connections if isinstance(connections, dict) else {},
                }
            )

        total = len(items_all)
        offset = page_offset(page, size)
        provider_payload = {

View on GitHub (pinned to 976ec789d2)

Solutions

  1. Configure the snapshot_list_result payload slot for the watsonx integration.

When it happens

Trigger: Occurs when the watsonx snapshot_list_result payload slot is not configured on the mapper.

Common situations: See trigger scenarios.


AI-assisted analysis of langflow-ai/langflow@976ec789d2 (2026-08-14). Data as JSON: /api/errors/23d7de6601fac5f7. Report an issue: GitHub.