question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Request-Rate Exceeded Message

See original GitHub issue

Two things:

  1. What if I do want this message repeated so I know I solved the problem by adding the appropriate keys?
  2. It’d be nice if it told me which provider was at its capacity.
========= NOTICE =========
Request-Rate Exceeded  (this message will not be repeated)

The default API keys for each service are provided as a highly-throttled,
community resource for low-traffic projects and early prototyping.

While your application will continue to function, we highly recommended
signing up for your own API keys to improve performance, increase your
request rate/limit and enable other perks, such as metrics and advanced APIs.

For more details: https://docs.ethers.io/api-keys/
==========================

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Reactions:4
  • Comments:9 (5 by maintainers)

github_iconTop GitHub Comments

2reactions
ricmoocommented, Jan 21, 2021

@Tang19de You will only see this in the console if you are using a provider with the default keys. There is probably another provider you are using somewhere else in your application? Or perhaps a library is using on? Such as ethers.getDefaultProvider() or new ethers.providers.InfuraProvider()?

1reaction
ricmoocommented, Oct 7, 2020

@PierreJeanjacquot This isn’t really a feature I plan to support as there isn’t really a safe way to provide that flexibility, but you could easily add it in your own sub-class for the providers you use . You can check out the existing implementations, but basically all you need to do is override the throttleCallback on the connection object to perform your custom checking of the API key and then trigger your equivalent of showThrottleMessage.

Read more comments on GitHub >

github_iconTop Results From Across the Web

"Request-Rate Exceeded for default API keys" even though I'm ...
Request -Rate Exceeded (this message will not be repeated). The default API keys for each service are provided as a highly-throttled,
Read more >
Find the AWS API call causing "Rate exceeded" errors
To determine which API call is causing a Rate exceeded error in your AWS account, do the following: 1. Create an Amazon Athena...
Read more >
Request rate exceeded when sending sms
From the error, we can see that the rate limit is not exceeded but why did it say 'Rate limit exceeded'? X-Rate-Limit-Limit: 60...
Read more >
Request-Rate Exceeded - Defender - OpenZeppelin Forum
(with this error : “Request-Rate Exceeded” [EDIT by @abcoathup] Moved ... 2020-11-06T09:49:40.341Z INFO Request-Rate Exceeded (this message ...
Read more >
Handle Rate Exceeded Error | Google Ads API
intentionally try to trigger a rate exceed error in your application. ... Instances of this exception have a message and a GoogleAdsFailure that...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found