When I am creating token via dhan web then place order API (/v2/orders) working but when I create token via API Key and Secret then it’s not working getting error,
{
“errorType”: “Input_Exception”,
“errorCode”: “DH-905”,
“errorMessage”: “Missing required fields, bad values for parameters etc.”
}
The payload is same for both cases, Using postman for request
payload
{
“dhanClientId”: “1000000009”,
“correlationId”: “f169ac60”,
“transactionType”: “BUY”,
“exchangeSegment”: “NSE_FNO”,
“productType”: “MARGIN”,
“orderType”: “MARKET”,
“validity”: “DAY”,
“securityId”: “60455”,
“quantity”: 75,
“disclosedQuantity”: 0,
“price”: 0,
“triggerPrice”: 0.0,
“afterMarketOrder”: false,
“amoTime”: “OPEN”,
“boProfitValue”: 0.0,
“boStopLossValue”: 0.0
}
@Hardik can you help me to fix the issue