Publishing to wordpress does't work

Things I have tried

www.mysite.com/xmlrpc.php works
and settings for wordpress plugin in obsidian are filled in.
but, when I open a new file in obsidian and produce the content, and ctrl + P and search plugin “WordPress: Publish current document with default options”
and then, in wordpress login interface, USE NAME and Password are correctly filled in.
BUT when I click the Login button, it tells me:
TypeError: Cannot read properties of undefined
(reading 'toString)

PLS help me, what shall I do to check what’s the problem.

What I’m trying to do

If you don’t get an answer here, try posting an issue to the plugin’s GitHub page.

ok,thanks for your help.
I turned to use python to do it.