one issues is that this results in a bunch of logs unnecessarily  this is not a big deal  but what about just testing if the parsed args id is a valid uuid  in which case we treat it as a uuid  otherwise we assume it is a name and try to search for it  this way there is only one query either way  and no uneeded log errors 