02-15-2023 08:17 AM
Hello,
we are trying to achieve artifacts upload to MLflow experiments via REST API. (We have an edge case when we need to do that)
But if we try to use DBFS API to upload an artifact, we are not allowed. Always ends up with:
We have Databricks on Azure.
Any idea why can this be happening? Or how to upload MLflow experiment artifacts via Databricks APIs?
Thank you!
02-16-2023 07:59 AM
Hi, Could you please confirm the destination permissions if there are right permissions on it?
02-17-2023 05:21 AM
Hi, I have administrator access right on the workspace.
My steps:
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
02-21-2023 02:03 AM
Hi @Tomas Hanzlik
Hope all is well! Just wanted to check in if you were able to resolve your issue and would you be happy to share the solution or mark an answer as best? Else please let us know if you need more help.
We'd love to hear from you.
Thanks!
02-21-2023 02:40 AM
Hi @Vidula Khanna,
unfortunately wasn't able to solve this yet. Help would be welcomed 🙂
Thank you!
03-09-2023 01:31 AM
Hi @Tomas Hanzlik
I'm sorry you could not find a solution to your problem in the answers provided.
Our community strives to provide helpful and accurate information, but sometimes an immediate solution may only be available for some issues.
I suggest providing more information about your problem, such as specific error messages, error logs or details about the steps you have taken. This can help our community members better understand the issue and provide more targeted solutions.
Alternatively, you can consider contacting the support team for your product or service. They may be able to provide additional assistance or escalate the issue to the appropriate section for further investigation.
Thank you for your patience and understanding, and please let us know if there is anything else we can do to assist you.
Join a Regional User Group to connect with local Databricks users. Events will be happening in your city, and you won’t want to miss the chance to attend and share knowledge.
If there isn’t a group near you, start one and help create a community that brings people together.
Request a New Group