Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

API rate limit exceeded using comm2sci() #879

Open
aczich opened this issue Jul 3, 2021 · 3 comments
Open

API rate limit exceeded using comm2sci() #879

aczich opened this issue Jul 3, 2021 · 3 comments

Comments

@aczich
Copy link

aczich commented Jul 3, 2021

I've having issues running the comm2sci() function. I realize that the API limit is set by NCBI, however I was reading that you introduced "waits" as a way around this for other functions I believe. I'm not sure if that's can be used with comm2sci() or what other work around I could use to resolve this issue. Thanks.

@aczich aczich changed the title API limit reached using comm2sci() API rate limit exceeded using comm2sci() Jul 3, 2021
@sckott
Copy link
Contributor

sckott commented Jul 6, 2021

Thanks @aczich . First of all, do you have your API key set? Second, what wait are you talking about specifically?

@aczich
Copy link
Author

aczich commented Jul 7, 2021

@sckott, I'm not sure if I do have an API set. I would guess not. If I pass through a list of common names that is too long (~40-50+) I receive an error that says API rate limit exceeded after it runs through about ~40 names. This happens with all databases except for tropicos.

@sckott
Copy link
Contributor

sckott commented Jul 7, 2021

Okay, see https://docs.ropensci.org/taxize/reference/taxize-authentication.html to get yourself and NCBI API key - that page has details about how to make sure you set up your key correctly as well

try again after doing that and report back

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants