diff --git a/posthog/temporal/workflows/bigquery_batch_export.py b/posthog/temporal/workflows/bigquery_batch_export.py index cef81d98ae073..01a1a622633fb 100644 --- a/posthog/temporal/workflows/bigquery_batch_export.py +++ b/posthog/temporal/workflows/bigquery_batch_export.py @@ -261,8 +261,12 @@ async def run(self, inputs: BigQueryBatchExportInputs): maximum_interval=dt.timedelta(seconds=120), maximum_attempts=10, non_retryable_error_types=[ - # Raised on missing permissions + # Raised on missing permissions. "Forbidden", + # Invalid token. + "RefreshError", + # Usually means the dataset or project doesn't exist. + "NotFound", ], ), )