-
-
Notifications
You must be signed in to change notification settings - Fork 69
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
The API returned an error: Error: User-rate limit exceeded. #9
Comments
Hi, ETIMEDOUT means you're getting timeouts when connecting to Please make sure you're not behind a firewall and your internet connection is solid. |
@levz0r, I am seeing a similar issue. I do NOT have an error reason
|
@midleman Hey, I need additional information, such as, which version of the lib you are using and the parameters you pass to the function. |
@levz0r , i just realized that above that error it clearly states that |
Hi, Quota handling is out of the scope of this library... Maybe you have an 3rd-party app which is draining your quota... Check this out: https://support.google.com/accounts/answer/3466521?hl=en |
Hi, there are no 3rd party apps or other integrations with this account (which I just confirmed). This account is strictly for test automation purposes. I'm using your package to get verification emails & links sent to the inbox and that's it. When I'm running these tests more frequently (writing a new one, or debugging an issue) I quickly hit the User-rate limit exceeded error and then I can't resume using/getting messages until 12-24 hours later. |
Hi, actually I'm having hard time to understand how it is possible to either reach 1,000,000,000 quota units per day, or 250 requests per second. It is definitely not something |
Ditto, i'm with you on that sentiment. this is my code. i'm a newb with javascript, so i'm sure i did a lot wrong below :x
|
same issue, limit reached so quickly hard to understand. |
Is that the 0Auth limitation reached? Cuz I found the gmail API requests is far less than the limitation. |
Yeah same issue here... |
Can someone try sending this application? https://support.google.com/code/contact/oauth_quota_increase |
I have tried @levz0r and have not heard anything from them for a long time... |
Strange... I got a reply within minutes. In my case, I haven't exceeded my quota, and this is their reply:
I'll try to reach them out and see what I is possible to do... |
Official response from OAuth guys:
I hope it helps. |
I just reviewed that documentation and noted the following:
In my case, the project is only used by Owner. If I understand this correctly, I don't need to submit for verification. |
Whoo, I'm so glad I found this thread. I've been going through trial and error all night. Hi @levz0r I am still stuck on running the node script Here's a little snippet of the error output I get from running the node script:
Thank you! |
Hi @willischu, sorry for the delayed reply. Thank you. |
Hi there, just wanted to chime in on an issue I was seeing. Not sure if it's related, but I was getting quota exceeded, hitting the 15k requests per minute violation. This was caused because I was running the init script on an inbox with 15k+ emails. It hangs up on this line: const gmail_emails = await gmail.get_recent_email(
gmail_client,
oAuth2Client,
query
); Then it crashes because it was probably checking too fast to see all the emails that match the I just checked the init.js to filter on some emails that I know weren't so plentiful and it was able to get through it. Hope this helps someone. |
Yeah! Thank you, this is the solution. The gmail-tester assumes, that we are using newly created mailbox. So - init.js is looking for any e-mail ("Welcome to Gmail…") in inbox, but if there are hundreds of e-mails, it crashes.
|
Hello!
Can someone please have a look at possible issue? Sorry if this is not enough of information - please let me know and I'll reply with more details.
The API returned an error: FetchError: request to https://oauth2.googleapis.com/token failed, reason: connect ETIMEDOUT 172.217.21.138:443
[gmail] Error: TypeError: gmail_emails is not iterable
at _get_recent_email (C:\projects\cypress-test\node_modules\gmail-tester\gmail-tester.js:37:29)
at
at process._tickCallback (internal/process/next_tick.js:188:7)
The text was updated successfully, but these errors were encountered: