<?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: Error creating a folder into Qlik Cloud data files using Qlik-cli in Integration, Extension &amp; APIs</title>
    <link>https://community.qlik.com/t5/Integration-Extension-APIs/Error-creating-a-folder-into-Qlik-Cloud-data-files-using-Qlik/m-p/2524845#M22372</link>
    <description>&lt;P&gt;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/81045"&gt;@cristian_dalsanto&lt;/a&gt;&amp;nbsp;- I managed to make it work like this:&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;qlik data-file create --folder --name "folder_1" --tempContentFileId "" --file "" --connectionId &amp;lt;connection_id&amp;gt;&lt;/LI-CODE&gt;</description>
    <pubDate>Mon, 21 Jul 2025 16:01:53 GMT</pubDate>
    <dc:creator>jprdonnelly</dc:creator>
    <dc:date>2025-07-21T16:01:53Z</dc:date>
    <item>
      <title>Error creating a folder into Qlik Cloud data files using Qlik-cli</title>
      <link>https://community.qlik.com/t5/Integration-Extension-APIs/Error-creating-a-folder-into-Qlik-Cloud-data-files-using-Qlik/m-p/2524838#M22371</link>
      <description>&lt;P&gt;Hi all,&lt;/P&gt;&lt;P&gt;I'm trying to replicate a local structure (folder/subfolder/file) in the Data Files section of a space.&lt;/P&gt;&lt;P&gt;I'm using Qlik-cli version 2.27.0&lt;/P&gt;&lt;P&gt;Here’s a simplified version of my script:&lt;/P&gt;&lt;LI-CODE lang="javascript"&gt;LOCAL_ROOT_PATH="./roottest"  
SPACE_NAME="Developers - Demo &amp;amp; LAB"
SPACE_ID=$(qlik space ls --name "$QLIK_SPACE_NAME" --json | jq -r '.[0].id')
echo spaceID $SPACE_ID
qlik context use horsadev.eu.qlikcloud.com 
CONN_ID=$(qlik data-file connection ls --spaceId $SPACE_ID | jq -r '.[0].id');
echo connID $CONN_ID
folder_response=$(qlik data-file create \
                    --folder \
                    --name "cris_folder" \
                    --connectionId $CONN_ID)
echo $folder_response&lt;/LI-CODE&gt;&lt;P&gt;Unfortunately, it’s not working.&lt;/P&gt;&lt;P&gt;When I run the script, I get the following error:&lt;/P&gt;&lt;LI-CODE lang="javascript"&gt;cristiandalsanto@Cristians-MacBook-Air testandrea % ./script.sh
spaceID 5ed10e05e66b1c00000b91e
Context: mycontext
connID c40dd41a-7ed8-455a-b52d-0000000
Error: 400 Bad Request
{
  "errors": [
    {
      "title": "Request to create/update a folder must not contain a Data body nor a tempContentFileId.",
      "code": "HTTP-400"
    }
  ]
}&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;It seems the issue is related to the create method, but I can’t figure out what I’m doing wrong.&lt;/P&gt;&lt;P&gt;Any ideas or help would be much appreciated!&lt;/P&gt;&lt;P&gt;Cristian&lt;/P&gt;</description>
      <pubDate>Mon, 21 Jul 2025 15:36:31 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Integration-Extension-APIs/Error-creating-a-folder-into-Qlik-Cloud-data-files-using-Qlik/m-p/2524838#M22371</guid>
      <dc:creator>cristian_dalsanto</dc:creator>
      <dc:date>2025-07-21T15:36:31Z</dc:date>
    </item>
    <item>
      <title>Re: Error creating a folder into Qlik Cloud data files using Qlik-cli</title>
      <link>https://community.qlik.com/t5/Integration-Extension-APIs/Error-creating-a-folder-into-Qlik-Cloud-data-files-using-Qlik/m-p/2524845#M22372</link>
      <description>&lt;P&gt;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/81045"&gt;@cristian_dalsanto&lt;/a&gt;&amp;nbsp;- I managed to make it work like this:&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;qlik data-file create --folder --name "folder_1" --tempContentFileId "" --file "" --connectionId &amp;lt;connection_id&amp;gt;&lt;/LI-CODE&gt;</description>
      <pubDate>Mon, 21 Jul 2025 16:01:53 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Integration-Extension-APIs/Error-creating-a-folder-into-Qlik-Cloud-data-files-using-Qlik/m-p/2524845#M22372</guid>
      <dc:creator>jprdonnelly</dc:creator>
      <dc:date>2025-07-21T16:01:53Z</dc:date>
    </item>
    <item>
      <title>Re: Error creating a folder into Qlik Cloud data files using Qlik-cli</title>
      <link>https://community.qlik.com/t5/Integration-Extension-APIs/Error-creating-a-folder-into-Qlik-Cloud-data-files-using-Qlik/m-p/2524961#M22374</link>
      <description>&lt;P&gt;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/141812"&gt;@jprdonnelly&lt;/a&gt;&amp;nbsp;for the pure task of creating the folder. If you want to just put a file in a folder (without an additional call to create the folder), you can do this (PowerShell syntax):&lt;/P&gt;
