cli: Error: API Request rate limit surpassed for application

I’m running into this problem:

✔ Finished hashing 10849 files
- CDN diffing files...
✔ CDN requesting 2218 files
- Uploading 2218 files
 ›   Error: API Request rate limit surpassed for application

That was the first deploy today, so it’s not an issue of deploying too frequently. It seems that the CLI tool doesn’t limit itself to match the API rate limits?

Environment:

owid@terra3:~$ /mnt/volume-nyc1-01/owid/mispytest-grapher-code//node_modules/.bin/netlify --version
netlify-cli/2.6.0 linux-x64 node-v10.14.2

About this issue

  • Original URL
  • State: closed
  • Created 5 years ago
  • Reactions: 7
  • Comments: 21 (15 by maintainers)

Commits related to this issue

Most upvoted comments

Rate limit trigger was significantly increased, you should rarely see rate limits now.

Issue is solved in master, expect a release tomorrow morning.

Just an update - we have identified the problem and have a proposed solution that we’ll implement soon. For the meantime, you can successfully deploy with our old (still functional and supported) CLI netlifyctl: https://github.com/netlify/netlifyctl

We’ll report here when we have a fix.

Reopening. @thomasjsn that problem was fixed in 2.6.3 although it still sounds like there is an open issue. I will investigate.

Give netlify-cli@2.6.4 a shot. I tested it with 10000+ file uploads. Rate limiting kicks in around every 500 uploads, with a 60 second delay (controlled by the API). This is kind of tedious, and I will be discussing it with our API team.

🎉netlify-cli@2.6.2🎉

Please give that version and shot and let me know how it goes. Sorry it took so long to get out, I was traveling this last week.

Thanks for the report, @mispy . This is not unique to you, and our developers will be taking a look as soon as they can