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

Update error handling for source-amazon-seller-partner #40751

Merged
merged 3 commits into from
Jul 8, 2024

Conversation

maxi297
Copy link
Contributor

@maxi297 maxi297 commented Jul 5, 2024

What

Partially addresses: https://github.com/airbytehq/airbyte-internal-issues/issues/8468

Update the error handling of source-amazon-seller-partner to avoid getting paged for non-actionable problems.

Also updated the releaseStage so that we start alerting on these.

How

Handle the most common errors I've seen in https://airbytehq.sentry.io/issues/5489728722, namely:

  • Rate limiting
  • Bad report options leading to non existing reports

Review guide

  1. airbyte-integrations/connectors/source-amazon-seller-partner/source_amazon_seller_partner/streams.py
  2. the rest

User Impact

In terms of the user, the streams will still fail as they were failing before but the errors will be categorized differently. In some cases, it seems like streams were not failing and we would simply return []. In those cases, I added proper AirbyteTracedExceptions

Can this PR be safely reverted and rolled back?

  • YES 💚
  • NO ❌

Copy link

vercel bot commented Jul 5, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
airbyte-docs ✅ Ready (Inspect) Visit Preview 💬 Add feedback Jul 8, 2024 0:28am

@maxi297 maxi297 merged commit 1aaa922 into master Jul 8, 2024
34 checks passed
@maxi297 maxi297 deleted the issue-8468/update-errors-for-amazon-seller-partner branch July 8, 2024 13:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/connectors Connector related issues area/documentation Improvements or additions to documentation connectors/source/amazon-seller-partner
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants