<?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 Re: Databricks Workspace import api size limitation in Data Engineering</title>
    <link>https://community.databricks.com/t5/data-engineering/databricks-workspace-import-api-size-limitation/m-p/94380#M38895</link>
    <description>&lt;P&gt;Can we use this API to upload files to /workspace/ location? Any sample curl request ? I am using&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN class=""&gt;-X&lt;/SPAN&gt;&lt;SPAN class=""&gt; PUT https://&amp;lt;HOST_NAME&amp;gt;&lt;/SPAN&gt;&lt;SPAN class=""&gt;/api/&lt;/SPAN&gt;&lt;SPAN class=""&gt;2&lt;/SPAN&gt;&lt;SPAN class=""&gt;.&lt;/SPAN&gt;&lt;SPAN class=""&gt;0&lt;/SPAN&gt;&lt;SPAN class=""&gt;/fs/files/Workspace/Shared/jars/all.jar and getting&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P class=""&gt;&lt;SPAN class=""&gt;{&lt;/SPAN&gt;&lt;/P&gt;&lt;P class=""&gt;&lt;SPAN class=""&gt;&lt;SPAN class=""&gt;&amp;nbsp; &lt;/SPAN&gt;"error_code" : "BAD_REQUEST",&lt;/SPAN&gt;&lt;/P&gt;&lt;P class=""&gt;&lt;SPAN class=""&gt;&lt;SPAN class=""&gt;&amp;nbsp; &lt;/SPAN&gt;"message" : "Invalid path:",&lt;/SPAN&gt;&lt;/P&gt;&lt;P class=""&gt;&lt;SPAN class=""&gt;&lt;SPAN class=""&gt;&amp;nbsp; &lt;/SPAN&gt;"details" : [ {&lt;/SPAN&gt;&lt;/P&gt;&lt;P class=""&gt;&lt;SPAN class=""&gt;&lt;SPAN class=""&gt;&amp;nbsp; &amp;nbsp; &lt;/SPAN&gt;"@type" : "type.googleapis.com/google.rpc.ErrorInfo",&lt;/SPAN&gt;&lt;/P&gt;&lt;P class=""&gt;&lt;SPAN class=""&gt;&lt;SPAN class=""&gt;&amp;nbsp; &amp;nbsp; &lt;/SPAN&gt;"reason" : "FILES_API_INVALID_PATH",&lt;/SPAN&gt;&lt;/P&gt;&lt;P class=""&gt;&lt;SPAN class=""&gt;&lt;SPAN class=""&gt;&amp;nbsp; &amp;nbsp; &lt;/SPAN&gt;"domain" : "filesystem.databricks.com",&lt;/SPAN&gt;&lt;/P&gt;&lt;P class=""&gt;&lt;SPAN class=""&gt;&lt;SPAN class=""&gt;&amp;nbsp; &amp;nbsp; &lt;/SPAN&gt;"metadata" : {&lt;/SPAN&gt;&lt;/P&gt;&lt;P class=""&gt;&lt;SPAN class=""&gt;&lt;SPAN class=""&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;/SPAN&gt;"validation_error" : ""&lt;/SPAN&gt;&lt;/P&gt;&lt;P class=""&gt;&lt;SPAN class=""&gt;&lt;SPAN class=""&gt;&amp;nbsp; &amp;nbsp; &lt;/SPAN&gt;}&lt;/SPAN&gt;&lt;/P&gt;&lt;P class=""&gt;&lt;SPAN class=""&gt;&lt;SPAN class=""&gt;&amp;nbsp; &lt;/SPAN&gt;} ]&lt;/SPAN&gt;&lt;/P&gt;</description>
    <pubDate>Thu, 17 Oct 2024 05:03:02 GMT</pubDate>
    <dc:creator>NaraKris_40883</dc:creator>
    <dc:date>2024-10-17T05:03:02Z</dc:date>
    <item>
      <title>Databricks Workspace import api size limitation</title>
      <link>https://community.databricks.com/t5/data-engineering/databricks-workspace-import-api-size-limitation/m-p/77160#M35408</link>
      <description>&lt;P&gt;As libraries from dbfs is deprecated and support is going to be removed. We are moving libs from dbfs to workspace files.&lt;/P&gt;&lt;P&gt;But while uploading libraries using&amp;nbsp;&lt;A href="https://docs.databricks.com/api/azure/workspace/workspace/import" target="_blank"&gt;https://docs.databricks.com/api/azure/workspace/workspace/import&lt;/A&gt;&amp;nbsp;api there seems to be limit on size of content which is 10mb. When I try from UI to upload lib I can upload with size more than 10mb but not from api.&lt;/P&gt;&lt;P&gt;Not able to find any other way to upload files using api, can anyone share details how to get this done with api.&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;</description>
      <pubDate>Mon, 08 Jul 2024 14:15:38 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/databricks-workspace-import-api-size-limitation/m-p/77160#M35408</guid>
      <dc:creator>pavansharma36</dc:creator>
      <dc:date>2024-07-08T14:15:38Z</dc:date>
    </item>
    <item>
      <title>Re: Databricks Workspace import api size limitation</title>
      <link>https://community.databricks.com/t5/data-engineering/databricks-workspace-import-api-size-limitation/m-p/77165#M35411</link>
      <description>&lt;P&gt;&lt;a href="https://community.databricks.com/t5/user/viewprofilepage/user-id/105037"&gt;@pavansharma36&lt;/a&gt;&amp;nbsp; You can try volumes and use Files API to upload&amp;nbsp;&lt;BR /&gt;&lt;A href="https://docs.databricks.com/api/azure/workspace/files" target="_blank"&gt;https://docs.databricks.com/api/azure/workspace/files&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 08 Jul 2024 15:08:55 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/databricks-workspace-import-api-size-limitation/m-p/77165#M35411</guid>
      <dc:creator>Giri-Patcham</dc:creator>
      <dc:date>2024-07-08T15:08:55Z</dc:date>
    </item>
    <item>
      <title>Re: Databricks Workspace import api size limitation</title>
      <link>https://community.databricks.com/t5/data-engineering/databricks-workspace-import-api-size-limitation/m-p/78081#M35460</link>
      <description>&lt;P&gt;&lt;SPAN&gt;PUT &amp;lt;DATABRICKS_HOST&amp;gt;/api/2.0/fs/directories?directory_path=/Workspace/Shared/iw_cgu1prrv/test&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;gives&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;{
    "error_code": "BAD_REQUEST",
    "message": "Invalid path:",
    "details": [
        {
            "@type": "type.googleapis.com/google.rpc.ErrorInfo",
            "reason": "FILES_API_INVALID_PATH",
            "domain": "filesystem.databricks.com",
            "metadata": {
                "validation_error": ""
            }
        }
    ]
}&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Tried multiple values&lt;/P&gt;&lt;P&gt;eg.&amp;nbsp;&lt;SPAN&gt;/Volumes/samples/default/test&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 10 Jul 2024 10:08:30 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/databricks-workspace-import-api-size-limitation/m-p/78081#M35460</guid>
      <dc:creator>pavansharma36</dc:creator>
      <dc:date>2024-07-10T10:08:30Z</dc:date>
    </item>
    <item>
      <title>Re: Databricks Workspace import api size limitation</title>
      <link>https://community.databricks.com/t5/data-engineering/databricks-workspace-import-api-size-limitation/m-p/78134#M35471</link>
      <description>&lt;P&gt;&lt;a href="https://community.databricks.com/t5/user/viewprofilepage/user-id/105037"&gt;@pavansharma36&lt;/a&gt;&amp;nbsp;Try something like this&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;PUT &amp;lt;DATABRICKS_HOST&amp;gt;/api/2.0/fs/directories/Volumes/samples/default/test&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 10 Jul 2024 14:59:32 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/databricks-workspace-import-api-size-limitation/m-p/78134#M35471</guid>
      <dc:creator>Giri-Patcham</dc:creator>
      <dc:date>2024-07-10T14:59:32Z</dc:date>
    </item>
    <item>
      <title>Re: Databricks Workspace import api size limitation</title>
      <link>https://community.databricks.com/t5/data-engineering/databricks-workspace-import-api-size-limitation/m-p/78457#M35534</link>
      <description>&lt;P&gt;Looks like volumes not supported for Standard tier.&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;{
    "error_code": "BAD_REQUEST",
    "message": "Unity Catalog is not available for feature tier STANDARD_TIER.",
    "details": [
        {
            "@type": "type.googleapis.com/google.rpc.ErrorInfo",
            "reason": "FILES_API_MANAGED_CATALOG_FEATURE_DISABLED",
            "domain": "filesystem.databricks.com",
            "metadata": {
                "unity_catalog_error_message": "Unity Catalog is not available for feature tier STANDARD_TIER."
            }
        }
    ]
}&lt;/LI-CODE&gt;&lt;P&gt;Not able to create Workspace directories from files api&lt;/P&gt;&lt;P&gt;Whats point of exposing files api onto standard tier when its not usable.&lt;/P&gt;</description>
      <pubDate>Fri, 12 Jul 2024 07:35:53 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/databricks-workspace-import-api-size-limitation/m-p/78457#M35534</guid>
      <dc:creator>pavansharma36</dc:creator>
      <dc:date>2024-07-12T07:35:53Z</dc:date>
    </item>
    <item>
      <title>Re: Databricks Workspace import api size limitation</title>
      <link>https://community.databricks.com/t5/data-engineering/databricks-workspace-import-api-size-limitation/m-p/94380#M38895</link>
      <description>&lt;P&gt;Can we use this API to upload files to /workspace/ location? Any sample curl request ? I am using&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN class=""&gt;-X&lt;/SPAN&gt;&lt;SPAN class=""&gt; PUT https://&amp;lt;HOST_NAME&amp;gt;&lt;/SPAN&gt;&lt;SPAN class=""&gt;/api/&lt;/SPAN&gt;&lt;SPAN class=""&gt;2&lt;/SPAN&gt;&lt;SPAN class=""&gt;.&lt;/SPAN&gt;&lt;SPAN class=""&gt;0&lt;/SPAN&gt;&lt;SPAN class=""&gt;/fs/files/Workspace/Shared/jars/all.jar and getting&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P class=""&gt;&lt;SPAN class=""&gt;{&lt;/SPAN&gt;&lt;/P&gt;&lt;P class=""&gt;&lt;SPAN class=""&gt;&lt;SPAN class=""&gt;&amp;nbsp; &lt;/SPAN&gt;"error_code" : "BAD_REQUEST",&lt;/SPAN&gt;&lt;/P&gt;&lt;P class=""&gt;&lt;SPAN class=""&gt;&lt;SPAN class=""&gt;&amp;nbsp; &lt;/SPAN&gt;"message" : "Invalid path:",&lt;/SPAN&gt;&lt;/P&gt;&lt;P class=""&gt;&lt;SPAN class=""&gt;&lt;SPAN class=""&gt;&amp;nbsp; &lt;/SPAN&gt;"details" : [ {&lt;/SPAN&gt;&lt;/P&gt;&lt;P class=""&gt;&lt;SPAN class=""&gt;&lt;SPAN class=""&gt;&amp;nbsp; &amp;nbsp; &lt;/SPAN&gt;"@type" : "type.googleapis.com/google.rpc.ErrorInfo",&lt;/SPAN&gt;&lt;/P&gt;&lt;P class=""&gt;&lt;SPAN class=""&gt;&lt;SPAN class=""&gt;&amp;nbsp; &amp;nbsp; &lt;/SPAN&gt;"reason" : "FILES_API_INVALID_PATH",&lt;/SPAN&gt;&lt;/P&gt;&lt;P class=""&gt;&lt;SPAN class=""&gt;&lt;SPAN class=""&gt;&amp;nbsp; &amp;nbsp; &lt;/SPAN&gt;"domain" : "filesystem.databricks.com",&lt;/SPAN&gt;&lt;/P&gt;&lt;P class=""&gt;&lt;SPAN class=""&gt;&lt;SPAN class=""&gt;&amp;nbsp; &amp;nbsp; &lt;/SPAN&gt;"metadata" : {&lt;/SPAN&gt;&lt;/P&gt;&lt;P class=""&gt;&lt;SPAN class=""&gt;&lt;SPAN class=""&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;/SPAN&gt;"validation_error" : ""&lt;/SPAN&gt;&lt;/P&gt;&lt;P class=""&gt;&lt;SPAN class=""&gt;&lt;SPAN class=""&gt;&amp;nbsp; &amp;nbsp; &lt;/SPAN&gt;}&lt;/SPAN&gt;&lt;/P&gt;&lt;P class=""&gt;&lt;SPAN class=""&gt;&lt;SPAN class=""&gt;&amp;nbsp; &lt;/SPAN&gt;} ]&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 17 Oct 2024 05:03:02 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/databricks-workspace-import-api-size-limitation/m-p/94380#M38895</guid>
      <dc:creator>NaraKris_40883</dc:creator>
      <dc:date>2024-10-17T05:03:02Z</dc:date>
    </item>
  </channel>
</rss>

