Forever Payload is incorrect

BELOW CODE GENERATES PAYLOAD return {
“dhanClientId”: cfg[“dhan”][“dhanClientId”],
“correlationId”: f"{symbol}-forever-test-001",
“orderFlag”: “SINGLE”,
“transactionType”: “BUY”,
“exchangeSegment”: “NSE_EQ”,
“productType”: “CNC”,
“orderType”: “LIMIT”,
“validity”: “DAY”,
“securityId”: str(security_id),
“quantity”: quantity,
“disclosedQuantity”: disclosed_qty,
“price”: float(round(price, 2)), # :white_check_mark: force float
“triggerPrice”: float(round(trigger_price, 2)) # :white_check_mark: force float
}
BUT I AM GETTING ERROR Sending order request → AXISBANK:1145:1142
:inbox_tray: Response [400]: {“errorType”:“Order_Error”,“errorCode”:“DH-906”,“errorMessage”:“Incorrect request for order and cannot be processed”}

Hey @Abhay_Patil

Welcome to Dhan Community!

You have shared the python function and parameters passed over there. Can you share the API payload that you are actually sending.

I have also been getting the same message since the last 24 hours, i.e., the market closed on Friday, and till then AMO orders were also getting placed, but from Saturday onwards suddenly all the scripts started showing errors. Is this an issue at the individual ID level, or has Dhan updated something at its end? How will I know?