&lt;DIV&gt;
&lt;PRE&gt;&lt;SPAN&gt;$space_name&lt;/SPAN&gt; &lt;SPAN&gt;=&lt;/SPAN&gt; &lt;SPAN&gt;"Sandbox - Folders"&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;$space_id&lt;/SPAN&gt; &lt;SPAN&gt;=&lt;/SPAN&gt;&lt;SPAN&gt; (&lt;/SPAN&gt;&lt;SPAN&gt;qlik&lt;/SPAN&gt;&lt;SPAN&gt; space ls &lt;/SPAN&gt;&lt;SPAN&gt;--&lt;/SPAN&gt;&lt;SPAN&gt;name&lt;/SPAN&gt; &lt;SPAN&gt;$space_name&lt;/SPAN&gt; &lt;SPAN&gt;|&lt;/SPAN&gt; &lt;SPAN&gt;ConvertFrom-Json&lt;/SPAN&gt;&lt;SPAN&gt;).&lt;/SPAN&gt;&lt;SPAN&gt;id&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;$connection_id&lt;/SPAN&gt; &lt;SPAN&gt;=&lt;/SPAN&gt;&lt;SPAN&gt; (qlik &lt;/SPAN&gt;&lt;SPAN&gt;data&lt;/SPAN&gt;&lt;SPAN&gt;-&lt;/SPAN&gt;&lt;SPAN&gt;file connection ls &lt;/SPAN&gt;&lt;SPAN&gt;--&lt;/SPAN&gt;&lt;SPAN&gt;spaceId &lt;/SPAN&gt;&lt;SPAN&gt;$space_id&lt;/SPAN&gt; &lt;SPAN&gt;|&lt;/SPAN&gt; &lt;SPAN&gt;ConvertFrom-Json&lt;/SPAN&gt;&lt;SPAN&gt;).id&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;# create a file in the root of the directory&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;qlik &lt;/SPAN&gt;&lt;SPAN&gt;data&lt;/SPAN&gt;&lt;SPAN&gt;-&lt;/SPAN&gt;&lt;SPAN&gt;file create &lt;/SPAN&gt;&lt;SPAN&gt;--&lt;/SPAN&gt;&lt;SPAN&gt;name &lt;/SPAN&gt;&lt;SPAN&gt;"csv.csv"&lt;/SPAN&gt; &lt;SPAN&gt;--&lt;/SPAN&gt;&lt;SPAN&gt;connectionId &lt;/SPAN&gt;&lt;SPAN&gt;$connection_id&lt;/SPAN&gt; &lt;SPAN&gt;--&lt;/SPAN&gt;&lt;SPAN&gt;file C:\etc\&lt;/SPAN&gt;&lt;SPAN&gt;data&lt;/SPAN&gt;&lt;SPAN&gt;\CSV.csv&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;# create a file in a directory&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;qlik &lt;/SPAN&gt;&lt;SPAN&gt;data&lt;/SPAN&gt;&lt;SPAN&gt;-&lt;/SPAN&gt;&lt;SPAN&gt;file create &lt;/SPAN&gt;&lt;SPAN&gt;--&lt;/SPAN&gt;&lt;SPAN&gt;name &lt;/SPAN&gt;&lt;SPAN&gt;"some/folder/csv.csv"&lt;/SPAN&gt; &lt;SPAN&gt;--&lt;/SPAN&gt;&lt;SPAN&gt;connectionId &lt;/SPAN&gt;&lt;SPAN&gt;$connection_id&lt;/SPAN&gt; &lt;SPAN&gt;--&lt;/SPAN&gt;&lt;SPAN&gt;file C:\etc\&lt;/SPAN&gt;&lt;SPAN&gt;data&lt;/SPAN&gt;&lt;SPAN&gt;\CSV.csv&lt;/SPAN&gt;&lt;/PRE&gt;
&lt;/DIV&gt;</description>
      <pubDate>Tue, 22 Jul 2025 13:28:43 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Integration-Extension-APIs/Error-creating-a-folder-into-Qlik-Cloud-data-files-using-Qlik/m-p/2524961#M22374</guid>
      <dc:creator>Levi_Turner</dc:creator>
      <dc:date>2025-07-22T13:28:43Z</dc:date>
    </item>
    <item>
      <title>Re: Error creating a folder into Qlik Cloud data files using Qlik-cli</title>
      <link>https://community.qlik.com/t5/Integration-Extension-APIs/Error-creating-a-folder-into-Qlik-Cloud-data-files-using-Qlik/m-p/2524981#M22376</link>
      <description>&lt;P&gt;yes&amp;nbsp;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/47469"&gt;@Levi_Turner&lt;/a&gt;,&lt;SPAN&gt;&amp;nbsp;it works. I actually used this approach in my script to quickly provide a response to the customer. However, I'm looking for a solution that also allows me to create a structure including empty folders&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 22 Jul 2025 14:53:31 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Integration-Extension-APIs/Error-creating-a-folder-into-Qlik-Cloud-data-files-using-Qlik/m-p/2524981#M22376</guid>
      <dc:creator>cristian_dalsanto</dc:creator>
      <dc:date>2025-07-22T14:53:31Z</dc:date>
    </item>
    <item>
      <title>Re: Error creating a folder into Qlik Cloud data files using Qlik-cli</title>
      <link>https://community.qlik.com/t5/Integration-Extension-APIs/Error-creating-a-folder-into-Qlik-Cloud-data-files-using-Qlik/m-p/2524982#M22377</link>
      <description>&lt;P&gt;Thanks&amp;nbsp;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/141812"&gt;@jprdonnelly&lt;/a&gt;&amp;nbsp;,&amp;nbsp;&lt;SPAN&gt;it works perfectly. I hadn’t realized that I needed to explicitly pass an empty &lt;/SPAN&gt;tempContentFileId&lt;SPAN&gt;parameter — I assumed its default value was &lt;/SPAN&gt;""&lt;/P&gt;</description>
      <pubDate>Tue, 22 Jul 2025 14:57:25 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Integration-Extension-APIs/Error-creating-a-folder-into-Qlik-Cloud-data-files-using-Qlik/m-p/2524982#M22377</guid>
      <dc:creator>cristian_dalsanto</dc:creator>
      <dc:date>2025-07-22T14:57:25Z</dc:date>
    </item>
  </channel>
</rss>

