Quantcast
Channel: VMware Communities : Discussion List - All Communities
Viewing all articles
Browse latest Browse all 180259

Error when attempting to revertToCurrentSnapshot

$
0
0

I am attempting to use the "Revert To Current Snapshot" functionality in the REST API and I am failing.

 

The documentation says that you send a POST request with no body to this URL (replacing the base URL as appropriate):

 

 

 

This is what I am getting back.

 

Status code : 500 Method failed: HTTP/1.1 500 Internal Server Error
status code: 500
response: <?xml version="1.0" encoding="UTF-8"?>
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/">
    <soapenv:Body>
        <soapenv:Fault>
            <faultcode>soapenv:Server</faultcode>
            <faultstring>Error in assertion processing</faultstring>
            <detail>
                <l7:policyResult status="null content type header value" xmlns:l7="http://www.layer7tech.com/ws/policy/fault"/>
            </detail>
        </soapenv:Fault>
    </soapenv:Body>
</soapenv:Envelope>
I have been setting my content type to blank since there is no body... the documentation says nothing about setting the content type for this call. What am I doing wrong?

Viewing all articles
Browse latest Browse all 180259

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>