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

Handle Too many requests #16

Open
WilliamBlais opened this issue Jul 13, 2020 · 2 comments · May be fixed by #178
Open

Handle Too many requests #16

WilliamBlais opened this issue Jul 13, 2020 · 2 comments · May be fixed by #178

Comments

@WilliamBlais
Copy link

Hi,

When adding a lot of env variables, I get rate limited by Vercel. However, it is currently not detected and eventually the command fails. Maybe detect & sleep for x seconds? Thanks!

Added Environment Variable NUXT_ENV_RECAPTCHA_KEY to Project umsfront [2s]
Error! Too many requests - try again in 46 seconds (more than 120, code: "api-projects"). (429)
Error! Too many requests - try again in 46 seconds (more than 120, code: "api-projects"). (429)
/bin/sh: -c: line 1: syntax error: unexpected end of file
/bin/sh: -c: line 0: `echo -n (xxxxx) | vercel env add NUXT_ENV_HOME_LEGAL production'
Error! Too many requests - try again in 46 seconds (more than 120, code: "api-projects"). (429)
Error! Too many requests - try again in 45 seconds (more than 120, code: "api-projects"). (429)
Error! Too many requests - try again in 46 seconds (more than 120, code: "api-projects"). (429)
Error! Too many requests - try again in 46 seconds (more than 120, code: "api-projects"). (429)
Error! Too many requests - try again in 45 seconds (more than 120, code: "api-projects"). (429)
Error! Too many requests - try again in 45 seconds (more than 120, code: "api-projects"). (429)
/bin/sh: more!: command not found
Vercel CLI 19.1.1
Error! Too many requests - try again in 44 seconds (more than 120, code: "api-projects"). (429)
Error! Too many requests - try again in 43 seconds (more than 120, code: "api-projects"). (429)
Error! Too many requests - try again in 43 seconds (more than 120, code: "api-projects"). (429)
Error! Too many requests - try again in 43 seconds (more than 120, code: "api-projects"). (429)
Error! Too many requests - try again in 43 seconds (more than 120, code: "api-projects"). (429)
Error! Too many requests - try again in 43 seconds (more than 120, code: "api-projects"). (429)
Error! Too many requests - try again in 43 seconds (more than 120, code: "api-projects"). (429)
Error! Too many requests - try again in 43 seconds (more than 120, code: "api-projects"). (429)
Error! Too many requests - try again in 41 seconds (more than 120, code: "api-projects"). (429)
Error! Too many requests - try again in 41 seconds (more than 120, code: "api-projects"). (429)
Error! Too many requests - try again in 41 seconds (more than 120, code: "api-projects"). (429)
Error! Too many requests - try again in 41 seconds (more than 120, code: "api-projects"). (429)
Error! Too many requests - try again in 41 seconds (more than 120, code: "api-projects"). (429)
/bin/sh: more!: command not found
Vercel CLI 19.1.1
Error! Too many requests - try again in 41 seconds (more than 120, code: "api-projects"). (429)
Error! Too many requests - try again in 41 seconds (more than 120, code: "api-projects"). (429)
Error! Too many requests - try again in 41 seconds (more than 120, code: "api-projects"). (429)
Error! Too many requests - try again in 39 seconds (more than 120, code: "api-projects"). (429)
Error! Too many requests - try again in 38 seconds (more than 120, code: "api-projects"). (429)
/bin/sh: More!: command not found
Vercel CLI 19.1.1
Error! Too many requests - try again in 38 seconds (more than 120, code: "api-projects"). (429)
groups.: No such file or directory
Vercel CLI 19.1.1
Error! Too many requests - try again in 38 seconds (more than 120, code: "api-projects"). (429)
Error! Too many requests - try again in 38 seconds (more than 120, code: "api-projects"). (429)

@Pytal
Copy link
Owner

Pytal commented Jul 13, 2020

🤯 I haven't personally tested deploying that many environment variables.

I will look into potential solutions.

@morizyun
Copy link

morizyun commented Dec 4, 2020

This tool is very useful.
I have same problem.

It's not a radical measure, but could we have, for example, a configurable option to have the interval of an API call?

Or can't we have the option to just do the writing without deleting env variable?

@remorses remorses linked a pull request Oct 19, 2021 that will close this issue
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

Successfully merging a pull request may close this issue.

3 participants