fmadeiro
Contributor II

The error happens because of how the source path is interpreted. Use the correct DBFS path format: dbfs:/Volumes/.... Avoid adding /dbfs redundantly, as it's already the DBFS root.

Key Fixes:

  1. New Version Not Created: Ensure each log_model call uses a unique run_id and updated model metadata to trigger versioning.
  2. Required Parameters: For REST API, include run_id (from the MLflow run) and source (DBFS path to the model artifact).

Example Payload:

 

{
"name": "my_model_name",
"source": "dbfs:/Volumes/my-model-path/model",
"run_id": "1234567890abcdef"
}