diff --git a/src/sinks/gcs_common/config.rs b/src/sinks/gcs_common/config.rs index 51a73c2bfeb4c..880d9f788b459 100644 --- a/src/sinks/gcs_common/config.rs +++ b/src/sinks/gcs_common/config.rs @@ -152,6 +152,7 @@ impl RetryLogic for GcsRetryLogic { let status = response.inner.status(); match status { + StatusCode::UNAUTHORIZED => RetryAction::Retry("unauthorized".into()), StatusCode::TOO_MANY_REQUESTS => RetryAction::Retry("too many requests".into()), StatusCode::NOT_IMPLEMENTED => { RetryAction::DontRetry("endpoint not implemented".into())