Reverted upload file response body. AEM actually responds with a HTML string which message can be parsed from the body.