My Data API works: POST /v2/charts/historical returns data on the same token. But every POST /v2/charts/rollingoption returns HTTP 400
{“errorType”:“Input_Exception”,“errorCode”:“DH-905”,“errorMessage”:“Missing required fields, bad values for parameters etc.”}.
This happens for NIFTY (NSE_FNO, securityId 13) and SENSEX (BSE_FNO, 51), WEEK and MONTH, dates inside the last 5 years, with interval as a number or text, and with or without dhanClientId. It also happens for your documented example with recent dates, and for the same call made through your official dhanhq Python SDK (expired_options_data).
The attached self_check.csv has every request body and your responses. Please enable Expired Options Data for my account, or tell me what’s wrong with the request.