Timeline for Too many requests error when querying NCBI
Current License: CC BY-SA 4.0
6 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
Jul 10, 2020 at 2:19 | comment | added | An Ignorant Wanderer | yes that worked. Interesting, thanks! | |
Jul 10, 2020 at 2:13 | comment | added | vkkodali |
I typically don't use Python for this sort of thing. I just run the command in a bash shell. I suspect the reason for the too many requests error is because you are using multithreading. Does your code simultaneously run 10 instances of the fetch_metadata function? May be try without the multithreading to see if it works?
|
|
Jul 10, 2020 at 0:55 | comment | added | An Ignorant Wanderer | Even went as far as setting the sleep time to 10, and the step size for the for loop to 1, and still get too many requests | |
Jul 10, 2020 at 0:48 | comment | added | An Ignorant Wanderer | did as you said, yet I still get "too many requests" for quite a few | |
Jul 10, 2020 at 0:38 | vote | accept | An Ignorant Wanderer | ||
Jul 10, 2020 at 0:44 | |||||
Jul 10, 2020 at 0:36 | history | answered | vkkodali | CC BY-SA 4.0 |