Added error handling for the case where the requested store is missing