[source-amazon-seller-partner] Reports not generating proper start & end dates #38166
Labels
area/connectors
Connector related issues
community
connectors/source/amazon-seller-partner
team/connectors-python
type/bug
Something isn't working
Connector Name
source-amazon-seller-partner
Connector Version
4.2.3
What step the error happened?
Configuring a new connector
Relevant information
This is a follow up from #36543, as it seemed to help initially but after more testing, I don't believe the issue is actually resolved.
I have been trying to get this connector setup but running into various problems getting report data. I was able to get it setup using the code below but on the following scheduled runs, the connector hasn't succeeded since. The failure bounces between several reports:
Ultimately, I would like to not define a start date and get data 2 years back, as the documentation suggests is the case; however, for getting off the ground I've been focusing on getting recent data (though I would think the solution to this issue would resolve the historical backfill problem I've been running into, as it seems related to the start/end dates.)
TL;DR on this code, I have a list of regions I want to pull data from and stored the credentials in AWS secrets manager. The failure occurs in all 3 regions, impacting the same few reports in all regions. Oddly, the code worked fine at 2PM on Friday Pacific time but then failed at 5:20PM or so when the cron is scheduled to run. I have not seen a successful run since the initial attempt.
Here are the full logs for the run after a successful completion.
amazon-seller-partner-logs.txt
However, in these logs, I see GET_BRAND_ANALYTICS_SEARCH_TERMS_REPORT is succeeding but in the run directly after these 10 failed attempts, it starts failing too. Happy to provide those logs if needed but I suspect it should be pretty easy to reproduce this issue using the terraform provided.
Relevant log output
Contribute
The text was updated successfully, but these errors were encountered: