# Chatbot POST 400 response

**URL:** <https://devforum.zoom.us/t/chatbot-post-400-response/82065>\
**Category:** API and Webhooks\
**Created:** [January 25, 2023, 1:29am UTC](https://devforum.zoom.us/t/chatbot-post-400-response/82065 "2023-01-25T01:29:12Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![Alexandra](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/alexandra/32/39489_2.png) [@Alexandra](https://devforum.zoom.us/u/Alexandra)\
**Post date:** [January 25, 2023, 1:56am UTC](https://devforum.zoom.us/t/chatbot-post-400-response/82065/2 "2023-01-25T01:56:22Z")

</div>

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](https://devforum.zoom.us/t/chatbot-im-chat-messages-error/81950) 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:

 ![Screenshot 2023-01-24 at 8.53.49 PM](https://us1.discourse-cdn.com/flex016/uploads/zoomdeveloper/original/3X/b/0/b0272a2eadfc360ef91e0cdada54919e2bad127c.png)

And then in the API section:

 ![Screenshot 2023-01-24 at 8.54.03 PM](https://us1.discourse-cdn.com/flex016/uploads/zoomdeveloper/original/3X/6/5/65e6abae47b76b64092f01fb1460d3614371efe5.png)

---

_[View the full topic](https://devforum.zoom.us/t/chatbot-post-400-response/82065)._
