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

Rate Limit Error | Display rate limit text via dApps UI #34

Open
LlamaMB opened this issue Feb 21, 2023 · 1 comment
Open

Rate Limit Error | Display rate limit text via dApps UI #34

LlamaMB opened this issue Feb 21, 2023 · 1 comment

Comments

@LlamaMB
Copy link
Contributor

LlamaMB commented Feb 21, 2023

When we start dropping the limits, having a rate limit display message will be a good best practice. A lot of dApps show the said error message w/ text (attached).

Need: Add text for the rate limit Error 429 and outline how to get this text up on a dApp.

image (6)

@BlinkyStitt
Copy link
Contributor

I'm not sure what change the frontends need to make to do this. I think they need to add an error handler to the rpc queries they make that looks for error code 429.

We already give a message in our error response, but I could change it to be more specific to LlamaNodes:

https://github.com/llamanodes/web3-proxy/blob/main/web3_proxy/src/frontend/errors.rs#L165-L191

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