Kyle Romines
09/09/2025, 12:54 AM{"type":"LOG","log":{"level":"ERROR","message":"Check failed"}}
{"type":"CONNECTION_STATUS","connectionStatus":{"status":"FAILED","message":"\"Encountered an error while discovering streams. Error: time data '' does not match format '%Y-%m-%dT%H:%M:%SZ'\""}}kapa.ai
09/09/2025, 12:54 AMError: time data '' does not match format '%Y-%m-%dT%H:%M:%SZ' indicates that Airbyte is attempting to parse an empty string as a datetime using the format %Y-%m-%dT%H:%M:%SZ. This commonly happens after upgrading the Airbyte CDK or a connector, especially if the expected date format or the handling of default/empty values has changed. How to fix: 1. Check your configuration/state: Ensure that any date fields in your connector configuration or state are not empty. For example, if you have a start_date or similar parameter, it must be set and must match the required format (%Y-%m-%dT%H:%M:%SZ, e.g., 2024-01-01T00:00:00Z). This issue has been seen in several connectors after upgrades, where an empty string in the state or config caused the sync to fail. Manually updating the state or config to a valid datetime string resolved the issue in those cases [source-hubspot issue](https://github.com/airbytehq/airbyte/issues/59720), [source-adjust issue](https://github.com/airbytehq/airbyte/issues/41054). 2. Update the date format if needed: If your connector or config was previously using a different date format (e.g., just %Y-%m-%d), update it to the new required format. For example, after some connector migrations, the required format changed from %Y-%m-%d to %Y-%m-%dT%H:%M:%SZ [source-adjust issue](https://github.com/airbytehq/airbyte/issues/41054). 3. Review connector documentation: Some connectors have specific upgrade notes about date formats. For example, the Timely connector requires the start date to be in YYYY-MM-DDTHH:mm:ssZ format after upgrading to version 1.0.0 [Timely Migration Guide](https://docs.airbyte.com/integrations/sources/timely-migrations#upgrading-to-100). Summary of steps: - Set all date fields in your config/state to a valid, non-empty string in the required format. - If you have access to the Airbyte UI, edit the connection's state or configuration to provide a valid date. - If you are managing state manually (e.g., via the database), update the relevant state fields accordingly. If you continue to see this error after making these changes, check the connector's documentation or GitHub issues for any additional migration steps or known issues. --- References: - [source-hubspot: bad timestamp after upgrade](https://github.com/airbytehq/airbyte/issues/59720) - [source-adjust: date format change required](https://github.com/airbytehq/airbyte/issues/41054) - [Timely Migration Guide: date format update](https://docs.airbyte.com/integrations/sources/timely-migrations#upgrading-to-100)