Error in fetching tradebook via REST API

Every time I am trying to fetch tradebook from url ‘’ using GET request, I am getting following error
{‘errorCode’: ‘TRADE_RESOURCE_ERROR’, ‘httpStatus’: ‘BAD_REQUEST’, ‘internalErrorCode’: ‘’, ‘internalErrorMessage’: ‘’}

same error in dhan.get_trade_book() method using dhanhq python module

I am able to fetch orderbook from ‘’.

Hi @rudra

We tried at our end and it is working fine. Hope you are not trying this on weekend (off trading day) , as on weekend there are not trades available in tradebook.

Request you to try now and if you still see any issue, let us know with the error message.