Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
Hi Community,
We have to send out NPrinting report every day. Currently Customer has Qlik Sense SaaS and we have deployed QSEoW and NPrinting on seperate servers.
We have created a cli script which does the following operations:
-Export app from SaaS to local folder
-Removing all apps from workspace in Qlik Sense hub
-Importing apps from the local folder to Qlik Sense hub
-Publish and replace old apps.
This script was working fine till last week and all the apps were getting properly migrated from SaaS to On prem and our NPrinting reports were also getting generated properly.
Our clients IT team did some changes to the Server after which admin rights were removed and we could no longer run cli scripts on windows task schedular or even manage (start or stop) Qlik Sense services.
While this was reverted back and we tested everything out to be working fine. Unfortunately, since yesterday evening we are facing a new issue which seems to be cli/api related issue.
While the exporting and importing of apps are working fine while replacing old app with new app
Error message :
Invoke-RestMethod : Content-Length or Chunked Encoding cannot be set for an operation that does not write data.
At C:\Program Files\WindowsPowerShell\Modules\Qlik-Cli\1.22.0\functions\core.ps1:66 char:23
+ ... $result = Invoke-RestMethod @paramInvokeRestMethod @params
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : NotSpecified: (:) [Invoke-RestMethod], ProtocolViolationException
+ FullyQualifiedErrorId : System.Net.ProtocolViolationException,Microsoft.PowerShell.Commands.InvokeRestMethodCo
mmand
I am attaching all the necessary files for reference. Please look into this and how can we resolve as soon as possible as critical functionalities depend on this.
Thanks in advance.
Hi @Madhushree17 , please correct me if I'm wrong. This issue concerns the client-managed cli (and, in general, the client-managed Platform), is that right?
Thanks @Vishal_Gupta , I'm moving this to the forum for API-related issues then.