Could it share some meaningful error message?
API: https://api.dhan.co/orders
Request Body:
{"dhanClientId":"zzzzzzzz","correlationId":"xxxxxxx","transactionType":"BUY","exchangeSegment":"NSE_FNO","productType":"MARGIN","orderType":"MARKET","validity":"DAY","securityId":"53771","quantity":1,"afterMarketOrder":false}
Response:
{
"errorCode": "BAD_REQUEST_ERROR",
"httpStatus": "BAD_REQUEST",
"internalErrorCode": "RS-9005",
"internalErrorMessage": " todo mandatory fields "
}
What’s wrong in it?