OFFBOARD Mode not working in SITL

I am trying to shift to offboard mode on sitl, but I am unable to do so.
I tried making a rosservice call, or using QGC or using commander mode offboard, but all are sending the same warning and not changing the more.
The warning is as follows

INFO  [tone_alarm] notify negative
[ WARN] [1681217519.126160926, 133.200000000]: CMD: Unexpected command 176, result 1

Check this param: Parameter Reference | PX4 User Guide