<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic DBFS REST API - unable to access or upload experiment artifacts - permission denied in Machine Learning</title>
    <link>https://community.databricks.com/t5/machine-learning/dbfs-rest-api-unable-to-access-or-upload-experiment-artifacts/m-p/9284#M427</link>
    <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;we are trying to achieve artifacts upload to MLflow experiments via REST API. (We have an edge case when we need to do that)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But if we try to use DBFS API to upload an artifact, we are not allowed. Always ends up with:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;`PERMISSION_DENIED: No operations allowed on this path`&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;We have Databricks on Azure.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any idea why can this be happening? Or how to upload MLflow experiment artifacts via Databricks APIs?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you!&lt;/P&gt;</description>
    <pubDate>Wed, 15 Feb 2023 16:17:35 GMT</pubDate>
    <dc:creator>Tom12</dc:creator>
    <dc:date>2023-02-15T16:17:35Z</dc:date>
    <item>
      <title>DBFS REST API - unable to access or upload experiment artifacts - permission denied</title>
      <link>https://community.databricks.com/t5/machine-learning/dbfs-rest-api-unable-to-access-or-upload-experiment-artifacts/m-p/9284#M427</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;we are trying to achieve artifacts upload to MLflow experiments via REST API. (We have an edge case when we need to do that)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But if we try to use DBFS API to upload an artifact, we are not allowed. Always ends up with:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;`PERMISSION_DENIED: No operations allowed on this path`&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;We have Databricks on Azure.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any idea why can this be happening? Or how to upload MLflow experiment artifacts via Databricks APIs?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you!&lt;/P&gt;</description>
      <pubDate>Wed, 15 Feb 2023 16:17:35 GMT</pubDate>
      <guid>https://community.databricks.com/t5/machine-learning/dbfs-rest-api-unable-to-access-or-upload-experiment-artifacts/m-p/9284#M427</guid>
      <dc:creator>Tom12</dc:creator>
      <dc:date>2023-02-15T16:17:35Z</dc:date>
    </item>
    <item>
      <title>Re: DBFS REST API - unable to access or upload experiment artifacts - permission denied</title>
      <link>https://community.databricks.com/t5/machine-learning/dbfs-rest-api-unable-to-access-or-upload-experiment-artifacts/m-p/9286#M429</link>
      <description>&lt;P&gt;Hi, I have administrator access right on the workspace. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My steps:&lt;/P&gt;&lt;OL&gt;&lt;LI&gt;Creating a new access token in Databricks workspace &lt;B&gt;&lt;I&gt;User Settings&lt;/I&gt;&lt;/B&gt;&lt;/LI&gt;&lt;LI&gt;Creating a new experiment &lt;/LI&gt;&lt;LI&gt;Creating a new experiment run via MLflow rest API - &lt;A href="https://mlflow.org/docs/latest/rest-api.html#create-run" alt="https://mlflow.org/docs/latest/rest-api.html#create-run" target="_blank"&gt;https://mlflow.org/docs/latest/rest-api.html#create-run&lt;/A&gt; - with created token ... it returns artifact URI ("artifact_uri":&amp;nbsp;"dbfs:/databricks/mlflow-tracking/1293313707004507/02f3021af00940fc9f8f93a7f64916ec/artifacts",)&lt;/LI&gt;&lt;LI&gt; Trying to upload file via &lt;A href="https://learn.microsoft.com/en-us/azure/databricks/dev-tools/api/latest/dbfs#--put" alt="https://learn.microsoft.com/en-us/azure/databricks/dev-tools/api/latest/dbfs#--put" target="_blank"&gt;https://learn.microsoft.com/en-us/azure/databricks/dev-tools/api/latest/dbfs#--put&lt;/A&gt;&lt;/LI&gt;&lt;/OL&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Step 4. always faileswith `PERMISSION_DENIED:&amp;nbsp;No&amp;nbsp;operations&amp;nbsp;allowed&amp;nbsp;on&amp;nbsp;this&amp;nbsp;path` with payload:&lt;/P&gt;&lt;P&gt;```&lt;/P&gt;&lt;P&gt;{&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;"path":&amp;nbsp;"dbfs:/databricks/mlflow-tracking/1293313707004507/02f3021af00940fc9f8f93a7f64916ec/artifacts/HelloWorld.txt",&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;"contents":&amp;nbsp;"SGVsbG8sIFdvcmxkIQ==",&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;"overwrite":&amp;nbsp;&lt;B&gt;true&lt;/B&gt;&lt;/P&gt;&lt;P&gt;}&lt;/P&gt;&lt;P&gt;```&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;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.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;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.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you for you help, Tomas&lt;/P&gt;</description>
      <pubDate>Fri, 17 Feb 2023 13:21:50 GMT</pubDate>
      <guid>https://community.databricks.com/t5/machine-learning/dbfs-rest-api-unable-to-access-or-upload-experiment-artifacts/m-p/9286#M429</guid>
      <dc:creator>Tom12</dc:creator>
      <dc:date>2023-02-17T13:21:50Z</dc:date>
    </item>
    <item>
      <title>Re: DBFS REST API - unable to access or upload experiment artifacts - permission denied</title>
      <link>https://community.databricks.com/t5/machine-learning/dbfs-rest-api-unable-to-access-or-upload-experiment-artifacts/m-p/9287#M430</link>
      <description>&lt;P&gt;Hi @Tomas Hanzlik​&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;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.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;We'd love to hear from you.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 21 Feb 2023 10:03:24 GMT</pubDate>
      <guid>https://community.databricks.com/t5/machine-learning/dbfs-rest-api-unable-to-access-or-upload-experiment-artifacts/m-p/9287#M430</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2023-02-21T10:03:24Z</dc:date>
    </item>
    <item>
      <title>Re: DBFS REST API - unable to access or upload experiment artifacts - permission denied</title>
      <link>https://community.databricks.com/t5/machine-learning/dbfs-rest-api-unable-to-access-or-upload-experiment-artifacts/m-p/9288#M431</link>
      <description>&lt;P&gt;Hi @Vidula Khanna​,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;unfortunately wasn't able to solve this yet. Help would be welcomed &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 21 Feb 2023 10:40:14 GMT</pubDate>
      <guid>https://community.databricks.com/t5/machine-learning/dbfs-rest-api-unable-to-access-or-upload-experiment-artifacts/m-p/9288#M431</guid>
      <dc:creator>Tom12</dc:creator>
      <dc:date>2023-02-21T10:40:14Z</dc:date>
    </item>
    <item>
      <title>Re: DBFS REST API - unable to access or upload experiment artifacts - permission denied</title>
      <link>https://community.databricks.com/t5/machine-learning/dbfs-rest-api-unable-to-access-or-upload-experiment-artifacts/m-p/9289#M432</link>
      <description>&lt;P&gt;Hi @Tomas Hanzlik​&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;I'm sorry you could not find a solution to your problem in the answers provided.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Our community strives to provide helpful and accurate information, but sometimes an immediate solution may only be available for some issues.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;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.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Alternatively, you can consider contacting the &lt;A href="https://help.databricks.com/s/login/?ec=302&amp;amp;startURL=%2Fs%2Fsubmitrequest%3F_ga%3D2.21602814.410387879.1677483027-1154058422.1670836178" alt="https://help.databricks.com/s/login/?ec=302&amp;amp;startURL=%2Fs%2Fsubmitrequest%3F_ga%3D2.21602814.410387879.1677483027-1154058422.1670836178" target="_blank"&gt;support team&lt;/A&gt; for your product or service. They may be able to provide additional assistance or escalate the issue to the appropriate section for further investigation.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you for your patience and understanding, and please let us know if there is anything else we can do to assist you.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 09 Mar 2023 09:31:32 GMT</pubDate>
      <guid>https://community.databricks.com/t5/machine-learning/dbfs-rest-api-unable-to-access-or-upload-experiment-artifacts/m-p/9289#M432</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2023-03-09T09:31:32Z</dc:date>
    </item>
    <item>
      <title>Re: DBFS REST API - unable to access or upload experiment artifacts - permission denied</title>
      <link>https://community.databricks.com/t5/machine-learning/dbfs-rest-api-unable-to-access-or-upload-experiment-artifacts/m-p/9285#M428</link>
      <description>&lt;P&gt;Hi, Could you please confirm the destination permissions if there are right permissions on it?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 16 Feb 2023 15:59:33 GMT</pubDate>
      <guid>https://community.databricks.com/t5/machine-learning/dbfs-rest-api-unable-to-access-or-upload-experiment-artifacts/m-p/9285#M428</guid>
      <dc:creator>Debayan</dc:creator>
      <dc:date>2023-02-16T15:59:33Z</dc:date>
    </item>
  </channel>
</rss>

