Got COMMAND_ACK: NAV_WAYPOINT: UNSUPPORTED

I want to send MAV_CMD_NAV_WAYPOINT message using pymavlink and I’m using this code to send a message
hold = 0
Accept_Radius = 0
Pass_Radius = 0
Yaw = 0
Latitude = -35.3630204
Longitude = 149.1647351
Altitude = 20.0

Request all parameters

master.mav.command_long_send(
master.target_system,
master.target_component,
mavutil.mavlink.MAV_CMD_NAV_WAYPOINT,
0,
hold, Accept_Radius, Pass_Radius, Yaw, Latitude, Longitude, Altitude
)

but when i try to run this code, I’m getting Unsupported message error on console
eg - Got COMMAND_ACK: NAV_WAYPOINT: UNSUPPORTED

Sending NAV_WAYPOINT on GUIDED mode with COMMAND_LONG is unsupported.
Send a NAV_WAYPOINT command with the mission protocol.
Here is an example:

thank you @Mustafa_Gokce