def METHOD_NAME(taxonomy_id: int) -> str:
    parameters = {"db": TAXONOMY_DATABASE, "id": str(taxonomy_id), "api_key": NCBI_API_KEY}
    response = requests.get(EFETCH_URL, parameters)
    try:
        root = ElementTree.fromstring(response.text)
        taxon_list = root.findall("Taxon")
    except Exception:
        logger.error("Bad response from eUtils.", text=response.text)
        raise
    if len(taxon_list) == 0:
        logger.error(
            "No names returned by ncbi.nlm.nih.gov for organism " + "with taxonomy ID %d.",
            taxonomy_id,
        )
        raise InvalidNCBITaxonomyId
    return taxon_list[0].find("ScientificName").text.upper()