Make error handling on external_lookup clearer