<@U04S8PLJWMT> Queued for next sync status on stre...
# ask-ai
d
@kapa.ai Queued for next sync status on stream, Ive run the sync twice
k
Based on the knowledge sources, the "Queued for next sync" status indicates that the stream hasn't synced yet, and is going to sync in the next scheduled sync ([Connection status](https://docs.airbyte.com/platform/cloud/managing-airbyte-cloud/review-connection-status#review-one-streams-status)). If you've run the sync twice and the stream still shows this status, there are a few possible explanations: 1. The stream may not have been included in those sync runs - The "Queued for next sync" status means the stream is waiting for the next scheduled sync, not the current one. 2. The sync may have been cancelled - According to the release notes, if you cancel an in-progress sync, Airbyte now automatically waits until the next scheduled sync to move data ([Airbyte 1.4 Bug fixes](https://docs.airbyte.com/release_notes/v-1.4#-bug-fixes)). 3. There may be a system issue - In rare cases, syncs can become stuck in a "Queued" state. The knowledge sources mention that Airbyte includes an autorecovery service to detect connections that become stuck in a perpetual 'in-progress' state ([Airbyte 1.4 Bug fixes](https://docs.airbyte.com/release_notes/v-1.4#-bug-fixes)). To troubleshoot, I recommend: - Checking if the stream is actually enabled in your connection configuration - Reviewing the connection timeline to see if the syncs actually ran for this specific stream - Waiting for the next scheduled sync to see if the status changes If the issue persists, you may want to check the logs for any errors or consider reaching out to support with more details about your specific connection.
d
@kapa.ai can I sync one stream
k
A message from kapa.ai
Yes, you can sync a single stream in Airbyte. Here are the available options: ## Per-Stream Actions You can trigger actions on individual streams by clicking the three grey dots next to any stream on the Connection's status page. The available options include: - Refresh stream - re-syncs all historical data for the stream - Clear data - removes previously synced data from your destination for the stream ([Connection status](https://docs.airbyte.com/platform/cloud/managing-airbyte-cloud/review-connection-status#per-stream-actions)) ## Important Notes When clearing a single stream: After clearing data for just one stream, you'll need to sync the connection again to reload data for that stream. However, according to the documentation, "a single stream clear will sync all enabled streams on the next sync" ([Clearing your data](https://docs.airbyte.com/platform/operator-guides/clear)). Current limitation: Based on a GitHub discussion, there's a feature request for the ability to sync a single stream independently without triggering all streams in the connection. Currently, "the synchronization process triggers the entire connection" ([Feature Request](https://github.com/airbytehq/airbyte/discussions/52042)). This is particularly relevant when you have many streams and want to sync just one without waiting for all others to complete. So while you can perform actions like "Refresh stream" on individual streams, the actual sync operation may still involve other enabled streams in the connection.
d
@kapa.ai java.util.concurrent.CompletionException: com.google.cloud.bigquery.BigQueryException: Read timed out
k
A message from kapa.ai
A
com.google.cloud.bigquery.BigQueryException: Read timed out
in Airbyte means BigQuery didn’t return a response within the client’s timeout window while the destination (or source BigQuery connector) was running a query. From the provided sources, similar BigQuery timeouts and large‑query issues appear in: - BigQuery destination typing/deduping (“unsafe SQL” / soft reset) where BigQuery requests time out or fail on very large queries or tables.[\[HubSpot → BigQuery soft reset\](https://github.com/airbytehq/airbyte/issues/63694);\[HubSpot associations → BigQuery timeout\](https://github.com/airbytehq/airbyte/issues/62467)] - Long‑running or heavy jobs against BigQuery (e.g., very large tables, complex dedupe queries) that hit BigQuery or client‑side limits/timeouts.[\[Max query length\](https://github.com/airbytehq/airbyte/issues/36303)] Given that, the likely context is: - A BigQuery destination performing typing/deduping (soft reset / final table merge), or - A BigQuery source reading a large table. What you can do (from similar cases in the docs/issues): 1. Reduce query size / complexity per sync - If you’re using Incremental + Deduped, very large streams can generate heavy merge/soft‑reset queries that are prone to timeouts.[\[HubSpot → BigQuery soft reset\](https://github.com/airbytehq/airbyte/issues/63694)] - Temporarily: - Sync fewer big streams at once. - Or switch a problematic stream to a simpler mode (e.g., Full Refresh Append) just to confirm it’s the dedupe phase that’s failing. 2. Retry: many BigQuery timeouts are transient - In some HubSpot→BigQuery cases, BigQuery “request timed out” errors were treated as transient destination errors and rerun.[\[HubSpot associations → BigQuery timeout\](https://github.com/airbytehq/airbyte/issues/62467)] - If timeouts are sporadic and retries usually succeed, you may just be seeing transient BigQuery slowness. 3. Check for platform / connector compatibility - Some BigQuery destination failures are actually compatibility/config errors (e.g., “You must upgrade your platform version to use this connector version”).[\[BigQuery destination config error\](https://github.com/airbytehq/airbyte/issues/59702)] - Ensure your Airbyte platform version matches the BigQuery connector’s minimum required version. 4. Increase job / process timeouts at the Airbyte level - For long‑running syncs or large tables, you may need to bump the Airbyte job timeout variables so the platform doesn’t kill the worker while BigQuery is still processing.[\[Job timeout tuning\](https://discuss.airbyte.io/t/2663);\[Worker cancellation / timeouts\](https://discuss.airbyte.io/t/3171)] - See the “jobs” section in the operator guide on configuring Airbyte timeouts.[\[Jobs config\](https://docs.airbyte.com/operator-guides/configuring-airbyte/#jobs)] 5. If using SSH / tunnels for the source, verify network - Some apparent timeouts with large transfers were ultimately caused by SSH tunnel/network issues, not the database itself.[\[MySQL→BigQuery via SSH\](https://discuss.airbyte.io/t/2410)] Because the snippet you shared is only the Java exception, the knowledge sources don’t say exactly which connector/version or query caused your timeout. To narrow it down: - Check the full logs for that sync: find the BigQuery job right before the timeout to see if it’s a soft reset / merge / large read. - Note: - Connection: source and destination types + versions - Sync mode for the failing stream(s) - If the timeout is repeatable on a specific stream, try: - Running that stream alone - Switching its sync mode temporarily - Increasing job timeouts If you can share (sanitized) details of the connection (source/destination, connector versions, sync mode, and whether the error appears during “typing & deduping” / “soft reset”), I can map it more precisely to the closest documented issue and mitigation.
d
@kapa.ai did something change with the bigquery destination in airbyte? All the sudden all my connectors are failing with time out errors
k
A message from kapa.ai
Yes, there have been recent and ongoing changes to the BigQuery destination, and some of them are known to surface as destination‑side failures (including timeouts or config errors) if the platform and connector versions are not aligned or if queries get heavy. From the knowledge you shared, a few relevant points: 1. Platform / connector compatibility checks were tightened There’s an open issue where the BigQuery destination fails with: >
You must upgrade your platform version to use this connector version. Either downgrade your connector or upgrade platform to 0.63.7
This comes from the BigQuery destination’s typing/deduping CatalogParser and is thrown as a
ConfigErrorException
.[[BQ config error](https://github.com/airbytehq/airbyte/issues/59702)] If you recently upgraded the BigQuery connector only, without upgrading your Airbyte platform to the required minimum, all BigQuery‑using connections can suddenly start failing. Action: Check one failing sync log for a
config_error
/
ConfigErrorException
message like the above. If present: - Either upgrade Airbyte to at least the version required by your BigQuery destination, or - Pin/downgrade the BigQuery destination to an older version that’s compatible with your current platform. 2. BigQuery “finalization” / typing‑deduping queries can time out In newer BigQuery destination versions, the final step (typing & deduping / soft reset) runs BigQuery jobs that can be slow or time out, especially on large tables. There’s an example where a BigQuery job during final table operations fails with: > `com.google.cloud.bigquery.BigQueryException: Request timed out. Please try again.`[[HubSpot → BigQuery timeout](https://github.com/airbytehq/airbyte/issues/62467)] This is retried internally, but if BigQuery is consistently slow or you have many large streams, you can see a wave of destination‑side failures around the same time. Action (to test if this is your case): - Identify if failures happen during “typing & deduping”, “soft reset”, or table rename/merge steps in the logs. - Try: - Running one large stream alone in its own connection. - Temporarily switching that stream to a simpler mode (e.g., Full Refresh | Append) to see if it avoids the failing phase. - If those succeed, the problem is likely BigQuery load / timeout on the finalization queries. 3. Non‑atomic BigQuery table swaps can be slow Another BigQuery destination issue describes
DROP TABLE
+
ALTER TABLE ... RENAME
taking 10+ minutes, leaving tables missing or empty mid‑sync and increasing failure frequency as BigQuery deprioritizes jobs under heavy load.[[Missing tables](https://github.com/airbytehq/airbyte/issues/40733)] This doesn’t explicitly mention timeouts, but long‑running BigQuery jobs plus Airbyte’s own timeouts can combine into “suddenly lots of failures”. Action: If you see very long BigQuery jobs for table rename/replace in the GCP console just before failures, you may be hitting this. Reducing concurrent streams or the size of some tables per connection can help. --- ### What’s most likely given “all my connectors are failing at once”? From the sources, the clearest systemic breakage pattern is when the BigQuery destination version is too new for the current Airbyte platform, which causes every BigQuery sync to start failing.[[BQ config error](https://github.com/airbytehq/airbyte/issues/59702)] So the first thing to verify is: 1. Did the BigQuery destination auto‑upgrade recently? 2. What is your Airbyte platform version vs. BigQuery destination version? If logs show the
ConfigErrorException
message above, you’ll need to: - Upgrade Airbyte to the minimum required version for that BigQuery connector, or - Downgrade / pin the BigQuery destination to the last known‑good version. If you don’t see that message and only see
BigQueryException: Read timed out
/
Request timed out
, then it’s more likely: - BigQuery slowness or heavy finalization queries (as in the HubSpot example),[[HubSpot → BigQuery timeout](https://github.com/airbytehq/airbyte/issues/62467)] - Potentially combined with Airbyte job/sidecar timeouts (for very large catalogs or long‑running jobs).[[Sidecar timeout](https://github.com/airbytehq/airbyte/issues/48855)] --- ### Next steps 1. Grab a failing job’s full log and search for: -
ConfigErrorException
or the phrase “You must upgrade your platform version…” -
typing_deduping
,
soft reset
, or “unsafe SQL” 2. Check your versions: - Airbyte platform version - BigQuery destination connector version 3. Depending on what you find: - Version mismatch → align platform and connector versions. - Only BigQuery timeouts → try: - Syncing the worst‑offending stream alone, - Reducing the number of large streams per connection, - Increasing any relevant job/sidecar timeouts if you know they’re low. If you share your platform version, BigQuery destination version, and one sanitized error snippet around the timeout, I can point you to the closest documented issue/behavior more precisely.
d
@kapa.ai Failure in destination: Checking destination connection failed - please review this connection's configuration to prevent future syncs from failing
k
A message from kapa.ai
That error means Airbyte’s destination check (CHECK command) is failing, so Airbyte treats it as a configuration error on the destination and warns you that future syncs will fail until it’s fixed.[[Conn. troubleshooting](https://docs.airbyte.com/platform/cloud/managing-airbyte-cloud/review-connection-status#connection-troubleshooting)] From your earlier logs and the linked GitHub issue, the actual root cause for your BigQuery destination is: > `io.airbyte.commons.exceptions.ConfigErrorException: You must upgrade your platform version to use this connector version. Either downgrade your connector or upgrade platform to 0.63.7`[[BQ platform mismatch](https://github.com/airbytehq/airbyte/issues/59702)] So for your case: 1. Open the failing connection → Destination → Check connection and look at the full error details; you should see that exact message. 2. Then do one of: - Upgrade Airbyte to at least 0.63.7 (or whatever minimum version the BigQuery connector requires), or - Downgrade / pin the BigQuery destination to an older version that is compatible with your current Airbyte platform. Once the destination check passes again, that “Checking destination connection failed” banner will clear and new syncs should stop failing. If, after fixing the version mismatch, you still see a red configuration error on the Status page, Airbyte recommends re‑testing and saving the destination configuration before running another sync.[[Conn. troubleshooting](https://docs.airbyte.com/platform/cloud/managing-airbyte-cloud/review-connection-status#connection-troubleshooting)]
d
the destination is for airbyte is version 2.9.0 and its passing the connection test, why did it just randomly start failing @kapa.ai
k
A message from kapa.ai
The behavior you’re seeing matches a known BigQuery destination issue introduced in v2.9.0, not a random break. From the GitHub issue you shared for
destination-bigquery
2.9.0: 1. New behavior in 2.9.0 around project IDs and SQL quoting - In 2.9.0, the connector issues statements like:
Copy code
sql      DROP TABLE IF EXISTS vol-at.airbyte_integrations_raw_v2.airbyte_integrations_v2_raw__stream__airbyte_bigquery_connection_test_...;
Here
vol-at
is a GCP project ID with a hyphen; because it’s not quoted, BigQuery treats it as invalid SQL and the job fails.[[BQ 2.9.0 project-id bug](https://github.com/airbytehq/airbyte/issues/48732)] - This did not happen in 2.8.9 for the same project ID; 2.8.9 works fine with the same config and project name.[[BQ 2.9.0 project-id bug](https://github.com/airbytehq/airbyte/issues/48732)] - In your logs, the failing BigQuery job is exactly this “DROP TABLE IF EXISTS …” pattern, which is part of the destination’s internal table handling. 2. Why the connection test can pass but syncs fail - The connection check (
CHECK
command) normally issues a small, simple BigQuery query to validate credentials and access; it may not hit the problematic SQL path (e.g., the
DROP TABLE
with unescaped project ID). - The failure only appears during actual syncs, when the connector runs its full DDL pipeline, including that
DROP TABLE IF EXISTS project-id.dataset.table
statement.[[BQ 2.9.0 project-id bug](https://github.com/airbytehq/airbyte/issues/48732)] So it’s consistent that: - Connection test passes (simple operations succeed), - Sync fails (the new 2.9.0 logic generates invalid SQL for your project ID). 3. Why it “suddenly” started failing Based on the issue, the break happens specifically starting in 2.9.0; 2.8.9 was OK for the same environment.[[BQ 2.9.0 project-id bug](https://github.com/airbytehq/airbyte/issues/48732)] That means your failures likely correlate with: - The BigQuery destination upgrading to 2.9.0 (auto‑upgrade or manual), while: - Your GCP project ID includes a hyphen or other character that needs quoting (e.g.
vol-at
), - The connector now uses that project ID unquoted in a
DROP TABLE
statement. The knowledge sources don’t show any other 2.9.0 change that would explain a mass “sudden” failure if the environment stayed the same. --- ### What you can do with the info we have From the documented behavior in that issue, the practical options are: - Work around the 2.9.0 bug by downgrading BigQuery destination to 2.8.9, which is confirmed to work for project IDs like
vol-at
in that report.[[BQ 2.9.0 project-id bug](https://github.com/airbytehq/airbyte/issues/48732)] The knowledge sources you provided don’t yet include a published fix version beyond 2.9.0, nor a configuration toggle to avoid the bad SQL, so I can’t point to an official “upgrade to X.Y.Z” solution—only the downgrade workaround that’s explicitly described in the issue. If you confirm: - Destination: BigQuery 2.9.0 - GCP project ID contains a hyphen (or other non‑alphanumeric), and - BigQuery job history shows failing
DROP TABLE IF EXISTS <project-id>.airbyte_integrations_raw_v2...
then your situation matches the documented 2.9.0 regression.
d
it says the connector version updated a year ago, so that cant be the issue @kapa.ai
k
A message from kapa.ai
You’re right that if your BigQuery destination has been on the same version for a year, then a recent connector upgrade is unlikely to be the root cause. From the knowledge you provided, there are two other classes of issues that can suddenly surface even when the connector version hasn’t changed: --- ### 1. Platform / environment‑side changes Several recent BigQuery issues are not about the connector changing, but about: - Platform version / worker behavior: newer Airbyte platform versions add stricter typing/deduping handling and compatibility checks that can turn “soft” problems into hard failures once you upgrade the platform, even if the connector image tag is the same.[[BQ platform mismatch](https://github.com/airbytehq/airbyte/issues/59702); [BQ platform mismatch 2](https://github.com/airbytehq/airbyte/issues/48732)] - Timeouts under heavier load: BigQuery jobs for large syncs (typing & deduping, full refresh overwrite, or soft reset) can start hitting
Read timed out
or
Request timed out
when: - Data volume grows (tables larger, more records per run), or - More streams / connections overlap, causing BigQuery to throttle or deprioritize jobs.[[BQ perf regression 3.x](https://github.com/airbytehq/airbyte/issues/64902)] In those cases, nothing in your connector config changed, but the same queries now regularly exceed the BigQuery client timeout or the Airbyte job timeout. Given you’re seeing: -
java.util.concurrent.CompletionException: com.google.cloud.bigquery.BigQueryException: Read timed out
, and -
Failure in destination: Checking destination connection failed …
on previously healthy connections, the knowledge sources suggest you may be hitting a combination of: - BigQuery being slower (more data, more concurrent jobs), and - Airbyte treating destination‑side BigQuery errors as configuration or system errors for the connection.[[Conn. troubleshooting](https://docs.airbyte.com/platform/cloud/managing-airbyte-cloud/review-connection-status#connection-troubleshooting)] --- ### 2. Known BigQuery destination behavior that shows up with scale There is a documented regression where newer BigQuery destination paradigms (esp. 3.x “direct load”) cause: - Syncs to take ~4× longer for large record counts, - And full‑refresh + incremental combinations to misbehave (duplicates, etc.).[[BQ perf regression 3.x](https://github.com/airbytehq/airbyte/issues/64902)] Although that issue is about 3.0.6, it illustrates that performance and timeout behavior can change with BigQuery under the hood, even without you updating the connector in the UI. So: if your data volume has grown, or BigQuery’s service behavior changed (e.g., transient slowness, quota issues), previously “safe” queries can now regularly time out. --- ### What the docs/issues do suggest you can check now Based strictly on the sources: 1. Confirm the actual error in a failing run - Open a latest failed sync and look at the
failures
block: - If you see
failureType=config_error
with
ConfigErrorException: You must upgrade your platform version to use this connector version
, you’re hitting the platform/connector compatibility gate.[[BQ platform mismatch](https://github.com/airbytehq/airbyte/issues/59702); [BQ platform mismatch 2](https://github.com/airbytehq/airbyte/issues/48732)] - If you see only
BigQueryException: Read timed out
/
Request timed out
, it’s a performance / timeout problem in BigQuery or the job pipeline. 2. Check whether this correlates with a platform change Even if the connector says “updated a year ago”, your Airbyte platform may have changed (e.g., upgraded from pre‑0.63.x to a later 1.x), and that is explicitly known to cause new failure modes when combined with recent BigQuery destination versions.[[BQ platform mismatch](https://github.com/airbytehq/airbyte/issues/59702)] 3. Try isolating one problematic stream The docs and forum threads around BigQuery performance issues recommend: - Sync only one large table/stream in a separate connection to see if it succeeds. - If that works alone but fails when run with many others, it indicates load/timeout rather than pure misconfiguration.[[BQ sync never starts](https://discuss.airbyte.io/t/298)] 4. If failures are tied to large syncs, prefer GCS staging (if you’re not already) For big loads, support explicitly recommends using GCS staging for BigQuery and possibly increasing block size.[[BQ sync never starts](https://discuss.airbyte.io/t/298)] --- Because the provided sources don’t show a specific “Airbyte changed X on day Y and all BigQuery 2.9.0 users now see timeouts”, I can’t attribute it to a precise internal change beyond: - Platform/worker compatibility & stricter behavior, and - BigQuery performance / timeout under increased load. If you can share (sanitized): - Your Airbyte platform version, - The exact failure block from a recent sync (esp.
failureType
and
internalMessage
), and - Whether you’re using GCS staging or standard load, I can map it more directly to one of the documented issues or behaviors above.
d
this is the failure from a recent failed run @kapa.ai 2025-11-21 030717 platform > Retry State: RetryManager(completeFailureBackoffPolicy=BackoffPolicy(minInterval=PT10S, maxInterval=PT30M, base=3), partialFailureBackoffPolicy=null, successiveCompleteFailureLimit=5, totalCompleteFailureLimit=10, successivePartialFailureLimit=1000, totalPartialFailureLimit=20, successiveCompleteFailures=2, totalCompleteFailures=2, successivePartialFailures=0, totalPartialFailures=0) Backoff before next attempt: 30 second
k
A message from kapa.ai
That log line is just showing Airbyte’s automatic retry behavior, not the root cause. From the jobs documentation, when a sync attempt fails, Airbyte will retry the job with exponential backoff. By default it allows: 5 successive attempts with no data synced, 10 total attempts with no data synced, and 20 attempts if some data was synced, with backoff of 10s, 30s, 90s, then 4m30s after successive complete failures.[\[Sync jobs\](https://docs.airbyte.com/platform/understanding-airbyte/jobs#sync-jobs)] Your snippet:
Copy code
text successiveCompleteFailures=2, totalCompleteFailures=2 Backoff before next attempt: 30 second
means: - This is the second consecutive complete failure of this job. - Airbyte is waiting 30 seconds before starting the next attempt, which matches the default backoff for the second failure.[\[Sync jobs\](https://docs.airbyte.com/platform/understanding-airbyte/jobs#sync-jobs)] To understand why the job is failing (BigQuery timeout, config error, etc.), you’ll need to look earlier in the same job’s logs for the
failures
block and the actual exception (e.g.,
BigQueryException
,
ConfigErrorException
, etc.). The retry line alone doesn’t contain the cause.
d
@kapa.ai Stack Trace: com.google.cloud.bigquery.BigQueryException: Read timed out at com.google.cloud.bigquery.spi.v2.HttpBigQueryRpc.translate(HttpBigQueryRpc.java:116) at com.google.cloud.bigquery.spi.v2.HttpBigQueryRpc.deleteTable(HttpBigQueryRpc.java:383) at com.google.cloud.bigquery.BigQueryImpl$10.call(BigQueryImpl.java:601) at com.google.cloud.bigquery.BigQueryImpl$10.call(BigQueryImpl.java:598) at com.google.api.gax.retrying.DirectRetryingExecutor.submit(DirectRetryingExecutor.java:102) at com.google.cloud.RetryHelper.run(RetryHelper.java:76) at com.google.cloud.RetryHelper.runWithRetries(RetryHelper.java:50) at com.google.cloud.bigquery.BigQueryImpl.delete(BigQueryImpl.java:597) at io.airbyte.integrations.destination.bigquery.operation.BigQueryStorageOperation.overwriteStage(BigQueryStorageOperation.kt:47) at io.airbyte.integrations.base.destination.operation.AbstractStreamOperation.finalizeTable(AbstractStreamOperation.kt:355) at io.airbyte.integrations.destination.bigquery.BigQueryDestination.checkBigQueryCopyPermission(BigQueryDestination.kt:255) at io.airbyte.integrations.destination.bigquery.BigQueryDestination.check(BigQueryDestination.kt:115) at io.airbyte.cdk.integrations.base.IntegrationRunner.runInternal(IntegrationRunner.kt:166) at io.airbyte.cdk.integrations.base.IntegrationRunner.run(IntegrationRunner.kt:119) at io.airbyte.cdk.integrations.base.IntegrationRunner.run$default(IntegrationRunner.kt:113) at io.airbyte.integrations.destination.bigquery.BigQueryDestinationKt.main(BigQueryDestination.kt:566) Caused by: java.net.SocketTimeoutException: Read timed out
k
A message from kapa.ai
That stack trace shows the failure is happening when the BigQuery destination tries to delete a table as part of its internal “overwrite stage” logic, and the BigQuery API call to
deleteTable
is timing out:
Copy code
text com.google.cloud.bigquery.BigQueryException: Read timed out   ...   at com.google.cloud.bigquery.spi.v2.HttpBigQueryRpc.deleteTable(HttpBigQueryRpc.java:383)   ...   at io.airbyte.integrations.destination.bigquery.operation.BigQueryStorageOperation.overwriteStage(BigQueryStorageOperation.kt:47)   at io.airbyte.integrations.base.destination.operation.AbstractStreamOperation.finalizeTable(AbstractStreamOperation.kt:355)   at io.airbyte.integrations.destination.bigquery.BigQueryDestination.checkBigQueryCopyPermission(BigQueryDestination.kt:255)
From the knowledge sources, similar patterns appear when: * The BigQuery destination is finalizing tables (typing/deduping, soft reset, overwriting raw tables), and a BigQuery job times out while running DDL or long‑running operations.[[HubSpot timeout](https://github.com/airbytehq/airbyte/issues/62467); [Missing tables](https://github.com/airbytehq/airbyte/issues/40733)] * BigQuery’s own scheduling / slot allocation makes even “simple” operations (DROP/DELETE/ALTER) take a long time, sometimes 10+ minutes, which can cause timeouts or periods where tables are missing.[[Missing tables](https://github.com/airbytehq/airbyte/issues/40733)] So, based on the sources: 1. This is a BigQuery API timeout during a table delete, not a config error. The connector is calling
BigQueryImpl.delete(...)
in
overwriteStage
, which is expected when doing truncate/overwrite flows. The exception is
SocketTimeoutException: Read timed out
wrapped in
BigQueryException
. 2. It likely correlates with BigQuery slowness / heavy load. Another issue reports BigQuery DDL (DROP + ALTER RENAME) taking 10+ minutes, suspected to be due to BigQuery’s fair‑scheduling deprioritizing some jobs under load; this increases the chance of timeouts and intermittent empty/missing tables.[[Missing tables](https://github.com/airbytehq/airbyte/issues/40733)] 3. The destination
check
is failing because this delete happens during
checkBigQueryCopyPermission
.
Your trace shows the failure in
BigQueryDestination.checkBigQueryCopyPermission
called from
check(...)
. That explains why you now see “Checking destination connection failed” even though the basic configuration hasn’t changed—the check path is hitting a slow/timeout‑prone BigQuery operation. From the docs/issues you provided, there is no explicit setting in Airbyte or the connector documented to increase just this BigQuery client timeout, nor a specific bug fix referenced for
deleteTable
timeouts. The recommended mitigations in similar BigQuery timeout cases are: * Reduce load / size of operations where possible: * Fewer very large streams per connection. * Avoid unnecessary truncate/overwrite for very large tables if you can use append/incremental instead.[[Missing tables](https://github.com/airbytehq/airbyte/issues/40733)] * Retry / wait for BigQuery when timeouts appear transient (they often are in the HubSpot→BigQuery examples).[[HubSpot timeout](https://github.com/airbytehq/airbyte/issues/62467)] However, the knowledge sources do not document: * A connector‑level flag to skip this permission check. * A known bug specifically stating “deleteTable read timeout in checkBigQueryCopyPermission” and its fixed version. * A precise BigQuery client timeout configuration exposed by Airbyte. Because of that, I can’t point you to an exact version to upgrade/downgrade or a config knob that is guaranteed to solve this. What you can still do with the info we have: 1. Confirm in BigQuery job history whether DDL/metadata operations (DROP/DELETE/ALTER for Airbyte internal tables) are consistently slow or failing around the same time. 2. Temporarily reduce pressure on BigQuery (fewer concurrent syncs / large streams) and re‑run a check to see if it passes when BigQuery is less busy. 3. If the timeouts persist and are reproducible even under low load, you’ll likely need to open or follow a GitHub issue with this exact stack trace so the team can adjust the BigQuery client handling; the current sources don’t show an existing issue for this specific
deleteTable
timeout path. If you share which BigQuery destination version you’re on (e.g. 2.9.0, 3.x) and whether you’re using GCS staging or standard load, I can try to match it more closely to one of the documented BigQuery destination behaviors, but there is no documented one‑click fix in the provided sources.
d
@kapa.ai the cause was the tmp tables in bigquery we not delete after a failed run for a couple connectors related to token issues. Manually clearing the tables allowed the connectors to finish
k
A message from kapa.ai
That explanation is consistent with how Airbyte behaves with BigQuery (and other SQL destinations): - When a sync fails, temporary
_airbyte_tmp
tables are not automatically deleted
. They’re only cleaned up after a successful sync.[[Temp tables not deleted](https://discuss.airbyte.io/t/77); [Tmp tables after failed sync](https://discuss.airbyte.io/t/3693); [Tmp tables from failed syncs](https://discuss.airbyte.io/t/2067)] - Over time, especially if some runs failed due to token/credential issues, you can accumulate many
_airbyte_tmp
tables. These leftover tables can interfere with subsequent runs or make truncate/overwrite operations slower or more error‑prone. - It is safe to manually delete
_AIRBYTE_TMP
tables
in BigQuery; support explicitly confirms that deleting them “won’t cause any issue,” and that ideally they should be removed after syncs complete.[[OK to delete _AIRBYTE_TMP](https://discuss.airbyte.io/t/1388); [Tmp tables from failed syncs](https://discuss.airbyte.io/t/2067)] So your workaround—**manually clearing the lingering
_airbyte_tmp
tables in BigQuery, then re‑running the connectors**—fits exactly with the documented behavior and recommended cleanup approach.
d
@kapa.ai is there a way to see how many requests a connector is making? a custom connector is getting rate limited, but it was working fine a week ago, Im trying to determined what changed
k
A message from kapa.ai
There’s no documented way to see an exact request count per connector run (like “X HTTP calls this sync”) in the UI or metrics, based on the sources you provided. The knowledge mentions only: - Extensive connector logs for each sync, which you can browse to understand what happened during runs.[[Monitoring Airbyte](https://docs.airbyte.com/platform/operator-guides/collecting-metrics)] - A feature request asking to log the actual HTTP calls (URL, headers, cursor, etc.) for debugging custom connectors, which is not yet implemented as an option.[[Log HTTP calls issue](https://github.com/airbytehq/airbyte/issues/52077)] So today your options are: 1. Inspect sync logs For that custom connector, open the latest sync logs and: - Look for repeated request messages, pagination loops, or error/retry patterns that might have increased call volume. - Compare a recent failing run vs. an older successful run to see if: - More streams are enabled, - Pagination config changed, - Errors are causing lots of retries (can spike request count). 2. Use / adjust HTTP API Budget (rate limiting) on the connector If the connector is HTTP-based and built with the Connector Builder or config-based CDK, you can configure an HTTP API Budget to enforce call limits, regardless of what changed in the upstream API.[[HTTP API Budget](https://docs.airbyte.com/platform/connector-development/connector-builder-ui/global-configuration#http-api-budget); [Rate limiting YAML](https://docs.airbyte.com/platform/connector-development/config-based/understanding-the-yaml-file/rate-limit-api-budget)] - Define
FixedWindowCallRatePolicy
and/or
MovingWindowCallRatePolicy
with the known API limits. - Optionally map rate-limit headers (
ratelimit_remaining_header
,
ratelimit_reset_header
) and status codes (e.g.
429
) so the connector automatically backs off instead of hitting hard rate limits. 3. Use external monitoring Since Airbyte doesn’t expose per-request counts in metrics in the docs you shared, you could: - Rely on the API provider’s dashboard/logs (many SaaS APIs show request counts per key). - For Self-Managed Enterprise, you can enable OpenTelemetry metrics, but the docs list sync/job metrics (status, durations, volumes), not raw HTTP request counts.[[Monitoring Airbyte](https://docs.airbyte.com/platform/operator-guides/collecting-metrics)] Given the docs you provided, there is no built‑in, documented counter of “number of HTTP requests per connector”, so the practical path is: - Compare old vs. new sync logs for behavioral changes. - Add or tighten HTTP API Budget on the connector to keep calls within known API limits and prevent future rate limiting.
d
is it possible to have a connector cache API records? Ive removed a warehouse in my connector source, but the test in airbyte builder is still extracting it for testing @kapa.ai
k
A message from kapa.ai
Yes, connectors can involve caching in a few different ways, and that can explain what you’re seeing. ### 1. Spec / config & dev-image caching (builder / local dev) Airbyte can cache connector specifications for performance. If you change the connector (e.g., remove a warehouse parameter) but the UI still behaves as if it’s there, you may need to refresh the cached spec: - Go to Settings → Sources/Destinations - Leave the version set to your dev tag (e.g.
dev
) - Click Change to force-refresh the dev connector’s spec[[Developing locally](https://docs.airbyte.com/platform/connector-development/developing-locally#connector-specification-caching)]. This is specifically documented for local development, but the same idea applies: the platform may keep an old spec/config in memory until you “bump” or refresh it. ### 2. Acceptance-test catalog caching For connector acceptance tests, Airbyte caches discovered catalogs by default and reuses them across tests. You can disable that in the test config:
Copy code
yaml cached_discovered_catalog: False
at the root of the acceptance-test configuration[[Acceptance test caching](https://docs.airbyte.com/platform/connector-development/testing-connectors/connector-acceptance-tests-reference#caching)]. That only affects the test framework, not runtime syncs, but it’s another place where behavior can look “stale”. ### 3. HTTP data caching in CDK (not spec/config) For Python HTTP-based connectors, there is a built‑in mechanism to cache stream responses to disk when you enable it: - Override
use_cache
on the parent
HttpStream
to return
True
. - Use
HttpSubStream
for child streams if needed.
Copy code
python class Employees(HttpStream):     @property     def use_cache(self) -> bool:         return True  class EmployeeDetails(HttpSubStream):     ...
On first request, responses are written to a cache file; repeat requests read from that file instead of calling the API again[[HTTP streams caching](https://docs.airbyte.com/platform/connector-development/cdk-python/http-streams#nested-streams--caching)]. If your custom connector uses this pattern, old records (like a removed warehouse) could still appear when testing because they’re coming from the cache file, not the live API. --- ### How this relates to your case > “I’ve removed a warehouse in my connector source, but the test in Airbyte builder is still extracting it” Based on the docs: - If you’re on the Builder UI / dev flow, the most likely culprit is **spec/config caching**—refreshing the dev connector version (or in local dev, using the “Change” button under
dev
as above) is how you force the platform to re-read your latest spec[[Developing locally](https://docs.airbyte.com/platform/connector-development/developing-locally#connector-specification-caching)]. - If your connector is Python HTTP-based and you explicitly enabled
use_cache
, then API data itself can be cached to disk and reused[[HTTP streams caching](https://docs.airbyte.com/platform/connector-development/cdk-python/http-streams#nested-streams--caching)]. In that case, you’d need to disable that caching or clear the cache to ensure the removed warehouse no longer shows. The knowledge sources don’t document a specific “clear API cache” button in the Builder UI, so if you’re not intentionally using the CDK
use_cache
feature, the issue is more likely spec/config caching than record-level caching.