- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-17-2023 05:21 AM
Hi, I have administrator access right on the workspace.
My steps:
- Creating a new access token in Databricks workspace User Settings
- Creating a new experiment
- 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",)
- 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