Qlik Community

Ask a Question

Connectivity & Data Prep

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

Our next Qlik Insider session will cover new key capabilities. Join us August 11th REGISTER TODAY
Showing results for 
Search instead for 
Did you mean: 

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>
Labels (6)
1 Reply

Hi @gettsuker 

What is the result if you follow the following article?

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

Kind regards.

Note: if this suggestion helps to resolve the issue or answers your question, it will be appreciated if you select the "Accept as Solution" option.
We encourage you to visit our Knowledge Base https://qliksupport.force.com/QS_CoveoSearch when trying to find a solution related and not limited to: errors, feature requests, product defects. You can also visit our Qlik Help portal https://help.qlik.com/