Skip to content
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-klaviyo: raise errors for Profiles and GlobalExclusions #2118

Merged
merged 1 commit into from
Nov 4, 2024

Conversation

Alex-Bair
Copy link
Contributor

@Alex-Bair Alex-Bair commented Nov 4, 2024

Description:

The raise_on_http_errors property has been suppressing all errors for the Profiles and GlobalExclusions streams. It looks like this was originally done because Klaviyo sometimes returns a 503 when paginating per the Airbyte comments. I have not been able to replicate this. If that does happen, we should now get an error message, the shard should fail & restart, and the stream should pick up where it last left off paginating.

Workflow steps:

(How does one use this feature, and how has it changed)

Documentation links affected:

(list any documentation links that you created, or existing ones that you've identified as needing updates, along with a brief description)

Notes for reviewers:

Tested on a local stack. Confirmed that HTTP errors (specifically a 400 response) for Profiles and GlobalExclusions fails the shard and logs out an error message.


This change is Reviewable

The `raise_on_http_errors` property has been suppressing errors for the
`Profiles` and `GlobalExclusions` streams. It looks like this was
originally done because Klaviyo sometimes returns a `503` when
paginating per Airbyte comments. I have not been able to replicate that.
If that does happen, we should now get an error message, the shard
should fail & restart, and the stream should pick up where it last left
off paginating.
@Alex-Bair Alex-Bair added the change:unplanned Unplanned change, useful for things like doc updates label Nov 4, 2024
Copy link
Member

@williamhbaker williamhbaker left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@Alex-Bair Alex-Bair merged commit eef01ef into main Nov 4, 2024
74 of 77 checks passed
@Alex-Bair Alex-Bair deleted the bair/klaviyo-errors branch November 4, 2024 15:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
change:unplanned Unplanned change, useful for things like doc updates
Projects
None yet
Development

Successfully merging this pull request may close these issues.

source-klaviyo: Profiles and GlobalExclusions streams silently fail when receiving a 400 response
2 participants