mirror of
https://github.com/imputnet/cobalt.git
synced 2026-05-21 14:00:26 -05:00
[GH-ISSUE #1026] error.api.rate_exceeded returns status code 400 instead of 429 #5039
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @nichind on GitHub (Dec 29, 2024).
Original GitHub issue: https://github.com/imputnet/cobalt/issues/1026
bug description
error.api.rate_exceeded returns with status code 400 instead of 429
Example response when hit ratelimit:
The response has "Retry-After" in it so i should be 429, no? I'm rewriting my python cobalt api wrapper, and it would be very convinient for that error to have proper status code
reproduction steps
screenshots
No response
links
No response
platform information
anything
additional context
No response
@hextor1 commented on GitHub (Dec 30, 2024):
you can increase the rate limit cobalt has an feature that you can increase the rate limit via this command.
RATELIMIT_MAX: 10000
@nichind commented on GitHub (Dec 30, 2024):
how is that related to my issue
@wukko commented on GitHub (Feb 11, 2025):
closed via #1066