Qualys - ServiceNow integration error

Dark Knight
Giga Contributor

Hi,

I am trying to integrate Qualys with ServiceNow (London) using the Setup assistant and getting the following error. Can anyone help?

 

 

1 ACCEPTED SOLUTION

andy_ojha
ServiceNow Employee
ServiceNow Employee

Hey there,

As Adam noted - it looks like you're request is being blocked by Qualys.

This may be a result of the account / subscription being used (i.e. licensing, not registering an completely / accepting terms of agreement, etc).  Have you historically used this account for making API requests to Qualys before, or is this a new account?

To find the specific error code and reason for the 409 response, you can look into the actual body of the response payload.

You can replicate your API request using a tool called Postman, to see the response returned with the actual Qualys error code behind the 409 response.

Or, you can check out the XML payload that ServiceNow received from Qualys to see what error code is in there, this can be found in the Data Source record (XML attachment).  You can check out the Qualys Knowledgebase record here to start with.

Reference Data Source for Qualys:

find_real_file.png

 

find_real_file.png

 

 

Postman Example of Qualys 409 for Code 2003 -> Account not Registered Properly:

find_real_file.png

 

View solution in original post

3 REPLIES 3

adamn
Tera Contributor

Did a quick google search for Qualys and 409 

 

https://www.qualys.com/docs/qualys-api-limits.pdf

 

Suggests its blocking the API you are calling. Maybe permissions?

I dont even know what Qualys is so thats about the best I can do 🙂

andy_ojha
ServiceNow Employee
ServiceNow Employee

Hey there,

As Adam noted - it looks like you're request is being blocked by Qualys.

This may be a result of the account / subscription being used (i.e. licensing, not registering an completely / accepting terms of agreement, etc).  Have you historically used this account for making API requests to Qualys before, or is this a new account?

To find the specific error code and reason for the 409 response, you can look into the actual body of the response payload.

You can replicate your API request using a tool called Postman, to see the response returned with the actual Qualys error code behind the 409 response.

Or, you can check out the XML payload that ServiceNow received from Qualys to see what error code is in there, this can be found in the Data Source record (XML attachment).  You can check out the Qualys Knowledgebase record here to start with.

Reference Data Source for Qualys:

find_real_file.png

 

find_real_file.png

 

 

Postman Example of Qualys 409 for Code 2003 -> Account not Registered Properly:

find_real_file.png

 

Thanks! I have never used postman before. This is the first time using this account. Let me check and will keep you all posted!