From 2e35c6d885a149f11e9892becd7fac5797e9262c Mon Sep 17 00:00:00 2001 From: Nilesh Chate Date: Fri, 3 Nov 2023 15:37:10 +0530 Subject: [PATCH] OTT-1418: use 6xx error code for openwrap NBR --- modules/pubmatic/openwrap/models/nbr/codes.go | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/modules/pubmatic/openwrap/models/nbr/codes.go b/modules/pubmatic/openwrap/models/nbr/codes.go index 984bf16aa1b..fc64dea733d 100644 --- a/modules/pubmatic/openwrap/models/nbr/codes.go +++ b/modules/pubmatic/openwrap/models/nbr/codes.go @@ -10,7 +10,8 @@ const ( InvalidRequest int = 2 // 500+ Vendor-specific codes. - InvalidRequestWrapperExtension int = 500 + iota + // 5xx already in use by seat non bid. https://github.com/PubMatic-OpenWrap/prebid-openrtb/blob/main/openrtb3/non_bid_status_code.go#L53 + InvalidRequestWrapperExtension int = 600 + iota InvalidPublisherID InvalidProfileID InvalidProfileConfiguration