Citrix

Produktdokumentation



Ganzes Dokument herunterladen

Error Handling

Oct. 21, 2015

In case of a failed request, NITRO provides the required information through the response.

Error in a Single Resource Operation

The response for an erroneous request is as follows:

  • Header.
    • HTTP status: <appropriate error status>
    • Content-Type: application/vnd.com.citrix.cloudbridge.error+json
  • Payload.
    { 
        "errorcode":<integer>, 
        "message":<string>, 
        "severity":"ERROR" 
    }

Warnings

When an operation takes some time to execute, CloudBridge NITRO provides an interim response that indicates the process is in operation. This is shown as a warning.

  • Header.
    • HTTP status: 202
    • Content-Type: application/vnd.com.citrix.cloudbridge.warning+json
  • Payload.
    { 
        "errorcode":<integer>, 
        "message":"Operation in progress", 
        "severity":"WARNING" 
    }
Back to Top