Menu widget and sending osc

Hello! New to OSC and scripting but looked around here and came up with something that works.But I get (ERROR, MIDI) invalid address (/menu_quantize). The send function works and I can change settings in Cubase, but still wondering why the error shows.
menuwidget values
[
"1/4",
"1/8",
"1/16",
"1/32",
"1/64"
]

script:
if (value == "1/4")
{
send(false,"/control", 14, 77, 127)
}
else if (value =="1/8")
{
send(false, "/control", 14, 78, 127)
}
else if (value =="1/16" )
{
send(false, "/control", 14, 79, 127)
}
else if (value =="1/32")
{
send(false, "/control", 14, 80, 127)
}
else if (value =="1/64")
{
send(false, "/control", 14, 81, 127)
}

Hope someone can point me in the right direction!

Regards Mats

The error you're seing is due to the widget's default message (see General mechanics - Open Stage Control). You can bypass it by enabling the widget's bypass property.

Thank you very much!