We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 58aeb27 commit 7477b61Copy full SHA for 7477b61
packages/network-controller/CHANGELOG.md
@@ -7,6 +7,14 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
7
8
## [Unreleased]
9
10
+### Fixed
11
+
12
+- Improved handling of HTTP status codes to prevent unnecessary circuit breaker triggers ([#5767](https://github.com/MetaMask/core/pull/5767))
13
+ - 405 (Method Not Allowed) now returns a JSON-RPC error with code -32601 (Method not found)
14
+ - 429 (Too Many Requests) now returns a JSON-RPC error with code -32005 (Request rate limit exceeded)
15
+ - Added retry delay information in 429 error responses when available via Retry-After header
16
+ - These status codes no longer trigger the circuit breaker, preventing unnecessary failover to backup endpoints
17
18
## [23.4.0]
19
20
### Added
0 commit comments