Tom12
New Contributor III

Hi, I have administrator access right on the workspace.

My steps:

  1. Creating a new access token in Databricks workspace User Settings
  2. Creating a new experiment
  3. Creating a new experiment run via MLflow rest API - https://mlflow.org/docs/latest/rest-api.html#create-run - with created token ... it returns artifact URI ("artifact_uri": "dbfs:/databricks/mlflow-tracking/1293313707004507/02f3021af00940fc9f8f93a7f64916ec/artifacts",)
  4. Trying to upload file via https://learn.microsoft.com/en-us/azure/databricks/dev-tools/api/latest/dbfs#--put

Step 4. always faileswith `PERMISSION_DENIED: No operations allowed on this path` with payload:

```

{

    "path": "dbfs:/databricks/mlflow-tracking/1293313707004507/02f3021af00940fc9f8f93a7f64916ec/artifacts/HelloWorld.txt",

    "contents": "SGVsbG8sIFdvcmxkIQ==",

    "overwrite": true

}

```

and if I change the path to `"/dbfs/databricks/mlflow-tracking/1293313707004507/02f3021af00940fc9f8f93a7f64916ec/artifacts/HelloWorld.txt` it works but the file is not uploaded under my Experiment run.

Not sure if this action is even allowed, to upload file via DBFS rest API to experiment runs. Or if I am using incorrect DBFS path or endpoint.

Thank you for you help, Tomas