<?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 Rest API data-files POST issue when uploading to an app in Data Movement &amp; Streaming</title>
    <link>https://community.qlik.com/t5/Data-Movement-Streaming/Rest-API-data-files-POST-issue-when-uploading-to-an-app/m-p/2060162#M918</link>
    <description>&lt;P&gt;Hello,&lt;BR /&gt;&lt;BR /&gt;I work in an ETL tool which supports integration with Qlik onPrem, and we are now extending integration to Qlik Cloud.&lt;/P&gt;
&lt;P&gt;For Qlik onPrem we used the qrs Rest API to upload a file to an App:&lt;BR /&gt;&lt;A href="https://help.qlik.com/en-US/sense-developer/May2022/Subsystems/RepositoryServiceAPI/Content/Sense_RepositoryServiceAPI/RepositoryServiceAPI-App-Content-Upload-File.htm" target="_blank"&gt;https://help.qlik.com/en-US/sense-developer/May2022/Subsystems/RepositoryServiceAPI/Content/Sense_RepositoryServiceAPI/RepositoryServiceAPI-App-Content-Upload-File.htm&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;I'm currently trying to do the same on Qlik SaaS using:&lt;/P&gt;
&lt;P&gt;&lt;A title="POST data-files" href="https://qlik.dev/apis/rest/data-files#%23%2Fentries%2Fv1%2Fdata-files-post" target="_self"&gt;https://qlik.dev/apis/rest/data-files#%23%2Fentries%2Fv1%2Fdata-files-post&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;The issue is, when I include an appId in the json object, I'm not able to find the file, even though if I try to upload the file again I get a conflict error informing the file is there. Also, after a certain amount of time, I'm able to upload the file again, indicating it was uploaded in a temporary capacity. So I guess my question is, what exactly does a file being bound to the life cycle of an App means in Qlik SaaS?&lt;/P&gt;
&lt;P&gt;I'm able to upload the file if I do not try to link it to any app, but since we offered this feature for onPrem, and it seems from documentation that it should also work on SaaS, I was hoping to figure out what is happening here.&lt;/P&gt;
&lt;P&gt;And yes, I was able to upload the file using this work around:&lt;/P&gt;
&lt;P&gt;&lt;A href="https://community.qlik.com/t5/Qlik-Cloud-Data-Integration/Qlik-Cloud-data-files-upload-endpoint-not-working/m-p/1942745" target="_self"&gt;https://community.qlik.com/t5/Qlik-Cloud-Data-Integration/Qlik-Cloud-data-files-upload-endpoint-not-working/m-p/1942745&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;But I wouldn't want to use an API that as far as I could tell is private/experimental.&lt;BR /&gt;&lt;BR /&gt;Thank you in advance,&lt;/P&gt;
&lt;P&gt;Lucas&lt;/P&gt;</description>
    <pubDate>Wed, 19 Mar 2025 23:04:08 GMT</pubDate>
    <dc:creator>LucasGalvao</dc:creator>
    <dc:date>2025-03-19T23:04:08Z</dc:date>
    <item>
      <title>Rest API data-files POST issue when uploading to an app</title>
      <link>https://community.qlik.com/t5/Data-Movement-Streaming/Rest-API-data-files-POST-issue-when-uploading-to-an-app/m-p/2060162#M918</link>
      <description>&lt;P&gt;Hello,&lt;BR /&gt;&lt;BR /&gt;I work in an ETL tool which supports integration with Qlik onPrem, and we are now extending integration to Qlik Cloud.&lt;/P&gt;
&lt;P&gt;For Qlik onPrem we used the qrs Rest API to upload a file to an App:&lt;BR /&gt;&lt;A href="https://help.qlik.com/en-US/sense-developer/May2022/Subsystems/RepositoryServiceAPI/Content/Sense_RepositoryServiceAPI/RepositoryServiceAPI-App-Content-Upload-File.htm" target="_blank"&gt;https://help.qlik.com/en-US/sense-developer/May2022/Subsystems/RepositoryServiceAPI/Content/Sense_RepositoryServiceAPI/RepositoryServiceAPI-App-Content-Upload-File.htm&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;I'm currently trying to do the same on Qlik SaaS using:&lt;/P&gt;
&lt;P&gt;&lt;A title="POST data-files" href="https://qlik.dev/apis/rest/data-files#%23%2Fentries%2Fv1%2Fdata-files-post" target="_self"&gt;https://qlik.dev/apis/rest/data-files#%23%2Fentries%2Fv1%2Fdata-files-post&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;The issue is, when I include an appId in the json object, I'm not able to find the file, even though if I try to upload the file again I get a conflict error informing the file is there. Also, after a certain amount of time, I'm able to upload the file again, indicating it was uploaded in a temporary capacity. So I guess my question is, what exactly does a file being bound to the life cycle of an App means in Qlik SaaS?&lt;/P&gt;
&lt;P&gt;I'm able to upload the file if I do not try to link it to any app, but since we offered this feature for onPrem, and it seems from documentation that it should also work on SaaS, I was hoping to figure out what is happening here.&lt;/P&gt;
&lt;P&gt;And yes, I was able to upload the file using this work around:&lt;/P&gt;
&lt;P&gt;&lt;A href="https://community.qlik.com/t5/Qlik-Cloud-Data-Integration/Qlik-Cloud-data-files-upload-endpoint-not-working/m-p/1942745" target="_self"&gt;https://community.qlik.com/t5/Qlik-Cloud-Data-Integration/Qlik-Cloud-data-files-upload-endpoint-not-working/m-p/1942745&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;But I wouldn't want to use an API that as far as I could tell is private/experimental.&lt;BR /&gt;&lt;BR /&gt;Thank you in advance,&lt;/P&gt;
&lt;P&gt;Lucas&lt;/P&gt;</description>
      <pubDate>Wed, 19 Mar 2025 23:04:08 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Data-Movement-Streaming/Rest-API-data-files-POST-issue-when-uploading-to-an-app/m-p/2060162#M918</guid>
      <dc:creator>LucasGalvao</dc:creator>
      <dc:date>2025-03-19T23:04:08Z</dc:date>
    </item>
  </channel>
</rss>

