Errors are returned by the system in JSON format. The codes correspond to the HTTP codes.
Example:
JSON
{
"error": {
"msg": "Access restricted.",
"code": 500,
"languageColumn": "",
"efCode": ""
}
}