dhan.place_slice_order(security_id=‘60460’, exchange_segment=dhan.NSE_FNO,transaction_type=dhan.BUY,quantity=75,order_type=dhan.MARKET,product_type=dhan.MARGIN,price=0) it is throwing up the following error:
{‘status’: ‘failure’,
‘remarks’: {‘error_code’: ‘DH-905’,
‘error_type’: ‘Input_Exception’,
‘error_message’: ‘Missing required fields, bad values for parameters etc.’},
‘data’: {‘errorType’: ‘Input_Exception’,
‘errorCode’: ‘DH-905’,
‘errorMessage’: ‘Missing required fields, bad values for parameters etc.’}}
Till last Friday this code was working fine. What has changed? I have also added static IP to my profile
Interestingly when I use the access token directly from the Dhan website, it works fine. But when I use the access token generated through consentID+TOTP, the issue persists.