Isolated AUTO_REPAY margin order - A mandatory parameter was not sent, was empty/null, or malformed

So I have already placed a MARGIN_BUY order that executed successfully , buying NMRUSDT , and I had set quoteOrderQty=18 , i.e I had 18USDT in my isolated wallet , so that 18USDT order bought amount → 0.68 of NMRUSDT.

Now I want to place an AUTO_REPAY SELL order , but when I send the following reuest →

https://api.binance.com/sapi/v1/margin/order?symbol=NMRUSDT&isIsolated=TRUE&side=SELL&type=LIMIT&sideEffectType=AUTO_REPAY&quantity=0.68&price=26.51&recvWindow=5000&timestamp=1643660989506&signature=signature_here

This gives me error →

{'code': -1102, 'msg': 'A mandatory parameter was not sent, was empty/null, or malformed.'}

May I know what I could be doing wrong ? What quantity should we put ?
I am putting quantity of symbol bought from previous order , but looks like it is throwing error.
Please help.

timeInForce is missing, you can try set to timeInForce=GTC and test again.