datadog_backup icon indicating copy to clipboard operation
datadog_backup copied to clipboard

the server responded with status 429

Open jsotopian-chwy opened this issue 2 years ago • 5 comments

We can no longer pull a full backup of our DD configurations, we are getting "the server responded with status 429".

We can pull monitors-only, but even pulling dashboards-only fails with the same rate-limiting error.

jsotopian-chwy avatar Mar 25 '24 22:03 jsotopian-chwy

Thanks for reporting this @jsotopian-chwy. Will look into it next week.

kamranf avatar Apr 18 '24 13:04 kamranf

This is now addressed per https://github.com/scribd/datadog_backup/pull/162 thanks to @maratkomarov Please update to the latest gem version to.

kamranf avatar Apr 30 '24 03:04 kamranf

Good morning @kamranf, Thanks for looking into this. I updated the gem, and now I am getting a different error.

_/var/lib/gems/3.0.0/gems/datadog_backup-4.0.1/lib/datadog_backup/resources.rb:21:in `<class:Resources>': uninitialized constant Faraday::TooManyRequestsError (NameError)
        from /var/lib/gems/3.0.0/gems/datadog_backup-4.0.1/lib/datadog_backup/resources.rb:11:in `<module:DatadogBackup>'
        from /var/lib/gems/3.0.0/gems/datadog_backup-4.0.1/lib/datadog_backup/resources.rb:8:in `<top (required)>'
        from /var/lib/gems/3.0.0/gems/datadog_backup-4.0.1/lib/datadog_backup.rb:8:in `require_relative'
        from /var/lib/gems/3.0.0/gems/datadog_backup-4.0.1/lib/datadog_backup.rb:8:in `<top (required)>'
        from <internal:/usr/lib/ruby/vendor_ruby/rubygems/core_ext/kernel_require.rb>:85:in `require'
        from <internal:/usr/lib/ruby/vendor_ruby/rubygems/core_ext/kernel_require.rb>:85:in `require'
        from /var/lib/gems/3.0.0/gems/datadog_backup-4.0.1/bin/datadog_backup:12:in `<top (required)>'
        from /usr/local/bin/datadog_backup:25:in `load'
        from /usr/local/bin/datadog_backup:25:in `<main>'_

jsotopian-chwy avatar Apr 30 '24 13:04 jsotopian-chwy

@jsotopian-chwy I believe you just need to update faraday to 2.9.0 to resolve that. Let me know.

kamranf avatar Apr 30 '24 13:04 kamranf

@kamranf That did the trick, it is working now. Thanks for the support!

jsotopian-chwy avatar Apr 30 '24 13:04 jsotopian-chwy