The following response codes are available.

Response code Description

200 0K

The request was processed successfully and the requested data returned.

400 Bad Request

The request contained an error. Refer to the error message to resolve the issue.

404 Not Found

The requested resource is not found or no samples are collected for the metric.

500 Internal Server Error

An unexpected server error occurred. Refer to the error message for more info.

503 Service Not Available

The metric query service is temporary offline. Refer to the error message for more info.

The following is a sample response body.
<?xml version="1.0" encoding="UTF-8"?>
<errorResponse xmlns="">
<errors reason="unknown_data_source_id" message="There are
  no metrics defined with id connections"/>