From b0985f1ad0e39522f866719ccdffc3ed32b2261b Mon Sep 17 00:00:00 2001 From: Jian Qiu Date: Mon, 29 Dec 2025 10:58:58 +0800 Subject: [PATCH] fix: change OutOfResource http status code to 507 (#23986) Co-authored-by: Qiu Jian --- pkg/httperrors/consts.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkg/httperrors/consts.go b/pkg/httperrors/consts.go index ee364e7b43..469c5b3324 100644 --- a/pkg/httperrors/consts.go +++ b/pkg/httperrors/consts.go @@ -134,7 +134,7 @@ var ( ErrMissingParameter: 400, ErrInsufficientResource: 400, - ErrOutOfResource: 500, + ErrOutOfResource: 507, ErrOutOfQuota: 400, ErrOutOfRange: 400, ErrOutOfLimit: 400,