{"record":{"id":"79d209d3b5edb94e","repo":"mlflow/mlflow","slug":"resource-does-not-exist-79d209","errorCode":"RESOURCE_DOES_NOT_EXIST","errorMessage":"Registered Model with name={name!r} not found.","messagePattern":"Registered Model with name=(.+?) not found\\.","errorType":"exception","errorClass":"MlflowException","httpStatus":404,"severity":"error","filePath":"mlflow/tracking/client.py","lineNumber":181,"sourceCode":"_logger = logging.getLogger(__name__)\n\n_STAGES_DEPRECATION_WARNING = (\n    \"Model registry stages will be removed in a future major release. To learn more about the \"\n    \"deprecation of model registry stages, see our migration guide here: https://mlflow.org/docs/\"\n    \"latest/model-registry.html#migrating-from-stages\"\n)\n\n\ndef _model_not_found(name: str) -> MlflowException:\n    return MlflowException(\n        f\"Registered Model with name={name!r} not found.\",\n        RESOURCE_DOES_NOT_EXIST,\n    )\n\n\ndef _validate_model_id_specified(model_id: str) -> None:\n    if not model_id:\n        raise MlflowException(\n            f\"`model_id` must be a non-empty string, but got {model_id!r}\",\n            INVALID_PARAMETER_VALUE,\n        )\n\n\ndef _disable_in_databricks(use_uc_message=False):\n    \"\"\"Decorator to disable dataset operations when tracking URI is Databricks.\n\n    Args:\n        use_uc_message: If True, suggests Unity Catalog instead of fluent API.\n    \"\"\"\n\n    def decorator(func):\n        @functools.wraps(func)\n        def wrapper(self, *args, **kwargs):\n            if not is_databricks_uri(str(self.tracking_uri)):\n                return func(self, *args, **kwargs)\n","sourceCodeStart":163,"sourceCodeEnd":199,"githubUrl":"https://github.com/mlflow/mlflow/blob/6a27f2decc0b76eb1b54af31849784addb357dbc/mlflow/tracking/client.py#L163-L199","documentation":"Error \"Registered Model with name={name!r} not found.\" thrown in mlflow/mlflow.","triggerScenarios":"Thrown at mlflow/tracking/client.py:181 when the library encounters an invalid state.","commonSituations":"See trigger scenarios.","solutions":[],"exampleFix":null,"handlingStrategy":null,"validationCode":null,"typeGuard":null,"tryCatchPattern":null,"preventionTips":[],"tags":[],"backgroundTag":null,"analyzedSha":"6a27f2decc0b76eb1b54af31849784addb357dbc","analyzedAt":"2026-08-29T20:54:51.419Z","schemaVersion":2},"datasetVersion":"2026-08-29T22:17:34.462Z"}