The error for this line states clearly that it expects a table at 3. argument, but you are passing a vector here (type of vector is “userdata”)
You can simply put your vector inside a table and pass it:
msg.post("/m_char#m_char_script", "set_pos", { position = vmath.vector3(0, 0, 0) } )