<@U04S8PLJWMT> i'm using airbyte issue 0.44.5 incr...
# ask-ai
h
@kapa.ai i'm using airbyte issue 0.44.5 incremental sync - %Y-%m-%dT%H:%M:%S.%f%z it is accepting as incremental buti nairbyte version 1.4.1 not working here why
k
Based on the information in the knowledge sources, there have been several issues related to datetime parsing and incremental syncs in Airbyte, especially around the format
%Y-%m-%dT%H:%M:%S.%f%z
(ISO 8601 with microseconds and timezone). In Airbyte version 0.44.5, it appears that this format was accepted for incremental syncs. However, in later versions (such as 1.4.1), users have reported problems where this format is not working as expected. For example, in the Gorgias connector, errors like:
Copy code
No format in ['%Y-%m-%dT%H:%M:%S.%f%z'] matching 2024-11-01T08:48:50+00:00
were encountered, even though the datetime string seems to match the format except for the microseconds part (which is missing in the data, e.g.,
2024-11-01T08:48:50+00:00
vs. the format expecting microseconds) [source-gorgias malformed date parsing](https://github.com/airbytehq/airbyte/issues/48106). The root cause is that Airbyte's datetime parser is strict: if you specify
%Y-%m-%dT%H:%M:%S.%f%z
, the incoming data must include microseconds. If the data sometimes omits microseconds (e.g.,
2024-11-01T08:48:50+00:00
), the parser will fail unless you also include a format without microseconds, such as
%Y-%m-%dT%H:%M:%S%z
, in your list of accepted formats. This behavior is confirmed in multiple issues and is not unique to a specific connector. What changed? - In newer Airbyte versions, the datetime parsing logic may have become stricter or more explicit about requiring all possible formats to be listed. - If your data can have both microseconds and no microseconds, you must list both formats in the "Cursor datetime formats" setting in the connector builder UI or your manifest. How to fix: - In Airbyte 1.4.1, ensure you specify all possible datetime formats your data might use. For example:
Copy code
%Y-%m-%dT%H:%M:%S.%f%z   %Y-%m-%dT%H:%M:%S%z
This will allow Airbyte to parse both variants [Incremental sync documentation](https://docs.airbyte.com/platform/next/connector-development/connector-builder-ui/incremental-sync). Summary: The issue is not with the format itself, but with the need to specify all possible formats that your data might use. Airbyte 1.4.1 requires you to be explicit about all supported datetime formats for incremental syncs to work reliably. If you continue to have issues, check your connector's configuration and add all relevant datetime formats as described above. References: - [Malformed date parsing issue](https://github.com/airbytehq/airbyte/issues/48106) - [Incremental sync documentation](https://docs.airbyte.com/platform/next/connector-development/connector-builder-ui/incremental-sync)