Return errors if lookup fails