Followed the chat bot guide, " {“message”:“Required param is null or missing”,“code”:7001}" returned when send message to a channel.The request body is below:
{
“robot_jid”:“psjmXXXXXXXiq3w@xmpp.zoom.us”, ---- the robot id of the market app
“to_jid”:“7f9cc71XXXXXXX267007a73@conference.xmpp.zoom.us”, — a group jid of [list channels] command response
“account_jid”:“XMdUXXXXXXXXXvp2Li8Nw5yw”, — a user id of [list users] command respose “content”:{
“head”:{
“text”:“main title”,
“style”:{
“color”:"#000",
“bold”:true
},
“subHead”:{
“text”:“system message”
}
},
“body”:[{
“type”:“message”,
“text”:“Message body”
}]
}
}
Need help…
Further question is [Why the chat channels can be listed with api , but can’t be created] ?
But after using “account_id” instead of “account_jid”, it still not working. " The user does not have authorization, the application cannot send the message" returned when using development client id&securet , and " token do not match robotJid, the robotJid :XXXXXXXX" returned when using production client id&securet.
Need your help.
ps: I didn’t summited my app in the market yet, the submit proccess stopped in the last step.
It appears to be an error on our end, we did not include the redirect url within the sendbotmessage.js file. We have updated it, so now after you go to the redirect url your bot message should work.
Could you send us your API request for the chat bot to developersupport@zoom.us along with your accountID, token info etc… so that we can take a closer look?
I ran into the exact same two issues… first the account_jid/account_id, and now stuck on “The user does not have authorization, the application cannot send the message”
When you’re generating a token are you using the test url or the publishable url? Also be sure to your BotJID matches that is in your app matches to what is in your code.