diff --git a/.changes/unreleased/Fixes-20230227-110426.yaml b/.changes/unreleased/Fixes-20230227-110426.yaml new file mode 100644 index 000000000..c23c53ee6 --- /dev/null +++ b/.changes/unreleased/Fixes-20230227-110426.yaml @@ -0,0 +1,6 @@ +kind: Fixes +body: Update connections.py with retry logic for 502 BadGateway +time: 2023-02-27T11:04:26.978726+11:00 +custom: + Author: patkearns10 + Issue: "562" diff --git a/dbt/adapters/bigquery/connections.py b/dbt/adapters/bigquery/connections.py index 7e16f7485..470475d7a 100644 --- a/dbt/adapters/bigquery/connections.py +++ b/dbt/adapters/bigquery/connections.py @@ -53,6 +53,7 @@ RETRYABLE_ERRORS = ( google.cloud.exceptions.ServerError, google.cloud.exceptions.BadRequest, + google.cloud.exceptions.BadGateway, ConnectionResetError, ConnectionError, )