On error server, return JSON-object with error information.
Table 3-110 JSON-object for error.
|
Parameter name |
Description |
|---|---|
|
errors |
Array of errors JSON-objects. Each object contains information about error. |
|
status |
Current status |
Error object is JSON-object with parameters.
Table 3-111 JSON-object with detailed information about error.
|
Parameter name |
Description |
|---|---|
|
name |
Error name |
|
location |
Location, where error occurs. |
|
description |
Error full description. |
The following example shows simple server error response.
{
"status":"error",
"errors":
[
{
"description":"You are logged to empty event.data_id. It is not for data",
"location":"server",
"name":"AuError"
}
]
}