Do not input private or sensitive data. View Qlik Privacy & Cookie Policy.
Skip to main content
Announcements
Solving the Informatica Dilemma: On-Demand Briefing - Watch On Demand!
cancel
Showing results for 
Search instead for 
Did you mean: 
anuradha-bala
Contributor II
Contributor II

qlik qrs export command giving error when --exportScope all flag is added

Hi,

 

We are migrating from Qlik Sense Windows to Cloud.

When running the migration scipt for migrating apps, it gives error. Tried each line in qlik cli. The line that fails is

         qlik qrs app export create $appid --skipdata $SS --exportScope all --output-file $exportAppFile

         Error: 400 - Bad Request (empty response)

But when i run the command without the --exportScope all option in qlik-cli it works.

        qlik qrs app export create $appid --skipdata $SS  --output-file $exportAppFile

 

Are there any permissions or setup that i am missing?

 

Thanks,

Anuradha

 

 

 

 

 

Labels (2)
1 Solution

Accepted Solutions
eyalnir_qlik
Partner - Creator II
Partner - Creator II

hello @akshaychavan1 

The root cause has been identified as related to the use of cookies in Qlik-Cli. As a temporary workaround, when the error occurs, you can manually delete the cookie store and then re-run your command:

  • On Linux: delete ~/.qlik/.cookiestore

  • On Windows: delete %USERPROFILE%\.qlik\.cookiestore

Please note: this workaround needs to be repeated each time the issue comes up, so it’s not a long-term solution. The R&D team is aware and working toward a permanent fix. 

Hope this helps in the meantime!

Eyal

View solution in original post

7 Replies
David_Friend
Support
Support

@anuradha-bala does that user have permissions to ALL objects in the app?

Daniele_Purrone
Support
Support

Hi @anuradha-bala , which version of Qlik Sense for Windows are you using? And which version of the cli?

Daniele - Principal Technical Support Engineer & SaaS Support Coordinator at Qlik
If a post helps to resolve your issue, please accept it as a Solution.
eyalnir_qlik
Partner - Creator II
Partner - Creator II

HI @Daniele_Purrone ,

I encountered the same error when running the API using CLI version 2.26.0 and Qlik Sense November 2024 Patch 10.
In my case, it didn’t matter whether I removed the --exportScope all option — it worked the first and second time, but then after some attempts, it started throwing a 400 Bad Request error.
I will open a support ticket to investigate this further.

Regards

Eyal

akshaychavan1
Partner - Contributor
Partner - Contributor

Hello Eyal,

We are facing exactly the same issue. We have Qlik Sense November 2024 and CLI version 2.0.
Do let us know if you get the support .

Thanks,
Akshay

Daniele_Purrone
Support
Support

Hi @akshaychavan1 . As @eyalnir_qlik already knows, we were able to reproduce the issue ad reported it to R&D as a defect with ID SUPPORT-3800. We are currently waiting for feedback from the dev team.

 

 

 

Daniele - Principal Technical Support Engineer & SaaS Support Coordinator at Qlik
If a post helps to resolve your issue, please accept it as a Solution.
akshaychavan1
Partner - Contributor
Partner - Contributor

Hello @Daniele_Purrone @eyalnir_qlik do we have any update on the support ticket?

eyalnir_qlik
Partner - Creator II
Partner - Creator II

hello @akshaychavan1 

The root cause has been identified as related to the use of cookies in Qlik-Cli. As a temporary workaround, when the error occurs, you can manually delete the cookie store and then re-run your command:

  • On Linux: delete ~/.qlik/.cookiestore

  • On Windows: delete %USERPROFILE%\.qlik\.cookiestore

Please note: this workaround needs to be repeated each time the issue comes up, so it’s not a long-term solution. The R&D team is aware and working toward a permanent fix. 

Hope this helps in the meantime!

Eyal