AnsweredAssumed Answered

Error OPERATION NOT SUPPORTED while download wasscan details

Question asked by Manish Rana on Dec 21, 2016
Latest reply on Dec 21, 2016 by Manish Rana

I am trying to retrieve details of a scan using download scan option in WAS API. But getting OPERATION NOT SUPPORTED error. Below is the response from Qualys web service.

 

<?xml version="1.0" encoding="UTF-8"?>

<ServiceResponse xsi:noNamespaceSchemaLocation="https://qualysapi.qualys.com/qps/xsd/3.0/was/wasscan.xsd" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><responseCode>OPERATION_NOT_SUPPORTED</responseCode>

<responseErrorDetails>

<errorMessage>Operation not supported for this object using this method.</errorMessage>

<errorResolution>Refer to the QPS guide for authorized operation for this domain object.</errorResolution>

</responseErrorDetails>

</ServiceResponse>

 

URL used is https://qualysguard.qualys.com/qps/rest/3.0/download/was/wasscan/1234567

 

One thing to note here is that I am getting desired result when I am using PrevQAPI-1.0.1.0 on powershell. This error (Operation not supported) is received only when trying from vba.

Outcomes