diff --git a/includes/service-providers/mailchimp/class-newspack-newsletters-mailchimp.php b/includes/service-providers/mailchimp/class-newspack-newsletters-mailchimp.php index 08b70c87..3a6532b9 100644 --- a/includes/service-providers/mailchimp/class-newspack-newsletters-mailchimp.php +++ b/includes/service-providers/mailchimp/class-newspack-newsletters-mailchimp.php @@ -1426,7 +1426,7 @@ public function validate( $result, $preferred_error = null ) { throw new Exception( esc_html__( 'A Mailchimp error has occurred.', 'newspack-newsletters' ) ); } } - if ( ! empty( $result['status'] ) && 400 <= (int) $result['status'] ) { + if ( ! empty( $result['status'] ) && (int) $result['status'] >= 400 ) { if ( $preferred_error && ! Newspack_Newsletters::debug_mode() ) { if ( ! empty( $result['detail'] ) ) { $preferred_error .= ' ' . $result['detail'];