API Rate Limits: Orders are failing as rate limit per Hr exceeded

@Dhan_Cares , could you please help
Orders are failing because of Per Hour Rate Limit Exceeded For Orders API in order firing.
What is the current limit through api , could you please share in detail.

Hello @jacharjya1978

There are different rate limits on API. You can check the same in the documentation here - Introduction - DhanHQ Ver 1.0 / API Document

image
@Hardik , I guess one of the reason I might have got the rate limit error , because of trailing the stop loss.
It could have sent more than 25 modifications /order.
My question is , is that something going to impact other orders ? because I kept on receiving rate limit order for fresh orders as well through api.
and how long this rate limit check will be active intraday ?

@jacharjya1978

You need to check the error code that you must have received. In case of minute or hourly or daily API rate limit, you will get the error code for particular rate limit which is being reached and the same gets reset in the subsequent time frame.

Can you confirm which particular error code that you receive here?

@Hardik , I am using the api through AlgoTest platform , I can see the below error there
per hour rate limit exceeded for orders api Order Details- [ Broker order id: 12230912268401, Instrument Symbol: BANKNIFTY2391346000PE, Position: -1, Quantity: 15.0 ].
It seems to be per hour rate limit . Do you consider modification order as one count ?

Yes @jacharjya1978

Modification is also counted as an order request count and same for cancellation. You need to keep this in mind when placing orders.

A lot of orders of mine have been failing today with this error message below:

‘response_sell’: {‘status’: ‘failure’, ‘remarks’: {‘error_code’: ‘HTTP429’, ‘message’: ‘Per Hour Rate Limit Exceeded For Orders API’}, ‘data’: ‘’}}

I have not really placed that many orders and yet i have got this.
please help.
It appears like we should be able to make 25 orders per second
which is not happening at my end nor we are exceeding the limit of 250 per hour.
could u please look into it at your end and let us know what is the problem
here is the clientid 1101249821