Skip to main content
Announcements
Join us at Qlik Connect for 3 magical days of learning, networking,and inspiration! REGISTER TODAY and save!
cancel
Showing results for 
Search instead for 
Did you mean: 
in_kkumar31
Contributor II
Contributor II

Qlik Rest APIs gives http 400 header request error after upgraded to Nov 2019 version

hi,

we have been using Qlik Rest API's and after upgrading i am getting http 400 header request error..

https://<qlik url>/<virtual proxy>/app?xrfkey=<key id>&filter=name eq 'dashboard0'

2020-01-24 14_33_10-Postman.jpg

we get 200 success if we pass rest url without virtual proxy.. but the expected output for header are not comming

https://<qlik url>/app?xrfkey=<key id>&filter=name eq 'dashboard0'

2020-01-24 14_33_10-Postman2.jpg

is there anything changed in Rest API url s as compared to Qlik April 2019 version ? or any other possible reasons like authentication or rights that got changed ?

Labels (3)
2 Replies
vegard_bakke
Partner - Creator III
Partner - Creator III

You might have solved this already, but for others:

I am guessing the problem is that the hostname you are using is not in the whitelist in QMC under each virtual proxy.

 

Qlik Sense has started checking the header "Host:" on all requests now. Not just when opening the websocket.

 

Which is the reason the the unfortunately named error message:

   400 Bad Request - The http header is incorrect

mdbender
Contributor II
Contributor II

Yes, this is solution for me. Thanks! The steps of adding host in white list is described in this tutorial.

Why there are no words about white list  settings in Qlik Help example I can't understand!