9 posts / 0 new
Last post
tangyfruits
HCSS Rate Limiting Issues

Hello..

When submitting my payloads to https://api.acc.co.nz/v1/provider/home-community-support-services/return-to-independence-outcomes' with a 50ms sleep (I understand there is a 30 submissions per second rate limit i.e. 33ms) I am blocked by this error:

{"fault":{"faultstring":"Rate limit quota violation. Quota limit  exceeded. Identifier : _default","detail":{"errorcode":"policies.ratelimit.QuotaViolation"}}}

This happens even with the first submission after a 'cooldown' of a couple of minutes. I have not made any successful submissions today. I have also increased my sleep to 500ms and 2000ms but it is still being blocked.

Thanks
D


tangyfruits
Same error today. Thanks D

Same error today.

Thanks
D


kaaran@ACC
Correct throttling rate

Hi Tangyfruits,

Apologies about the slow response. The current rate limit per apikey is 20 transactions per second (TPS). Are you submitting from multiple apps at the same time? The spike arrest is based on each apikey so im assuming that this could be the issue. Let me know if this is the case or not.

We adjusted the TPS speed earlier this year as we were running into some connection issues when some developers were using automated testing which was clogging up our backend systems and degrading the service to other developers. We were forced to change this rate to allow all developers to be able to access our systems.

Cheers


tangyfruits
I am not running multiple

I am not running multiple apps.

Also it is stated as"

Throttling and non-functional requirements

Throttling has been applied to this API to protect against DDoS attacks. A limit of 30 requests per second per API key has been applied." on https://developer.acc.co.nz/home-and-community-support-services/apis so please update when possible.

Thanks
D


kaaran@ACC
Looking into issue - ignore previous post question

HI Tangyfruits, ive looked deeper into the issue and can see that there are no other submissions apart from your ones and so we do have some issue occurring there. I will have to pass this to our technical support to see why this error is occurring and will notify you once it has been fixed


tangyfruits
Cheers

Thanks for investigating this :)


tangyfruits
Any update?

Hello

Has progress been made on this?

Thanks
D


kaaran@ACC
Please try now

Hi Tangyfruits,

We have adjusted the throttling on that api. Can you please try and make your submissions now?

Please let us know how you go.

Kind Regards


tangyfruits
Thanks

It's going great now. Thanks for resolving this.


Add new comment