Error with historical daily data - Data APIs

Getting this error for the following code…

ERROR:root:Exception in dhanhq>>intraday_history_minute_charts: expiry_code value must be [‘0’,‘1’,‘2’,‘3’]
{‘status’: ‘failure’, ‘remarks’: “expiry_code value must be [‘0’,‘1’,‘2’,‘3’]”, ‘data’: ‘’}

    security_id = '1333'
    exchange_segment = 'NSE_EQ'
    instrument_type = 'EQUITY'
    expiry_code = '0'
    from_date = '2024-01-23'
    to_date = '2025-01-23'

    dhan = dhanhq(client_id, access_token)

    response = dhan.historical_daily_data(security_id,exchange_segment,instrument_type,expiry_code,from_date,to_date)
    print(response)

Why am I getting error with ‘intraday_history_minute_charts’?

The REST API is working for Daily historical data but the python equivalent isn’t. Is it that the python client isn’t ready yet? In any case need some clarity.

use expiry_code = 0
instead of expiry_code = ‘0’