Charts/historical returns DH-905 for securityId=38 on IDX_I

Hi team,

I’m seeing DH-905 when calling the historical charts endpoint for one index
security ID.

Exact request payload:

{
“securityId”: “38”,
“exchangeSegment”: “IDX_I”,
“instrument”: “INDEX”,
“expiryCode”: 0,
“oi”: false,
“fromDate”: “2026-05-11”,
“toDate”: “2026-05-15”
}

Endpoint:

  • POST /v2/charts/historical

Response:

  • HTTP 400
  • errorCode: DH-905
  • errorMessage: System is unable to fetch data due to incorrect parameters or
    no data present

I also tested the same endpoint with securityId=13 and that works as expected,
so this looks specific to securityId=38.

Could you please confirm whether:

  • securityId=38 is still supported for historical candles,
  • the ID has changed or been deprecated,
  • or there is another valid ID I should use for Nifty Next 50?

Thanks for checking.