amzn / selling-partner-api-models

This repository contains OpenAPI models for developers to use when developing software to call Selling Partner APIs.
Apache License 2.0
612 stars 736 forks source link

Special rate limits for `GET_AMAZON_FULFILLED_SHIPMENTS_DATA_GENERAL`? #2004

Closed moltar closed 3 years ago

moltar commented 3 years ago

We are experiencing strange behaviour with the GET_AMAZON_FULFILLED_SHIPMENTS_DATA_GENERAL report.

It seems to be rate-limited on its own.

All other reports go through fine, but that one is continuously getting 429s when calling create report method, no matter how long the wait is in between.

Can you please shed some light on if and/or how this report should be handled differently?


The response is always:

{
    "errors": [
        {
            "code": "QuotaExceeded",
            "message": "You exceeded your quota for the requested resource.",
            "details": ""
        }
    ]
}

Related: amzn/selling-partner-api-models#1439

Case ID: 9161753651


@ShivikaK @parvathm @jenilew any ideas?

ShivikaK commented 3 years ago

Hello @moltar

Thank you for raising this issue.

The case is being investigated by the support team and will be updated accordingly for additional information or next steps.

Please continue monitoring the support case opened with us. As the case is currently being looked into, I will resolve this issue in favor of the case reported to us.

Thanks, Shivika Khare Selling Partner API Developer Support

arshul commented 3 years ago

I am also experiencing similar behavior on this report type only

jimmy-ross-xapix commented 3 years ago

I am too.

On Wed, 10 Nov 2021, 9:34 am Mohd Arshul Mansoori, @.***> wrote:

I am also experiencing similar behavior on this report type only

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/amzn/selling-partner-api-models/issues/2004, or unsubscribe https://github.com/notifications/unsubscribe-auth/APAHCPSUA6CHCKVZ2Y4CWP3ULIU7XANCNFSM5HPHLZ7A . Triage notifications on the go with GitHub Mobile for iOS https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Android https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.

jgamboa-forumbrands commented 2 years ago

2022 i have the same error.

ToYonos commented 2 years ago

Same issue here, using GET_AMAZON_FULFILLED_SHIPMENTS_DATA_INVOICING : many Quota issues The weird thing is that once Quota messages appear, I can't get rid of them, even trying to wait does not fill up again my try supply (like with MWS)

I am trusting the create report rate which is 0.0167 request per second (one per minute) but still, many errors

JeromeXapix commented 2 years ago

+1

maltunok commented 2 years ago

+1

NetRushJacob commented 2 years ago

@ShivikaK you closed this issue, stating that a support case should be monitored that was opened. If GitHub is going to be a place to identify and discuss bugs for us developers, moving conversations to private support cases shouldn't be the status quo. Closing this issue implies to the rest of us that the issue is fixed.

@moltar were you able to get any progress on these requests through the support case? Any solution you could provide for the community?

We recently started requesting this same report and are also experiencing this odd throttling for this GET_AMAZON_FULFILLED_SHIPMENTS_DATA_GENERAL report type. We can make other CreateReport requests at the stated limit, but this one fails even attempting to request one report every 20 minutes.

ToYonos commented 2 years ago

I opened a support case, a detailed one with verbose logs. It's been "Pending Amazon Action" for weeks now. But I managed to deal with the issue regarding GET_AMAZON_FULFILLED_SHIPMENTS_DATA_INVOICING

I kind of reverse engineered the quota, guessing it after many tries. Asking this kind of report is possible once every 45 minutes. Maybe a little less but 30 minutes was failing. Hopefully for me, it's acceptable and since my app respects this quota, no more QuotaExceeded

Moreover, I still except an answer from Amazon's support as their last message was I have reached out to the concerned team, and will get back to you once I have more information

NetRushJacob commented 2 years ago

@ToYonos thank you for the information! We've also identified something similar through trial and error for the GET_AMAZON_FULFILLED_SHIPMENTS_DATA_GENERAL...we landed on an hour to completely eliminate errors.

Please let us all know what, if anything, support gets back to you on this!

kelerensheng commented 2 years ago

+1

bolner commented 1 year ago

For me this quota is not getting resetted even after waiting 4 hours. There are too many problems with this API.

super622 commented 1 year ago

Hello

When I call the Amazon sp api, I get the following error:

[{'code': 'QuotaExceeded', 'message': 'You exceeded your quota for the requested resource.', 'details': ''}]

How can I increase my quota?

bolner commented 1 year ago

Hello

When I call the Amazon sp api, I get the following error:

[{'code': 'QuotaExceeded', 'message': 'You exceeded your quota for the requested resource.', 'details': ''}]

How can I increase my quota?

The important thing to know is that the quota is not per app authorization, but per sales account. So if multiple apps are authorized for the same account, then it's possible that one of them is eating up the whole quota.

The only solution I see is to ask the owner of the account to uninstall all apps which do that, or to query the already generated reports and download them.