Why does the /orders
endpoint return the following error, for the valid request ?
{
"errorType": "Order_Error",
"errorCode": "DH-906",
"errorMessage": "Incorrect request for order and cannot be processed"
}
Why does the /orders
endpoint return the following error, for the valid request ?
{
"errorType": "Order_Error",
"errorCode": "DH-906",
"errorMessage": "Incorrect request for order and cannot be processed"
}
Yep, today it happened. Dunno the reason
@Hardik @Anirudha This seems to be a persistant issue and I am unable to use the algo, also subscriptions to dhan API seems to be getting wasted
there is no request payload needed for this endpoint
here is the cURL if that helps
curl --request GET \
--url https://api.dhan.co/v2/orders \
--header 'Accept: application/json' \
--header 'access-token: TOKEN
REFERENCE :: Dhan API
Hello @fisek209281
Just checked this. It is working fine at my end. From the request, I understand you are trying fetch all orders for the current day.
This is working fine in v2 as well as v1.