Return error when key doesnot exist