diff --git a/lib/entity-base.js b/lib/entity-base.js
index <HASH>..<HASH> 100644
--- a/lib/entity-base.js
+++ b/lib/entity-base.js
@@ -60,14 +60,14 @@ Entity.prototype._normalizeError = function(err) {
   var error = new appError.Validation(err);
   switch(err.code) {
   case 11000:
-    var items = err.err.match(/key error index:\s(.+)\.(\w+)\.\$([\w\_]+)\s/);
+    var items = err.errmsg.match(/key error index:\s(.+)\.(\w+)\.\$([\w\_]+)\s/);
     // error.db = items[1];
     // error.collection = items[2];
     error.index = items[3];
     error.message = 'Duplicate record found';
 
     // now cleanup the error object
-    delete error.err;
+    delete error.errmsg;
     delete error.code;
     delete error.n;
     delete error.connectionId;
update err path for mongoose 4.x