If an error occurs, the Alerts API responds with JSON objects that provide information you can use to debug the problem, as in the example below. In some cases, 502 or 503 routing errors may respond with HTML generated from the application server.
{
"detail": "java.lang.IllegalArgumentException: Not a valid Id"
}
For details on information contained in the error responses, refer to Error response syntax.