• This topic has 10 replies, 2 voices, and was last updated July 9, 2019 by Justin N.

Issue with Zerto API to get Datastore details

  • I get 404 error when issuing the below APIs.

    Are they no longer supported ?

    https://zvm_ip:port/v1/datastores

    https://zvm_ip:port/v1/datastores/{datastoreIdentifier}

     

     

    Hello – This is still present from the version where it was introduced in the product. Presuming you are on that version or later, this API should be responsive. — Justin

    It does not work, Justin.

    Here is the request and response:

    REQUEST

    GET https://172.17.12.200:9669/v1/datastores HTTP/1.1
    x-zerto-session: 49435e45762c5ef21f17201b0e2980971c9c6106
    Content-Length: 0
    Host: 172.17.12.200:9669

    RESPONSE

    HTTP/1.1 404 Not Found
    Cache-Control: no-cache
    Content-Length: 1720
    Content-Type: text/html; charset=UTF-8
    Server: Microsoft-HTTPAPI/2.0
    X-Content-Type-Options: nosniff
    Date: Tue, 02 Jul 2019 08:52:12 GMT

    <?xml version=”1.0″ encoding=”utf-8″?>
    <!DOCTYPE html PUBLIC “-//W3C//DTD XHTML 1.0 Transitional//EN” “http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd”>
    <html xmlns=”http://www.w3.org/1999/xhtml”>
    <head>
    <title>Service</title>
    <style>BODY { color: #000000; background-color: white; font-family: Verdana; margin-left: 0px; margin-top: 0px; } #content { margin-left: 30px; font-size: .70em; padding-bottom: 2em; } A:link { color: #336699; font-weight: bold; text-decoration: underline; } A:visited { color: #6699cc; font-weight: bold; text-decoration: underline; } A:active { color: #336699; font-weight: bold; text-decoration: underline; } .heading1 { background-color: #003366; border-bottom: #336699 6px solid; color: #ffffff; font-family: Tahoma; font-size: 26px; font-weight: normal;margin: 0em 0em 10px -20px; padding-bottom: 8px; padding-left: 30px;padding-top: 16px;} pre { font-size:small; background-color: #e5e5cc; padding: 5px; font-family: Courier New; margin-top: 0px; border: 1px #f0f0e0 solid; white-space: pre-wrap; white-space: -pre-wrap; word-wrap: break-word; } table { border-collapse: collapse; border-spacing: 0px; font-family: Verdana;} table th { border-right: 2px white solid; border-bottom: 2px white solid; font-weight: bold; background-color: #cecf9c;} table td { border-right: 2px white solid; border-bottom: 2px white solid; background-color: #e5e5cc;}</style>
    </head>
    <body>

    <p class=”heading1″>Service</p>
    <p xmlns=””>Endpoint not found. Please see the service help page for constructing valid requests to the service.</p>

    </body>
    </html>

    Hi Lydia – presuming you are on a version of this software with this API (Zerto 6.5 update 2 and above only as versions before 6.5 update 2 do not have this API; I do not think you have mentioned the version you are working with) I would recommend opening up a support ticket to troubleshoot further. — Justin

    when i click on Zerto Web client -> About I get this version information

    Zerto Virtual Replication

    Version 6.5 Build 065004930

    Guess this is the lower version ??

     

    Hi Justin , Zerto 6.5.0.930 is the validated version being used in our team. Can you confirm if this has upgrade 2 ?

You must be logged in to create new topics. Click here to login