Fix parsing error messages returned to FileUploadDownloadClient
@@ -509,7 +509,7 @@ public class FileUploadDownloadClient implements Closeable {
StatusLine statusLine = response.getStatusLine();
String reason;
try {
- reason = JsonUtils.stringToJsonNode(EntityUtils.toString(response.getEntity())).get("error").asText();
+ reason = JsonUtils.stringToJsonNode(EntityUtils.toString(response.getEntity())).get("_error").asText();
} catch (Exception e) {
reason = "Failed to get reason";
}
