Qlik Community

Ask a Question

Integration, Extension & APIs

Discussion board where members can learn more about Integration, Extensions and API’s for Qlik Sense.

Announcements
QlikWorld Online 2021, May 10-12: Our Free, Virtual, Global Event REGISTER TODAY
cancel
Showing results for 
Search instead for 
Did you mean: 
Broly
Contributor III
Contributor III

Qlik Cli - Publish app - Bad Request - Invalid URL HTTP Error 400. The request URL is invalid.

Hello all,

 

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 URL
HTTP Error 400. The request URL is invalid.

Labels (3)
1 Reply
Levi_Turner
Employee
Employee

Unsure. I'd approach things by breaking out the steps into parts and drilling into which part fails. Example:

 

Connect-Qlik
$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