Discussion board where members can learn more about Integration, Extensions and API’s for Qlik Sense.
I am trying to use Qlik-Cli powershell module to automate some tasks.
When I try to execute the
Import-QlikApp -file "path\Vegeta.qvf" -name "Testing" -upload | Publish-QlikApp -stream Everyone
I get the Bad Request - Invalid URLHTTP Error 400. The request URL is invalid.
Unsure. I'd approach things by breaking out the steps into parts and drilling into which part fails. Example:
$app = Import-QlikApp -file "exampleApp2.qvf" -name "Testing" -upload
Write-Host "App $($app.name) with ID $($app.id) uploaded"
$stream = Get-QlikStream -filter "name eq 'Everyone'"
Write-Host "Stream $($stream.name) with ID $($stream.id) exists"
$app | Publish-QlikApp -stream Everyone