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
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
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?
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!
Hi Mike Stangel
I was hoping you would be able to approve my App #536 sometime soon if possible.
Thanks
Craig
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.