Developer API > Analytics API > getRateLimits doesn't return amount of calls used
Making a call to https://api.ebay.com/developer/analytics/v1_beta/rate_limit/?api_name=tradingapi
and despite having used approximately 800 calls so far today for GetOrders, it's still returning:
"limit": 5000,
"remaining": 5000,
I'm hours from my reset time, so it wasn't just reset.
I am making the call using the same token which is making the Trading API call.
What am I doing wrong?
9 comments
gbgardens
·2 years agoI managed to get it working on eBay's API Explorer page. In the textarea where you need to put a token, click on "Get OAuth Application Token" instead of "Get OAuth User Token". It kind of makes sense given that the limits are for your "application", not for your individual users.
fg_seller
·2 years agoHas anyone found a way around this? I'm running into the same issue and it's incredibly unhelpful to be told to check your limits but have no way to do it.
shoma417
·2 years agoI help you
fwpt82
·2 years agoI'm having the exact same problem.
I think my solution for now will be to implement a counter for my api calls.
burstingfist
·2 years agoI am finding the same behavior with the
shipscript
·3 years agoI've not used this call, but, if a user token was required to access "GetOrders", then it would seem that a user token should be required to access "/user_rate_limit/".
swiv-o-matic
OP3 years ago · EditedYes, it does need the user token.
It's saying I didn't use any calls at all whatsoever, which is definitely not the case.
shipscript
·3 years ago@swiv-o-matic
Sorry, I was unclear again. If the user token is provided, which you confirmed, then I believe the endpoint is wrong and should be "/user_rate_limit/".
swiv-o-matic
OP3 years agoNo problem. I should've mentioned the same thing happens with that call as well.