I’m still having this issue, but do have an update that’s hopefully starting to lead somewhere!
Right after I posted, this forum post was suggested which suggests that the user_jid
value is required when the docs say it’s optional. I’m pretty sure it really is optional cause my local bot is working without it (and having it be required would mess with what I’m planning, please don’t update it!), but I tried sending a value along to see if it would solve the problem.
It didn’t, but I got a new error message at least! It seems like it might have been a red herring, and the real error is this one:
{"code":7004,"message":"No channel or user can be found with the given to_jid.","result":false}
The channel with the to_jid
definitely does exist though. It’s a public channel in my account, and the bot itself got the ID from the API so it should have access to it. It also doesn’t work when I try to send the message to my own Zoom user ID.
I can also verify that my account has all of the chat-related permissions:
And then in the API section: