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

bug(amazon-seller-partner): The orders stream only allows querying up to 2 minutes earlier than the present #52592

Merged
merged 3 commits into from
Jan 28, 2025

Conversation

brianjlai
Copy link
Contributor

@brianjlai brianjlai commented Jan 28, 2025

What

During the progressive rollout, it was identified that specifically for the Orders stream, it only allows querying for up to 2 minutes before the present moment, otherwise it throws a 400 error. This adjusts the cursor so that it only syncs up to now() - duration('PT2M')

Amazon API Error:

400
The input you have submitted is not valid. Note that the error may be due to a systematic delay in data retrieval. The most updated data is 2 minutes after an order is created or last updated. If you set the CreatedBefore or LastUpdatedBefore parameters, please provide a date that is at least 2 minutes before current time and try again.

I also tried testing w/ other REST streams like financial streams which didn't seem to have the same issue as Orders

Can this PR be safely reverted and rolled back?

  • YES 💚
  • NO ❌

Copy link

vercel bot commented Jan 28, 2025

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 Jan 28, 2025 6:06am

@octavia-squidington-iii octavia-squidington-iii added the area/documentation Improvements or additions to documentation label Jan 28, 2025
Copy link
Contributor

@maxi297 maxi297 left a comment

Choose a reason for hiding this comment

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

:shipit:

@natikgadzhi
Copy link
Contributor

Maxime beat me to it ;)

@brianjlai brianjlai merged commit fb3491c into master Jan 28, 2025
29 checks passed
@brianjlai brianjlai deleted the brian/amazon_seller_partner_orders_earlier_end_date branch January 28, 2025 06:56
btkcodedev pushed a commit that referenced this pull request Feb 3, 2025
stephane-airbyte pushed a commit that referenced this pull request Feb 4, 2025
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.

5 participants