Closed babinecha closed 1 day ago
@babinecha Do you have an API Key? Try
Sys.getenv("ENTREZ_KEY", "")
And if the result is an empty string (""
), try:
usethis::edit_r_environ()
ENTREZ_ID="your_api_key_here"
(plus, note to self, I need to update the documentation)
Hi! I'm trying to use ncbi_byname function, but it is returning the Error : Bad Request (HTTP 400). What can I do?
ncbi_byname(taxa="Otaria flavescens", gene = c("coi", "co1"), seqrange = "1:2000")
Returns:
Working on Otaria flavescens... ...retrieving sequence IDs... Error : Bad Request (HTTP 400) NULL