• Join - It's Free

Rate limit changed?

Started by Kenneth Ekman on Tuesday, December 28, 2021
Problem with this page?

Participants:

Related Projects:

Showing all 23 posts

Hi,

Lately, I have noted that sometimes the X-API-Rate-Limit header tag(s) is / are missing from returned data, and sometimes I get a new data section that indicates errors like this

{"error":{"type":"OAuthException","message":"Invalid access token"}}

{"error":{"type":"ApiException","message":"Rate limit exceeded."}}

I have not found any documentation indicating these changes.

What have I missed?

/ Kenneth

Ping Mike Stangel or someone who knows

Mike have vacation

Thanks Björn!

I haven't seen those unusual responses for the last day or so, so I'm not sure what the reason might have been....

Both error messages is clear enough and is explained in the documentation. Rate limit depends on connection, but the X-API-Rate-Limit header is not needed except for monitoring to slow down before you hit the limit - just catch the exception and resend the request after a couple of seconds. It is however some time since I used the API so things might have changed.

I agree that they are clear enough, but I have not seen any explanation in the documentation them. Can you point me to where they are explained, please?

Rate matching was only handled using http-headers and null-data as I have understood it, but now it seems like we may receive json-coded error information as data contents as well.

/ Kenneth

I can also mention that I have updated my rate matching code in the last few months to get better average throughput. Maybe those changes have affected something...? Now I try to get as close to the rate limit as I can without exceeding it, using the http-header-info.

Kenneth Ekman

Have you noticed that the rate limit appears to have been slashed from 10 per rate window (10 seconds) to 1 per rate window in the last few days.

This has now ruined my application and is unacceptably slow. This has been done with no warning or communication - I am hoping that it is only a temporary measure due to some unexplained event?

Private User Mike Stangel - you guys appear to be authorities on the API, do you know what is happening?

Kenneth Ekman we are now giving different API rates to new / unapproved apps vs. approved apps. We need to approve yours, however I see you created three! Which app ID are you using, and can I delete the other two?

Kenneth Ekman correction, I see 5 apps registered to you.

I'm using the one named WebTreeView (433) currently. The other ones are not used.

Kenneth Ekman Your app has been approved.

Craig Andrew Miles what's your app ID? I'll take a look and approve it, as well.

Thanks so much for the swift reply Mike Stangel

The App ID I am using is #536

Incidentally, all of the other Apps (#532 to #535) were created "accidentally" due to my uncertainty about what was going on in the registration process although admittedly that was a while ago now.

I just tried the "Delete Application" link and it still doesnt work which was my original problem. Just gives an "Error: Page or Resource Not Found" message. The actual URL (for eg #532) is https://www.geni.com/platform/developer/apps/532 which may mean that this is a permissions error as it looks the correct URL.

Anyway I would be most grateful if you could approve App #536 and happy for you to delete #532-535 if you are so inclined. They all have the same name!

Thanks Mike Stangel

Hi Mike Stangel

I was hoping you would be able to approve my App #536 sometime soon if possible.

Thanks

Craig

That's great. Thanks Mike Stangel

Mike Stangel could you approve also my apps #455 & #412.

Any chance mine can (#550) get approved as well? It's still in development, not public... not sure if that matters.

Michael Shalom Fagan how can we see your app in action, to approve it?

Mike Stangel I can probably show you in a quick video chat sometime after 5pm (your time zone). It's not making a ton of requests overall, but this rate limit is making development slower and it's going to make it hard to do the prototype demos in a few months.

Showing all 23 posts

Create a free account or login to participate in this discussion