Skip to content

feat: add support for 429 Too Many Requests HTTP status code#735

Open
esguerrat wants to merge 1 commit into
masterfrom
feature/429-http-status-code
Open

feat: add support for 429 Too Many Requests HTTP status code#735
esguerrat wants to merge 1 commit into
masterfrom
feature/429-http-status-code

Conversation

@esguerrat
Copy link
Copy Markdown
Contributor

Brief Summary of Changes

Added 429 Too Many Requests to the list of handled HTTP status codes in lib/uploader.js and lib/api_client/execute_request.js. Previously, only 420 was handled as a rate limit response. This ensures the SDK correctly reads and surfaces the error response body when Cloudinary returns a 429.

What Does This PR Address?

  • GitHub issue (Add reference - #XX)
  • Refactoring
  • [ x] New feature
  • Bug fix
  • Adds more tests

Are Tests Included?

  • Yes
  • [ x] No

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 this pull request may close these issues.

1 participant