langflow-ai/langflow · error · HTTPException

Invalid config list provider_data payload: {exc.format_first

Error message

Invalid config list provider_data payload: {exc.format_first_error()}

What it means

Error "Invalid config list provider_data payload: {exc.format_first_error()}" thrown in langflow-ai/langflow.

Source

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

                        "connection_id": item.id,
                        "app_id": item.name,
                    }
                )
            )
        total = len(items_all)
        offset = page_offset(page, size)
        provider_payload = {
            "connections": [
                item.model_dump(mode="json", exclude_none=True) for item in items_all[offset : offset + size]
            ],
            "page": page,
            "size": size,
            "total": total,
        }
        try:
            validated_payload = slot.parse(provider_payload).model_dump(mode="json", exclude_none=True)
        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)

View on GitHub (pinned to 976ec789d2)

Solutions

  1. Fix the config list provider_data as indicated by the validation error.

When it happens

Trigger: Occurs when the config list provider_data payload fails schema validation; the first validation error is included.

Common situations: See trigger scenarios.


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