Closed Erikvv closed 2 years ago
These are monthly limits. A 429 makes sense but probably shouldn't be accompanied by Retry-after http headers for more temporal rate limiting. Minio, I think, appends a 2 minute retry for its "SlowDown" errors, we should avoid this. Also, it seems that either metainfo projectUsage.ExceedsStorageUsage() or projectUsage.ExceedsBandwidthUsage() both could yield this 403 message. We probably need to fine-tune these errors more if we're going to move to a 429.
We fixed error mapping in b9f24f92fd6625d6de160663cc4d98063562eb7b.
Issue reported by filebase. It seems when the satellite rate limit is hit for number of request there is this 403 error:
But it should probably be a 429 error or at least a more appropriate message.