From a04af939949e8805198e65e6202c45a5ac7a898c Mon Sep 17 00:00:00 2001 From: ItsSudip Date: Mon, 25 Sep 2023 14:47:03 +0530 Subject: [PATCH] add new error_code for campaign manager --- src/v0/destinations/campaign_manager/networkHandler.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/v0/destinations/campaign_manager/networkHandler.js b/src/v0/destinations/campaign_manager/networkHandler.js index a80fff6fe4..34e2afd02d 100644 --- a/src/v0/destinations/campaign_manager/networkHandler.js +++ b/src/v0/destinations/campaign_manager/networkHandler.js @@ -13,7 +13,8 @@ function checkIfFailuresAreRetryable(response) { if (Array.isArray(response.status) && Array.isArray(response.status[0].errors)) { return ( response.status[0].errors[0].code !== 'PERMISSION_DENIED' && - response.status[0].errors[0].code !== 'INVALID_ARGUMENT' + response.status[0].errors[0].code !== 'INVALID_ARGUMENT' && + response.status[0].errors[0].code !== 'NOT_FOUND' ); } return true;