<@U04S8PLJWMT> I keep getting `Request to Airbyte ...
# ask-ai
s
@kapa.ai I keep getting
Request to Airbyte API failed: 409 Client Error: Conflict for url: <http://airbyte-airbyte-webapp-svc.airbyte.svc:80/api/v1/connections/sync>
for a group of connections being triggered, they only share the same destinations
k
That 409 Conflict is expected when Airbyte thinks a sync is already running for that connection. In your case, the key detail is: > “group of connections … they only share the same destinations” From Airbyte 1.6 onward, multiple connections may not write to the same destination stream (same destination, same namespace + table name). Stream identifiers must be unique across connections that share a destination, otherwise Airbyte can block or fail jobs to avoid concurrency and data-loss issues.[\[Configuring schemas\]](https://docs.airbyte.com/platform/using-airbyte/configuring-schema#stream-uniqueness)[\[v1.6 notes\]](https://docs.airbyte.com/release_notes/v-1.6#unique-stream-prefixes-or-namespaces-are-now-mandatory) This was introduced exactly because multiple connections writing to the same tables caused conflicts and failures in concurrent runs.[\[Configuring schemas\]](https://docs.airbyte.com/platform/using-airbyte/configuring-schema#stream-uniqueness) How to fix / avoid the 409: 1. For each connection, ensure unique destination identifiers: - Use a different stream prefix per connection, or - Use a different namespace (dataset/schema) per connection, or - Disable conflicting streams so that no two connections write to the same table.[\[Configuring schemas\]](https://docs.airbyte.com/platform/using-airbyte/configuring-schema#stream-uniqueness) 2. If you need all the data in one table, merge it downstream in your warehouse/lake after Airbyte has written to separate tables/namespaces.[\[Configuring schemas\]](https://docs.airbyte.com/platform/using-airbyte/configuring-schema#stream-uniqueness) 3. If you absolutely must keep the same tables and are on an older setup, the only documented workaround is to ensure no concurrent syncs (e.g., limit to one worker) so that multiple jobs can’t step on each other, but this still doesn’t remove the underlying risk.[\[Multiple sources\]](https://discuss.airbyte.io/t/1105) If after making the streams/namespaces unique you still see 409s on manual “sync now”, then Airbyte may truly think a job is in progress for that specific connection (e.g., stuck workflow), but the knowledge sources above don’t give a documented remediation beyond that.
s
@kapa.ai the namespace is always different
k
A message from kapa.ai
Given that each connection already uses a different namespace, you’re not violating the “unique stream identifier” rule (which only forbids multiple connections writing to the same destination stream: same destination + same namespace + same stream name).[[Configuring schema](https://docs.airbyte.com/platform/using-airbyte/configuring-schema#stream-uniqueness)] However: - A 409 with
ValueConflictKnownException
and the message “A sync is already running for: <connection_id>” is thrown per connection when you try to start a sync while Airbyte believes a sync for that same connection is still running.[[Stuck sync forum](https://discuss.airbyte.io/t/3336)] - Sharing only a destination (but not the same streams) is supported and not explicitly documented as a cause of this 409 in the sources you’ve provided. From the available docs and forum threads, there is no explicit explanation for getting 409 conflicts across a group of connections that only share the destination and have distinct namespaces. The knowledge sources mainly cover: - Conflicts when multiple connections write to the same tables / temp tables (e.g., S3 or BigQuery) and recommend using distinct namespaces or limiting concurrency.[[S3 key error](https://discuss.airbyte.io/t/1489); [Multiple sources same table](https://discuss.airbyte.io/t/1105)] - The general stream-uniqueness requirement (unique namespace or stream prefix per connection).[[Configuring schema](https://docs.airbyte.com/platform/using-airbyte/configuring-schema#stream-uniqueness); [v1.6 release notes](https://docs.airbyte.com/release_notes/v-1.6#unique-stream-prefixes-or-namespaces-are-now-mandatory)] Because of that, I can’t confidently say more than: - 409 on
/connections/sync
is raised when a sync for that specific connection is considered “already running”.[[Stuck sync forum](https://discuss.airbyte.io/t/3336)] - The docs do not describe any mechanism that would block different connections solely because they share a destination if their namespaces/stream names don’t collide. - The knowledge sources do not contain a documented fix beyond checking that: - You’re not targeting the exact same destination stream (same namespace + stream name).[[Configuring schema](https://docs.airbyte.com/platform/using-airbyte/configuring-schema#stream-uniqueness)] - There isn’t a stuck or long‑running job for a connection when you trigger “sync now”.[[Stuck sync forum](https://discuss.airbyte.io/t/3336)] So with only these sources, I’m sorry, but there’s no documented, more specific reason for your 409s when namespaces differ.