Qlik Community

Qlik Sense Data Connectivity

Discussion board where members can learn more about Qlik Sense Data Connectivity.

New Contributor

400 BAD REQUEST - Missing parameters

Hi, we´re trying to implement an external log-in to qlik sense into our HTML webpage but we´re getting a 400 error once we manage to redirect the page to the qlik sense´s one.


This is the error that we got: "400 BadRequest: Virtual proxy not possible to determine, since neither TargetId nor Virtual Proxy were specifie"

and this is our HTML code:


$(document).ready(function() {
$("#login_form").submit(function(e) {

var url = $(this).attr('action');
$('#submit').html('Logging in...');
cache: false,
type: "POST",
url: url,
data: $(this).serialize(), // serializes the form's elements.
success: function(response)
var json = jQuery.parseJSON(response);
if ( json.status == 'success' ) {
window.location.href = json.location;
else {
<div class="ajax_response"></div>

<input type="hidden" name="do" value="login">
<input type="hidden" name="external" value="1">
<input type="hidden" name="ajax" value="1">
<input type="text" name="username">
<input type="password" name="pwd">
<button type="submit" id="submit">Log in</button>
1 Reply

Re: 400 BAD REQUEST - Missing parameters

Hi @gettsuker 

What is the result if you follow the following article?

Qlik Sense: Generate a ticket with Qlik proxy API (Powershell)

Kind regards.