Skip to main content
Announcements
Introducing Qlik Answers: A plug-and-play, Generative AI powered RAG solution. READ ALL ABOUT IT!
cancel
Showing results for 
Search instead for 
Did you mean: 
hesh
Partner Ambassador
Partner Ambassador

Postman returns Error 400 with Qlik API .

I am trying to use postman to use Qlik Rest API but it always returns this error. I also added the certificates for POSTMAN but it is still not working.

Any help would be appreciated..

0HcED.png

 

Labels (3)
1 Reply
Jay_Brown
Support
Support

Hello @hesh ,

Does this work in PowerShell as a test?  Replace qlikserver1 with your instance:

$hdrs = @{}
$hdrs.Add("X-Qlik-xrfkey","12345678qwertyui")
$url = "https://qlikserver1.domain.local/qrs/about?xrfkey=12345678qwertyui"
Invoke-RestMethod -UseDefaultCredentials -Uri $url -Method Get -Headers $hdrs -SessionVariable websession
$cookies = $websession.Cookies.GetCookies($url)

 


Try that, and see if it returns a response outside of Postman, from the Qlik server and from the client machine.  My experience is that sometime Postman requires some additional steps.

If outside the Qlik server, you may need to export the certificates as shown here:
https://community.qlik.com/t5/Official-Support-Articles/How-to-use-Postman-to-make-API-calls-and-use...
and here:
https://community.qlik.com/t5/Official-Support-Articles/How-to-configure-Postman-desktop-app-to-conn... 

This should help get you going.  

Best,
Jay






To help users find verified answers, please don't forget to mark a correct resolution or answer to your problem or question as correct.