New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[source-opsgenie] No format in ['%Y-%m-%dT%H:%M:%S.%fZ'] matching 2020-11-11T17:46:02Z #35020
Comments
A theory could be that there's a bug in the OpsGenie API that causes the
to
in https://github.com/airbytehq/airbyte/blob/master/airbyte-integrations/connectors/source-opsgenie/source_opsgenie/manifest.yaml#L108C1-L109C34 would probably fix the problem |
I've been able to verify that for the particular alert that Airbyte is choking on, the
|
The alerts immediately preceding and following the problematic one has the correct format for the
I've also been able to verify that the issue is not related to the alert source as here is another one from New Relic that has the correct format:
This all points to my theory being correct. |
when paginating alerts using cursor-based pagination. The OpsGenie API will truncate the `updated_at` timestamp of alerts where the timestamp falls exactly on the second. This change extends the list of accepted cursor-based timestamp formats to include a format without fractions of seconds to correctly handle the response in this circumstance. See more details: airbytehq#35020
Thanks for reporting the issue @dipth I'll review your contributor tmw! |
Connector Name
source-opsgenie
Connector Version
0.3.0
What step the error happened?
During the sync
Relevant information
This error happens when syncing alerts from the Opsgenie EU Api using the Opsgenie source connector.
Configuration:
We have tried both using both "Incremental - Append" and "Incremental - Append + Deduped" replication modes. Both result in the same error.
Furthermore it looks like the connector is making too many requests against the Opsgenie API given that the log also contains a bunch of
429
responses:Relevant log output
Contribute
The text was updated successfully, but these errors were encountered: