diff --git a/backend/error_source.go b/backend/error_source.go index b75fd4bf6..ae92e9c63 100644 --- a/backend/error_source.go +++ b/backend/error_source.go @@ -13,8 +13,7 @@ const ( // ErrorSourceFromStatus returns an ErrorSource based on provided HTTP status code. func ErrorSourceFromHTTPStatus(statusCode int) ErrorSource { switch statusCode { - case http.StatusBadRequest, - http.StatusMethodNotAllowed, + case http.StatusMethodNotAllowed, http.StatusNotAcceptable, http.StatusPreconditionFailed, http.StatusRequestEntityTooLarge,