Storage system error response
In cases when an error is thrown by the storage system, the REST API server displays the error code and error message in the response body as shown in the example below.
errorDetail shows low-level subsystem error details for debugging purposes.
{ "errorCode" : 1081368, "errorDetail" : { "detail" : "<HTML><HEAD><TITLE>401 Unauthorized</TITLE></HEAD><BODY><H1>401 Unauthorized</H1>Incorrect username or password.</BODY></HTML>", "fault" : "SOAP-ENV:Server", "fileName" : "VersionMgmntProvider.cpp", "function" : "getApiVersion", "lineNumber" : 50, "message" : "HTTP/1.1 401 Unauthorized", "reason" : "HTTP/1.1 401 Unauthorized", "returnedValue" : 401, "subCode" : 0 }, "errorMsg" : "The login failed." }