{"record":{"id":"8d22d8f3873fe048","repo":"langflow-ai/langflow","slug":"deployment-mapper-llm-list-result-payload-is-inval","errorCode":null,"errorMessage":"Deployment mapper llm list result payload is invalid: {detail}","messagePattern":"Deployment mapper llm list result payload is invalid: (.+?)","errorType":"http","errorClass":"HTTPException","httpStatus":500,"severity":"error","filePath":"src/backend/base/langflow/api/v1/mappers/deployments/watsonx_orchestrate/mapper.py","lineNumber":1079,"sourceCode":"            raw=result.provider_result,\n            operation=\"listing available models\",\n        )\n        api_slot = self.api_payloads.deployment_llm_list_result\n        if api_slot is None:\n            msg = \"Watsonx deployment_llm_list_result payload slot is not configured.\"\n            raise HTTPException(status_code=status.HTTP_500_INTERNAL_SERVER_ERROR, detail=msg)\n        try:  # straight pass-through today, so just dump + validate\n            api_provider_result: WatsonxApiDeploymentLlmListResultData = api_slot.parse(\n                adapter_provider_result.model_dump(exclude_none=True)\n            )\n        except AdapterPayloadMissingError as exc:\n            raise HTTPException(\n                status_code=status.HTTP_500_INTERNAL_SERVER_ERROR,\n                detail=\"Deployment mapper llm list result payload is missing.\",\n            ) from exc\n        except AdapterPayloadValidationError as exc:\n            detail = exc.format_first_error()\n            raise HTTPException(\n                status_code=status.HTTP_500_INTERNAL_SERVER_ERROR,\n                detail=f\"Deployment mapper llm list result payload is invalid: {detail}\",\n            ) from exc\n        return DeploymentLlmListResponse(provider_data=api_provider_result.model_dump(mode=\"json\", exclude_none=True))\n\n    def util_create_snapshot_bindings(\n        self,\n        *,\n        result: DeploymentCreateResult,\n    ) -> CreateSnapshotBindings:\n        slot = WXO_ADAPTER_PAYLOAD_SCHEMAS.deployment_create_result\n        parsed = self.parse_adapter_slot(\n            slot=slot,\n            slot_name=\"deployment_create_result\",\n            raw=result.provider_result,\n            operation=\"creating the deployment\",\n        )\n        return CreateSnapshotBindings(","sourceCodeStart":1061,"sourceCodeEnd":1097,"githubUrl":"https://github.com/langflow-ai/langflow/blob/976ec789d2886a86de109c044d089d68e96c9a35/src/backend/base/langflow/api/v1/mappers/deployments/watsonx_orchestrate/mapper.py#L1061-L1097","documentation":"Error \"Deployment mapper llm list result payload is invalid: {detail}\" thrown in langflow-ai/langflow.","triggerScenarios":"Occurs when the mapper's llm list result payload fails validation; the validation detail is included.","commonSituations":"See trigger scenarios.","solutions":["Fix the LLM list payload as indicated in the validation detail."],"exampleFix":null,"handlingStrategy":null,"validationCode":null,"typeGuard":null,"tryCatchPattern":null,"preventionTips":[],"tags":[],"backgroundTag":null,"analyzedSha":"976ec789d2886a86de109c044d089d68e96c9a35","analyzedAt":"2026-08-14T18:23:12.227Z","schemaVersion":2},"datasetVersion":"2026-08-15T17:31:12.345Z"}