-
Notifications
You must be signed in to change notification settings - Fork 4.2k
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 Amazon Seller Partner: Fix non vendor accounts connector create/check issue #27050
🐛 Source Amazon Seller Partner: Fix non vendor accounts connector create/check issue #27050
Conversation
Before Merging a Connector Pull RequestWow! What a great pull request you have here! 🎉 To merge this PR, ensure the following has been done/considered for each connector added or updated:
If the checklist is complete, but the CI check is failing,
|
@lazebnyi @bazarnov @davydov-d @sajarin |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I requested changes to be made in order to block PR for the purpose of investigating an issue.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@animer3009
Could you please provide us with some examples/logs/environment or anything so we can see the bug? The task I refer in my PR is about the same bug but for vendor only accounts, so if we switch back to Orders
stream we will switch back to the previous version of this bug. It would be better not to switch between bugs from time to time but figure out the real cause of the issue
@roman-yermilov-gl we are not switch between bugs!
|
Ok, I see the issue #12124 and PR #16629 created by the same person (krisjan-oldekamp) and the issue is few month older than PR. As I also don't have vendor account to check it works, I can only suppose krisjan-oldekamp tested his PR using vendor account because he is a requester of chacnges related to this account type. If so, then the issue was no longer valid at that moment when I started working on it. I agree with changes in this PR @lazebnyi |
@animer3009
This error handler works both ways: having Seller account we are using |
@roman-yermilov-gl As I have no vendor account, I am getting error: |
@animer3009 |
@animer3009 |
@roman-yermilov-gl |
@roman-yermilov-gl |
@animer3009 |
@roman-yermilov-gl Sorry but I am not authorized to share my company owned business credentials. I tried to log it one more time...
Same for the EU with eu account credentials.
We use this connector in the production... FYI - we have different accounts and we are getting reports from different regions. Just accounts are not Vendor ones and we are facing the same issue for all of them. Another way is to make two separate checks. Possibly you are right and somewhere some permission or some other issue is on our account side, but all our all stuff was done by ASP documentations and we have no idea how it can be solved. |
@roman-yermilov-gl
It at last need reportPeriod option to be set.
As users will not have set the option by default, they will also face this issue. So I am asking merge my change and return back what was before. @lazebnyi please check this stuff. Thanks! |
@roman-yermilov-gl if we return to |
@marcosmarxm It will work... Issue/Ticket time Apr 19, 2022 Krisjan O krisjan@gmail.com on 9/26/22 at 1:19 PM
Looks like just issue/ticket left open (was not closed)... @lazebnyi @marcosmarxm |
@animer3009 @marcosmarxm I think we need to create vendor account on amazon seller partner with at least one order and then update our acceptance tests by including this account to |
@roman-yermilov-gl can you handle this? I don't have much knowledge on Amazon Seller Partner. |
@marcosmarxm cc: @lazebnyi |
@marcosmarxm Can you guys just trust me and merge code lol? |
@marcosmarxm |
@animer3009 you can build the connector in your side and use the changes. Right now this isn't a priority in our backlog and it will take some time to get finished and merged. |
@marcosmarxm, could this move up on the team's priority list? It renders the Amazon Selling Partner source as useless. Other complaints about this same issue here: #25674. |
@animer3009 @nicksaroki yes, I'm going to handle this week. Amazon Seller Partner tests are broken and I'm working to fix them. |
Tests are all green #28492 (comment) |
…ate/check issue (#27050) * bux fix. Now non vendor accounts can create/check connection * add bull requestr url * run check for vendor only * update metadata file * remove expectered records from empty stream * add ListFinancialEventGroups as empty stream * remove expected records --------- Co-authored-by: Marcos Marx <marcosmarxm@users.noreply.github.com> Co-authored-by: marcosmarxm <marcosmarxm@gmail.com>
What
Bug fix!
After @roman-yermilov-gl change's merge #23980 we got the bug.
Non vendors accounts can't create/check connector.
He changed Orders stream with VendorSalesReports in the check_connection function.
When reviewer asked why did he made this change, he provided this ticket:
#12124
In fact itself @krisjan-oldekamp already did fix early before, just looks like ticket left open...
You can find code by @krisjan-oldekamp :
So ASAP need merge and fix this stuff.
How
With changing Amazon Seller Partner Source connector