Order's position side does not match user's setting one way not working

Hi everyone,
I am receiving this error: {“code”:-4061,“msg”:“Order’s position side does not match user’s setting.”}
trying to post request for limit order here it is i requested this endpoint:

(https://fapi.binance.com/fapi/v1/order?symbol=BTCUSDT&side=BUY&positionSide=SHORT&type=LIMIT&timeInForce=GTC&quantity=0.01&price=20629.9&timestamp=1666982594164&signature=(hashed in my code)

Also from binance futures section One-way Mode is selected, what i am doing wrong here?

I found solution in my post request i used positionSide variable as SHORT or LONG, positionSide required for hedge mode. I removed it now works fine.

1 Like