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

Problem with authenticateUser() #100

Open
josephhughes opened this issue Dec 16, 2022 · 1 comment
Open

Problem with authenticateUser() #100

josephhughes opened this issue Dec 16, 2022 · 1 comment

Comments

@josephhughes
Copy link

If I run the following:

b1.177_spain = getPrevalence(pangolin_lineage = "B.1.177", location="Spain")
Retrieving data... 
**Please authenticate by calling authenticateUser() to access the API.**

but any other command works just fine, for example:

b1.177_portugal = getPrevalence(pangolin_lineage = "B.1.177", location="Portugal")
Retrieving data... 

So I've definitely authenticated properly and there should definitely be some B.1.177 from Spain.

Any advice would be much appreciated.

@Lukas67
Copy link

Lukas67 commented Jan 3, 2023

I have a similar problem when querying the database multiple times in row.

Retrieving data... 
Retrieving data... 
Retrieving data... 
Retrieving data... 
Retrieving data... 
Retrieving data... 
Retrieving data... 
Retrieving data... 
Retrieving data... 
Please authenticate by calling authenticateUser() to access the API.

It seems like the database allows only a defined number of queries within a time interval. If this is the case, can you let us know how many queries are possible or give us a lazy loading argument?

BR
Lukas

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