handels errors:404, 104 ,duplikatekeys