Kevin Conseil
11/17/2025, 9:19 AMkapa.ai
11/17/2025, 9:19 AMreader_options parameter. For example, you can specify which columns to parse as dates using parse_dates in your configuration. This can sometimes help resolve serialization issues if the data type is not being inferred correctly by default. See the [reader options documentation](https://docs.airbyte.com/integrations/sources/file#reader-options). - There have been recent updates and dependency changes to the File source connector, including updates in August 2024, but none of the changelogs specifically mention a breaking change related to date/time JSON serialization for Excel files. You can review the changelog for more details: [File Source Changelog](https://docs.airbyte.com/integrations/sources/file#changelog). - There was a previous issue with how Excel formulas were interpreted (returning the formula instead of the value), but this is not directly related to JSON serialization of date/time fields. The suggestion there was to use the data_only parameter in openpyxl, but again, this is not directly about JSON serialization errors[Source File - openpyxl fails to interpret excel formula results](https://github.com/airbytehq/airbyte/issues/48774). If this issue started suddenly and nothing changed in your Excel file, it is possible that a recent update to the connector or its dependencies introduced a change in how date/time fields are handled. You may want to: - Check if you are using the latest version of the File source connector, and if so, try rolling back to a previous version to see if the issue persists. - Review your reader_options to ensure date columns are being parsed as expected. - If the problem continues, consider opening a new issue on the Airbyte GitHub repository with details about your connector version, sample data, and error messages. Unfortunately, without more specific information in the knowledge sources, I cannot provide a definitive answer or workaround for your exact scenario.Kevin Conseil
11/17/2025, 9:20 AMType is not JSON serializable: Timestamp. This might impact the sync performances. 2025-11-17 094102 source ERROR Object of type datetime is not JSON serializable Traceback (most recent call last): File "/usr/local/lib/python3.11/site-packages/airbyte_cdk/entrypoint.py", line 335, in airbyte_message_to_string return orjson.dumps(serialized_message).decode()
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
TypeError: Type is not JSON serializable: Timestamp
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/usr/local/bin/source-file", line 6, in
sys.exit(run())
^^^^^
File "/airbyte/integration_code/source_file/run.py", line 14, in run
launch(source, sys.argv[1:])
File "/usr/local/lib/python3.11/site-packages/airbyte_cdk/entrypoint.py", line 377, in launch for message in source_entrypoint.run(parsed_args): File "/usr/local/lib/python3.11/site-packages/airbyte_cdk/entrypoint.py", line 207, in run
yield from map(
File "/usr/local/lib/python3.11/site-packages/airbyte_cdk/entrypoint.py", line 342, in airbyte_message_to_string
return json.dumps(serialized_message)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.11/json/*init*.py", line 231, in dumps
return _default_encoder.encode(obj)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.11/json/encoder.py", line 200, in encode
chunks = self.iterencode(o, _one_shot=True)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.11/json/encoder.py", line 258, in iterencode
return _iterencode(o, 0)
^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.11/json/encoder.py", line 180, in default
raise TypeError(f'Object of type {o.class.name} '
TypeError: Object of type datetime is not JSON serializable
below the full log:
2025-11-17 094103 replication-orchestrator INFO Sync summary: {
"status" : "failed",
"recordsSynced" : 0,
"bytesSynced" : 0,
"startTime" : 1763368854850,
"endTime" : 1763368863010,
"totalStats" : {
"additionalStats" : { },
"bytesCommitted" : 0,
"bytesEmitted" : 0,
"destinationStateMessagesEmitted" : 0,
"destinationWriteEndTime" : 0,
"destinationWriteStartTime" : 1763368857765,
"meanSecondsBeforeSourceStateMessageEmitted" : 0,
"maxSecondsBeforeSourceStateMessageEmitted" : 0,
"meanSecondsBetweenStateMessageEmittedandCommitted" : 0,
"recordsEmitted" : 0,
"recordsCommitted" : 0,
"recordsFilteredOut" : 0,
"bytesFilteredOut" : 0,
"replicationEndTime" : 1763368863005,
"replicationStartTime" : 1763368854850,
"sourceReadEndTime" : 0,
"sourceReadStartTime" : 1763368857825,
"sourceStateMessagesEmitted" : 0
},
"streamStats" : [ ],
"performanceMetrics" : { },
"streamCount" : 1
}
2025-11-17 094103 replication-orchestrator INFO Failures: [ {
"failureOrigin" : "source",
"internalMessage" : "Source process exited with non-zero exit code 1",
"externalMessage" : "Something went wrong within the source connector",
"metadata" : {
"attemptNumber" : 0,
"jobId" : 57925067,
"connector_command" : "read"
},
"stacktrace" : "io.airbyte.workers.internal.exception.SourceException: Source process exited with non-zero exit code 1\n\tat io.airbyte.container.orchestrator.worker.SourceReader.run(ReplicationTask.kt:210)\n\tat io.airbyte.container.orchestrator.worker.SourceReader$run$1.invokeSuspend(ReplicationTask.kt)\n\tat kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(ContinuationImpl.kt:34)\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",
"timestamp" : 1763368863004
} ]
2025-11-17 094103 replication-orchestrator INFO
2025-11-17 094103 replication-orchestrator INFO Closing io.micronaut.context.propagation.instrument.execution.ContextPropagatingExecutorService@10e74bfd
2025-11-17 094103 replication-orchestrator INFO ----- END REPLICATION -----
2025-11-17 094103 replication-orchestrator INFO
2025-11-17 094103 replication-orchestrator INFO Closing io.micronaut.context.propagation.instrument.execution.ContextPropagatingExecutorService@57b6b828
2025-11-17 094103 replication-orchestrator INFO Closing io.airbyte.container.orchestrator.worker.io.LocalContainerAirbyteDestination@520739bc
2025-11-17 094103 replication-orchestrator INFO Closing io.airbyte.container.orchestrator.worker.io.LocalContainerAirbyteSource@2c944389
2025-11-17 094103 replication-orchestrator ERROR Error closing resource io.airbyte.container.orchestrator.worker.io.LocalContainerAirbyteSource@2c944389; recording failure but continuing.
2025-11-17 094103 replication-orchestrator INFO Closing io.airbyte.container.orchestrator.worker.RecordSchemaValidator@324f600a
2025-11-17 094103 replication-orchestrator INFO Closing io.airbyte.container.orchestrator.persistence.SyncPersistenceImpl@2db48844
2025-11-17 094103 replication-orchestrator INFO Returning output…
2025-11-17 094104 platform INFO
----- START POST REPLICATION OPERATIONS -----
2025-11-17 094104 platform INFO Invoking 1 post-replication operation(s)…
2025-11-17 094104 platform WARN Unsupported operation type 'normalization' found. Skipping operation…
2025-11-17 094104 platform INFO
----- END POST REPLICATION OPERATIONS -----
2025-11-17 094105 platform INFO Retry State: RetryManager(completeFailureBackoffPolicy=BackoffPolicy(minInterval=PT10S, maxInterval=PT30M, base=3), partialFailureBackoffPolicy=null, successiveCompleteFailureLimit=5, successivePartialFailureLimit=1000, totalCompleteFailureLimit=5, totalPartialFailureLimit=20, successiveCompleteFailures=1, successivePartialFailures=0, totalCompleteFailures=1, totalPartialFailures=0)
Backoff before next attempt: 10 secondsKevin Conseil
11/17/2025, 2:22 PMType is not JSON serializable: Timestamp. This might impact the sync performances. 2025-11-17 094102 source ERROR Object of type datetime is not JSON serializable Traceback (most recent call last): File "/usr/local/lib/python3.11/site-packages/airbyte_cdk/entrypoint.py", line 335, in airbyte_message_to_string return orjson.dumps(serialized_message).decode()
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
TypeError: Type is not JSON serializable: Timestamp
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/usr/local/bin/source-file", line 6, in
sys.exit(run())
^^^^^
File "/airbyte/integration_code/source_file/run.py", line 14, in run
launch(source, sys.argv[1:])
File "/usr/local/lib/python3.11/site-packages/airbyte_cdk/entrypoint.py", line 377, in launch for message in source_entrypoint.run(parsed_args): File "/usr/local/lib/python3.11/site-packages/airbyte_cdk/entrypoint.py", line 207, in run
yield from map(
File "/usr/local/lib/python3.11/site-packages/airbyte_cdk/entrypoint.py", line 342, in airbyte_message_to_string
return json.dumps(serialized_message)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.11/json/*init*.py", line 231, in dumps
return _default_encoder.encode(obj)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.11/json/encoder.py", line 200, in encode
chunks = self.iterencode(o, _one_shot=True)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.11/json/encoder.py", line 258, in iterencode
return _iterencode(o, 0)
^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.11/json/encoder.py", line 180, in default
raise TypeError(f'Object of type {o.class.name} '
TypeError: Object of type datetime is not JSON serializable
below the full log:
2025-11-17 094103 replication-orchestrator INFO Sync summary: {
"status" : "failed",
"recordsSynced" : 0,
"bytesSynced" : 0,
"startTime" : 1763368854850,
"endTime" : 1763368863010,
"totalStats" : {
"additionalStats" : { },
"bytesCommitted" : 0,
"bytesEmitted" : 0,
"destinationStateMessagesEmitted" : 0,
"destinationWriteEndTime" : 0,
"destinationWriteStartTime" : 1763368857765,
"meanSecondsBeforeSourceStateMessageEmitted" : 0,
"maxSecondsBeforeSourceStateMessageEmitted" : 0,
"meanSecondsBetweenStateMessageEmittedandCommitted" : 0,
"recordsEmitted" : 0,
"recordsCommitted" : 0,
"recordsFilteredOut" : 0,
"bytesFilteredOut" : 0,
"replicationEndTime" : 1763368863005,
"replicationStartTime" : 1763368854850,
"sourceReadEndTime" : 0,
"sourceReadStartTime" : 1763368857825,
"sourceStateMessagesEmitted" : 0
},
"streamStats" : [ ],
"performanceMetrics" : { },
"streamCount" : 1
}
2025-11-17 094103 replication-orchestrator INFO Failures: [ {
"failureOrigin" : "source",
"internalMessage" : "Source process exited with non-zero exit code 1",
"externalMessage" : "Something went wrong within the source connector",
"metadata" : {
"attemptNumber" : 0,
"jobId" : 57925067,
"connector_command" : "read"
},
"stacktrace" : "io.airbyte.workers.internal.exception.SourceException: Source process exited with non-zero exit code 1\n\tat io.airbyte.container.orchestrator.worker.SourceReader.run(ReplicationTask.kt:210)\n\tat io.airbyte.container.orchestrator.worker.SourceReader$run$1.invokeSuspend(ReplicationTask.kt)\n\tat kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(ContinuationImpl.kt:34)\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",
"timestamp" : 1763368863004
} ]
2025-11-17 094103 replication-orchestrator INFO
2025-11-17 094103 replication-orchestrator INFO Closing io.micronaut.context.propagation.instrument.execution.ContextPropagatingExecutorService@10e74bfd
2025-11-17 094103 replication-orchestrator INFO ----- END REPLICATION -----
2025-11-17 094103 replication-orchestrator INFO
2025-11-17 094103 replication-orchestrator INFO Closing io.micronaut.context.propagation.instrument.execution.ContextPropagatingExecutorService@57b6b828
2025-11-17 094103 replication-orchestrator INFO Closing io.airbyte.container.orchestrator.worker.io.LocalContainerAirbyteDestination@520739bc
2025-11-17 094103 replication-orchestrator INFO Closing io.airbyte.container.orchestrator.worker.io.LocalContainerAirbyteSource@2c944389
2025-11-17 094103 replication-orchestrator ERROR Error closing resource io.airbyte.container.orchestrator.worker.io.LocalContainerAirbyteSource@2c944389; recording failure but continuing.
2025-11-17 094103 replication-orchestrator INFO Closing io.airbyte.container.orchestrator.worker.RecordSchemaValidator@324f600a
2025-11-17 094103 replication-orchestrator INFO Closing io.airbyte.container.orchestrator.persistence.SyncPersistenceImpl@2db48844
2025-11-17 094103 replication-orchestrator INFO Returning output…
2025-11-17 094104 platform INFO
----- START POST REPLICATION OPERATIONS -----
2025-11-17 094104 platform INFO Invoking 1 post-replication operation(s)…
2025-11-17 094104 platform WARN Unsupported operation type 'normalization' found. Skipping operation…
2025-11-17 094104 platform INFO
----- END POST REPLICATION OPERATIONS -----
2025-11-17 094105 platform INFO Retry State: RetryManager(completeFailureBackoffPolicy=BackoffPolicy(minInterval=PT10S, maxInterval=PT30M, base=3), partialFailureBackoffPolicy=null, successiveCompleteFailureLimit=5, successivePartialFailureLimit=1000, totalCompleteFailureLimit=5, totalPartialFailureLimit=20, successiveCompleteFailures=1, successivePartialFailures=0, totalCompleteFailures=1, totalPartialFailures=0)
Backoff before next attempt: 10 seconds
I did the run the snowflake update early octoberkapa.ai
11/17/2025, 2:22 PMkapa.ai
11/17/2025, 2:22 PMTypeError: Type is not JSON serializable: Timestamp ... TypeError: Object of type datetime is not JSON serializable suggests that the connector is now emitting Python datetime or pandas Timestamp objects that are not being properly converted to JSON-serializable formats before being sent downstream. This is consistent with a change in the underlying CDK or connector code that may have altered how date/time fields are processed. What you can do: - Try downgrading the File source connector to a version prior to 0.6.0 (for example, 0.5.46 or earlier) to confirm if the issue is related to the recent update. - If downgrading resolves the issue, you may want to report this regression on the Airbyte GitHub repository, as it appears to be a breaking change introduced by the recent update. There is no explicit mention in the changelog of a breaking change to date/time serialization, but the timing and the nature of the error strongly suggest the recent update is the cause[File Source Changelog](https://docs.airbyte.com/integrations/sources/file#changelog). If you need to stay on the latest version, you may also want to review your reader_options to see if you can force date columns to be read as strings, which could be a temporary workaround. Let me know if you need guidance on downgrading or further troubleshooting steps.Kevin Conseil
11/17/2025, 2:24 PMkapa.ai
11/17/2025, 2:24 PMkapa.ai
11/17/2025, 2:24 PMKevin Conseil
11/18/2025, 10:05 AMkapa.ai
11/18/2025, 10:05 AMkapa.ai
11/18/2025, 10:05 AM