Pranay Mule
02/10/2025, 6:51 AMkapa.ai
02/10/2025, 6:51 AMPranay Mule
02/10/2025, 6:54 AMkapa.ai
02/10/2025, 6:55 AMkapa.ai
02/10/2025, 6:55 AMPranay Mule
02/10/2025, 6:59 AMkapa.ai
02/10/2025, 6:59 AMkapa.ai
02/10/2025, 7:00 AMPranay Mule
02/10/2025, 8:33 AMkapa.ai
02/10/2025, 8:33 AMkapa.ai
02/10/2025, 8:34 AMGET_FLAT_FILE_ALL_ORDERS_DATA_BY_ORDER_DATE_GENERAL
stream, the maximum allowable value is 30 days. 2. For the GET_AMAZON_FULFILLED_SHIPMENTS_DATA_GENERAL
stream, the maximum is also 30 days. 3. For the GET_FLAT_FILE_RETURNS_DATA_BY_RETURN_DATE
stream, the maximum is 60 days. If you set a "Period In Days" value that exceeds these limits for these specific streams, it will be automatically adjusted to the maximum allowed value. For other streams, if not provided or if it exceeds the limit, it will default to 365 days. It's important to note that this option helps in managing the amount of data retrieved in each sync, which can be useful for optimizing performance and avoiding potential API limitations. Remember, this is different from the "dataStartTime" option we discussed earlier, which is set in the Report Options for specific streams. The "Period In Days" is a global setting for the connector that applies to incremental syncs across all applicable streams.Pranay Mule
02/10/2025, 8:36 AMkapa.ai
02/10/2025, 8:36 AMkapa.ai
02/10/2025, 8:36 AMPranay Mule
02/10/2025, 8:45 AMkapa.ai
02/10/2025, 8:45 AMkapa.ai
02/10/2025, 8:45 AMPranay Mule
02/10/2025, 8:47 AMkapa.ai
02/10/2025, 8:47 AMkapa.ai
02/10/2025, 8:47 AMPranay Mule
02/10/2025, 8:50 AMkapa.ai
02/10/2025, 8:50 AMkapa.ai
02/10/2025, 8:50 AMPranay Mule
02/10/2025, 8:53 AMkapa.ai
02/10/2025, 8:53 AMkapa.ai
02/10/2025, 8:53 AMPranay Mule
02/10/2025, 9:44 AMkapa.ai
02/10/2025, 9:44 AMkapa.ai
02/10/2025, 9:44 AMPranay Mule
02/10/2025, 9:48 AMkapa.ai
02/10/2025, 9:48 AMkapa.ai
02/10/2025, 9:48 AMkapa.ai
02/10/2025, 9:51 AMkapa.ai
02/10/2025, 9:52 AMPranay Mule
02/10/2025, 9:52 AMkapa.ai
02/10/2025, 9:52 AMkapa.ai
02/10/2025, 9:52 AMPranay Mule
02/10/2025, 9:53 AMkapa.ai
02/10/2025, 9:53 AMkapa.ai
02/10/2025, 9:53 AMPranay Mule
02/10/2025, 9:54 AMkapa.ai
02/10/2025, 9:55 AMkapa.ai
02/10/2025, 9:55 AMPranay Mule
02/10/2025, 9:56 AMkapa.ai
02/10/2025, 9:56 AMkapa.ai
02/10/2025, 9:57 AMPranay Mule
02/10/2025, 10:19 AMkapa.ai
02/10/2025, 10:19 AMkapa.ai
02/10/2025, 10:19 AMPranay Mule
02/11/2025, 6:35 AMkapa.ai
02/11/2025, 6:35 AMkapa.ai
02/11/2025, 6:35 AMPranay Mule
02/12/2025, 9:57 AMkapa.ai
02/12/2025, 9:57 AMkapa.ai
02/12/2025, 9:58 AMPranay Mule
02/12/2025, 10:01 AMkapa.ai
02/12/2025, 10:01 AMkapa.ai
02/12/2025, 10:01 AM["queryEndDate", "parentAsin", "marketplaceId", "childAsin"]
This combination should ensure that each record is uniquely identified, even if you have multiple entries per day for different products or marketplaces. It's important to note that, as mentioned in the [Airbyte documentation on primary keys](https://docs.airbyte.com/connector-development/config-based/understanding-the-yaml-file/reference#/definitions/PrimaryKey), you can specify a composite key as an array of fields: yaml [ "code", "type" ]
Remember, the key is to choose a combination of fields that, when combined, will always be unique for each record in your report. If you're unsure about the exact structure of your GET_SALES_AND_TRAFFIC_REPORT, I recommend examining a sample of the data to identify which combination of fields will uniquely identify each record. If you need further assistance in determining the right combination of fields for your primary key, please provide more details about the specific fields available in your GET_SALES_AND_TRAFFIC_REPORT data.Pranay Mule
02/12/2025, 10:40 AMkapa.ai
02/12/2025, 10:41 AMkapa.ai
02/12/2025, 10:41 AMPranay Mule
02/12/2025, 10:45 AMkapa.ai
02/12/2025, 10:45 AMkapa.ai
02/12/2025, 10:45 AMkapa.ai
02/12/2025, 10:46 AM"streamState": {}
) for the GET_SALES_AND_TRAFFIC_REPORT stream indicates that Airbyte doesn't have any saved state for this stream. This is not necessarily an issue, but it means that the connector doesn't have a reference point for incremental syncs. 2. Configuration: Your proposed configuration is: - reportPeriod: DAY - dataStartTime: -10 days - Period in Days: 10 This configuration is consistent and should work as intended. It will fetch daily data for the last 10 days. 3. Potential Impact: Given that you've loaded last year's data and the stream state is empty, here's what you can expect: a) If you're using Incremental Sync - Append + Deduped mode: - The connector will fetch data for the last 10 days in each sync. - It will append this data to your existing data in the destination. - If there are any overlapping records (i.e., data from the last 10 days that was already in your destination), they should be deduplicated based on your primary key. - Your historical data (beyond the last 10 days) will remain untouched. b) If you're using Full Refresh Overwrite mode: - Each sync will replace all existing data in your destination with the data from the last 10 days. - This would result in losing all historical data beyond the 10-day window. 4. Potential Issues: The main concern with this setup is that the empty stream state might cause the connector to always fetch the last 10 days of data, even if some of that data has already been synced. This could lead to: - Unnecessary API calls, potentially contributing to rate limit issues. - Duplicate data if deduplication is not properly set up. 5. Recommendations: a) Ensure you're using the correct sync mode for your needs. If you want to maintain historical data, use Incremental Sync - Append + Deduped. b) Set up a proper composite primary key to ensure effective deduplication. As discussed earlier, this might include fields like ["queryEndDate", "parentAsin", "marketplaceId", "childAsin"]. c) Monitor your initial syncs closely to ensure data is being appended and deduplicated correctly. d) If you're consistently hitting rate limits, consider enabling the "Wait between requests to avoid fatal statuses in reports" option in the connector settings, as mentioned in the [Amazon Seller Partner Source documentation](https://docs.airbyte.com/integrations/sources/amazon-seller-partner#limitations--troubleshooting). In conclusion, while your proposed configuration should work, the empty stream state means you should pay close attention to ensure data is being synced and deduplicated as expected. If you encounter any issues with duplicate data or unexpected data loss, you may need to adjust your sync mode or primary key configuration.kapa.ai
02/12/2025, 10:46 AM"streamState": {}
for the GET_SALES_AND_TRAFFIC_REPORT stream indicates that there's no saved state for this stream. This typically means that the connector doesn't have a record of where it left off in the last sync. 2. Your Proposed Configuration: - reportPeriod: DAY - dataStartTime: -10 days - Period in Days: 10 This configuration is consistent and should work as intended. Here's what it means: - The report will provide daily data (reportPeriod: DAY) - It will fetch data starting from 10 days ago (dataStartTime: -10 days) - The global setting for the lookback period is also 10 days (Period in Days: 10) 3. Potential Impact: Given that you've loaded last year's data and the stream state is empty, using this configuration should not cause issues in terms of data retrieval. However, there are a few things to consider: a) Data Overlap: Since the stream state is empty, the connector will fetch the last 10 days of data in each sync, regardless of what data you've already loaded. This means you might get some overlap with your existing data. b) Incremental Sync: If you're using Incremental Sync - Append + Deduped mode (which we discussed earlier), the connector will append the new data and deduplicate based on your primary key. This should handle any potential duplicates from the overlap. c) Full Refresh: If you're using Full Refresh Overwrite mode, each sync will replace the existing data with the last 10 days of data. 4. Recommendations: - Ensure you have a proper composite primary key set up to handle potential duplicates if you're using Incremental Sync mode. - Monitor your initial syncs to ensure the data is being updated as expected and there's no unexpected data loss or duplication. - Keep an eye on API rate limits. As mentioned in the [Amazon Seller Partner Source documentation](https://docs.airbyte.com/integrations/sources/amazon-seller-partner#limitations--troubleshooting), you might want to enable the "Wait between requests to avoid fatal statuses in reports" option to manage API quotas. In conclusion, your proposed configuration should work without causing issues, but you should monitor the initial syncs closely to ensure the data is being updated as expected. If you need to maintain historical data beyond the 10-day window, you might want to consider adjusting your sync strategy or using a longer lookback period.Pranay Mule
02/12/2025, 1:58 PMkapa.ai
02/12/2025, 1:58 PMkapa.ai
02/12/2025, 1:58 PM