{"record":{"id":"3be09ed389e6a9d7","repo":"langflow-ai/langflow","slug":"exc-message","errorCode":null,"errorMessage":"{exc.message}","messagePattern":"\\{exc\\.message\\}","errorType":"http","errorClass":"HTTPException","httpStatus":null,"severity":"error","filePath":"src/backend/base/langflow/api/v1/mappers/deployments/helpers.py","lineNumber":345,"sourceCode":"    Domain exceptions (subclasses of :class:`DeploymentServiceError`) are\n    mapped via :func:`http_status_for_deployment_error` in the shared\n    ``lfx.services.adapters.deployment.exceptions`` module.  Non-domain\n    exceptions (``NotImplementedError``, ``ValueError``, etc.) are handled\n    as special cases here.\n    \"\"\"\n    try:\n        yield\n    except DeploymentServiceError as exc:\n        http_status = http_status_for_deployment_error(exc)\n        detail = exc.message\n        if isinstance(exc, ResourceConflictError) and mapper is not None:\n            detail = mapper.format_conflict_detail(\n                exc.message,\n                resource=exc.resource,\n                resource_name=exc.resource_name,\n            )\n        logger.exception(\"Adapter error (status=%s): %s\", http_status, detail)\n        raise HTTPException(\n            status_code=http_status,\n            detail=detail,\n        ) from exc\n    except NotImplementedError as exc:\n        logger.exception(\"Adapter not-implemented error: %s\", exc)\n        raise HTTPException(\n            status_code=status.HTTP_501_NOT_IMPLEMENTED,\n            detail=\"This operation is not supported by the deployment provider.\",\n        ) from exc\n    except ValueError as exc:\n        logger.exception(\"Adapter value error: %s\", exc)\n        raise_http_for_value_error(exc)\n    except HTTPException:\n        raise\n    except Exception as exc:\n        logger.exception(\"Unhandled adapter error: %s\", exc)\n        raise HTTPException(\n            status_code=status.HTTP_500_INTERNAL_SERVER_ERROR,","sourceCodeStart":327,"sourceCodeEnd":363,"githubUrl":"https://github.com/langflow-ai/langflow/blob/976ec789d2886a86de109c044d089d68e96c9a35/src/backend/base/langflow/api/v1/mappers/deployments/helpers.py#L327-L363","documentation":"Error \"{exc.message}\" thrown in langflow-ai/langflow.","triggerScenarios":"Occurs when the deployment provider returns an error response; the provider error message is propagated.","commonSituations":"See trigger scenarios.","solutions":["Address the validation error reported in the message and retry."],"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-15T22:17:37.221Z"}