langflow-ai/langflow · error · HTTPException
Deployment provider create result contains a tool binding wi
Error message
Deployment provider create result contains a tool binding with an empty source_ref for tool_id={tool_id!r}. What it means
Error "Deployment provider create result contains a tool binding with an empty source_ref for tool_id={tool_id!r}." thrown in langflow-ai/langflow.
Source
Thrown at src/backend/base/langflow/api/v1/mappers/deployments/watsonx_orchestrate/mapper.py:992
adapter_provider_result = self.parse_adapter_slot(
slot=WXO_ADAPTER_PAYLOAD_SCHEMAS.deployment_create_result,
slot_name="deployment_create_result",
raw=result.provider_result,
operation="creating the deployment",
)
created_tools: list[WatsonxApiCreatedTool] = []
for binding in adapter_provider_result.tools_with_refs:
tool_id = str(binding.tool_id or "").strip()
source_ref = str(binding.source_ref or "").strip()
if not tool_id:
msg = "Deployment provider create result contains a tool binding with an empty tool_id."
raise HTTPException(status_code=status.HTTP_500_INTERNAL_SERVER_ERROR, detail=msg)
if not source_ref:
msg = (
"Deployment provider create result contains a tool binding with an empty source_ref "
f"for tool_id={tool_id!r}."
)
raise HTTPException(status_code=status.HTTP_500_INTERNAL_SERVER_ERROR, detail=msg)
try:
created_tool = WatsonxApiCreatedTool(
flow_version_id=source_ref,
tool_id=tool_id,
)
except ValidationError as exc:
msg = (
"Deployment provider create result contains a created tool binding with a non-UUID "
f"source_ref={source_ref!r} for tool_id={tool_id!r}. A flow version id was expected."
)
raise HTTPException(status_code=status.HTTP_500_INTERNAL_SERVER_ERROR, detail=msg) from exc
created_tools.append(created_tool)
provider_api_result = WatsonxApiDeploymentCreateResultData(
name=result.name,
display_name=deployment_row.display_name,
created_app_ids=list(adapter_provider_result.app_ids),
created_tools=created_tools,
)View on GitHub (pinned to 976ec789d2)
Solutions
- Retry the create; the provider returned a tool binding without a source_ref. Report to the provider integration maintainer if reproducible.
When it happens
Trigger: Occurs when the provider create result includes a tool binding whose source_ref is empty for the given tool_id.
Common situations: See trigger scenarios.
AI-assisted analysis of langflow-ai/langflow@976ec789d2 (2026-08-14).
Data as JSON: /api/errors/17964d9298758f2a.
Report an issue: GitHub.