DR
09/11/2025, 9:11 AMSome streams either received an INCOMPLETE stream status, or did not receive a stream status at all: null.subscription_event_report, null.subscription_report, null.sales_report, null.subscriber_reportkapa.ai
09/11/2025, 9:12 AMDR
09/11/2025, 9:34 AM[ {
"failureOrigin" : "destination",
"failureType" : "transient_error",
"internalMessage" : "Some streams either received an INCOMPLETE stream status, or did not receive a stream status at all: null.subscription_event_report, null.subscription_report, null.sales_report, null.subscriber_report\nio.airbyte.commons.exceptions.TransientErrorException: Some streams were unsuccessful due to a source error. See logs for details.",
"externalMessage" : "Some streams were unsuccessful due to a source error. See logs for details.",
"metadata" : {
"attemptNumber" : 3,
"jobId" : 49510419,
"from_trace_message" : true,
"connector_command" : "write"
},
"stacktrace" : "io.airbyte.commons.exceptions.TransientErrorException: Some streams were unsuccessful due to a source error. See logs for details.\n\tat io.airbyte.cdk.integrations.destination.async.AsyncStreamConsumer.close(AsyncStreamConsumer.kt:217)\n\tat kotlin.jdk7.AutoCloseableKt.closeFinally(AutoCloseableJVM.kt:48)\n\tat io.airbyte.cdk.integrations.base.IntegrationRunner.runInternal(IntegrationRunner.kt:215)\n\tat io.airbyte.cdk.integrations.base.IntegrationRunner.run(IntegrationRunner.kt:119)\n\tat io.airbyte.cdk.integrations.base.IntegrationRunner.run$default(IntegrationRunner.kt:113)\n\tat io.airbyte.cdk.integrations.base.adaptive.AdaptiveDestinationRunner$Runner.run(AdaptiveDestinationRunner.kt:68)\n\tat io.airbyte.integrations.destination.snowflake.SnowflakeDestinationKt.main(SnowflakeDestination.kt:422)\n",
"timestamp" : 1757581166318
}, {
"failureOrigin" : "replication",
"internalMessage" : "LEGACY states are deprecated.",
"externalMessage" : "Something went wrong during replication",
"metadata" : {
"attemptNumber" : 3,
"jobId" : 49510419
},
"stacktrace" : "java.lang.IllegalArgumentException: LEGACY states are deprecated.\n\tat io.airbyte.container.orchestrator.bookkeeping.ParallelStreamStatsTracker.getEmittedCountForCurrentState(ParallelStreamStatsTracker.kt:193)\n\tat io.airbyte.container.orchestrator.worker.state.StateEnricher.enrich(StateEnricher.kt:38)\n\tat io.airbyte.container.orchestrator.worker.ReplicationWorkerHelper.processMessageFromSource(ReplicationWorkerHelper.kt:324)\n\tat io.airbyte.container.orchestrator.worker.MessageProcessor.run(ReplicationTask.kt:158)\n\tat io.airbyte.container.orchestrator.worker.MessageProcessor$run$1.invokeSuspend(ReplicationTask.kt)\n\tat kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(ContinuationImpl.kt:33)\n\tat kotlinx.coroutines.DispatchedTask.run(DispatchedTask.kt:100)\n\tat io.micrometer.core.instrument.composite.CompositeTimer.record(CompositeTimer.java:141)\n\tat io.micrometer.core.instrument.Timer.lambda$wrap$2(Timer.java:199)\n\tat datadog.trace.bootstrap.instrumentation.java.concurrent.Wrapper.run(Wrapper.java:47)\n\tat java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1144)\n\tat java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:642)\n\tat java.base/java.lang.Thread.run(Thread.java:1583)\n\tSuppressed: io.airbyte.workers.internal.exception.SourceException: Channel was closed\n\t\tat io.airbyte.container.orchestrator.worker.SourceReader.run(ReplicationTask.kt:217)\n\t\tat io.airbyte.container.orchestrator.worker.ReplicationWorker$runJobs$2$tasks$1$1.invokeSuspend(ReplicationWorker.kt:154)\n\t\tat io.airbyte.container.orchestrator.worker.ReplicationWorker$runJobs$2$tasks$1$1.invoke(ReplicationWorker.kt)\n\t\tat io.airbyte.container.orchestrator.worker.ReplicationWorker$runJobs$2$tasks$1$1.invoke(ReplicationWorker.kt)\n\t\tat io.airbyte.container.orchestrator.worker.util.AsyncUtils$runAsync$1$1.invokeSuspend(AsyncUtils.kt:22)\n\t\tat io.airbyte.container.orchestrator.worker.util.AsyncUtils$runAsync$1$1.invoke(AsyncUtils.kt)\n\t\tat io.airbyte.container.orchestrator.worker.util.AsyncUtils$runAsync$1$1.invoke(AsyncUtils.kt)\n\t\tat kotlinx.coroutines.intrinsics.UndispatchedKt.startUndspatched(Undispatched.kt:66)\n\t\tat kotlinx.coroutines.intrinsics.UndispatchedKt.startUndispatchedOrReturn(Undispatched.kt:43)\n\t\tat kotlinx.coroutines.BuildersKt__Builders_commonKt.withContext(Builders.common.kt:165)\n\t\tat kotlinx.coroutines.BuildersKt.withContext(Unknown Source)\n\t\tat io.airbyte.container.orchestrator.worker.util.AsyncUtils$runAsync$1.invokeSuspend(AsyncUtils.kt:21)\n\t\t... 8 more\n\tCaused by: kotlinx.coroutines.channels.ClosedSendChannelException: Channel was closed\n\t\tat kotlinx.coroutines.channels.BufferedChannel.getSendException(BufferedChannel.kt:1759)\n\t\tat kotlinx.coroutines.channels.BufferedChannel.onClosedSend(BufferedChannel.kt:138)\n\t\tat kotlinx.coroutines.channels.BufferedChannel.send$suspendImpl(BufferedChannel.kt:123)\n\t\tat kotlinx.coroutines.channels.BufferedChannel.send(BufferedChannel.kt)\n\t\tat io.airbyte.container.orchestrator.worker.util.ClosableChannelQueue.send(ClosableChannelQueue.kt:16)\n\t\tat io.airbyte.container.orchestrator.worker.SourceReader.run(ReplicationTask.kt:196)\n\t\t... 19 more\n\tSuppressed: io.airbyte.workers.internal.exception.DestinationException: No exit code found.\n\t\tat io.airbyte.container.orchestrator.worker.DestinationWriter.handleException(ReplicationTask.kt:129)\n\t\tat io.airbyte.container.orchestrator.worker.DestinationWriter.run(ReplicationTask.kt:108)\n\t\tat io.airbyte.container.orchestrator.worker.DestinationWriter$run$1.invokeSuspend(ReplicationTask.kt)\n\t\t... 8 more\n\tCaused by: java.lang.IllegalStateException: No exit code found.\n\t\tat io.airbyte.container.orchestrator.worker.io.ContainerIOHandle.getExitCode(ContainerIOHandle.kt:101)\n\t\tat io.airbyte.container.orchestrator.worker.io.LocalContainerAirbyteSource.getExitValue(LocalContainerAirbyteSource.kt:82)\n\t\tat io.airbyte.container.orchestrator.worker.DestinationWriter.run(ReplicationTask.kt:102)\n\t\t... 9 more\n",
"timestamp" : 1757581166707
} ]kapa.ai
09/11/2025, 9:34 AMkapa.ai
09/11/2025, 9:34 AMjava.lang.IllegalArgumentException: LEGACY states are deprecated. This means your source connector is emitting state in the old LEGACY format, which is no longer supported in recent Airbyte versions. The platform now expects state to be emitted in either the STREAM or GLOBAL format, as described in the [Airbyte Protocol documentation](https://docs.airbyte.com/platform/understanding-airbyte/airbyte-protocol#airbytestatemessage). What does this mean and what should you do? - Root Cause: Your source connector is emitting state in the LEGACY format, but Airbyte now requires state to be emitted in the STREAM or GLOBAL format. This is causing the sync to fail and the destination to report incomplete or missing stream statuses. - Resolution: - Update your source connector to emit state in the STREAM or GLOBAL format. The STREAM format is preferred unless you have a use case (like CDC) that requires GLOBAL state. - If you are using a custom or community connector, you may need to update its code to comply with the new protocol. See the [AirbyteStateMessage documentation](https://docs.airbyte.com/platform/understanding-airbyte/airbyte-protocol#airbytestatemessage) for the required structure. - If you are using an official connector, ensure you are on the latest version, as older versions may still emit LEGACY state. - Reference: > "LEGACY exists for backwards compatibility. In this state type, the state object is totally a black box. The only inference that can be drawn from the state object is that if it is null, then there is no state for the entire Source. All current legacy cases are being ported to stream or global. Once they are, it will be removed." [State Types – Airbyte Protocol](https://docs.airbyte.com/platform/understanding-airbyte/airbyte-protocol#state-types) Summary: Your sync is failing because the source is emitting deprecated LEGACY state messages. Update your connector to emit STREAM or GLOBAL state to resolve the issue. If you need guidance on the new state formats, refer to the [Airbyte Protocol documentation](https://docs.airbyte.com/platform/understanding-airbyte/airbyte-protocol#airbytestatemessage). If you need help updating a custom connector, let me know!