# Rasa Rocketchat Webhook Problems

**URL:** <https://forum.rasa.com/t/rasa-rocketchat-webhook-problems/60710>\
**Category:** Rasa Open Source\
**Tags:** testing\
**Created:** [January 8, 2024, 1:27pm UTC](https://forum.rasa.com/t/rasa-rocketchat-webhook-problems/60710 "2024-01-08T13:27:01Z")\
**Posts on this page:** 1\
**Showing post:** 1

<div class="post-metadata">

**Author:** ![madadmin](https://avatars.discourse-cdn.com/v4/letter/m/8baadc/32.png) [@madadmin](https://forum.rasa.com/u/madadmin)\
**Post date:** [January 8, 2024, 1:27pm UTC](https://forum.rasa.com/t/rasa-rocketchat-webhook-problems/60710/1 "2024-01-08T13:27:01Z")

</div>

Hello, I have configured a webhook for Rasa and added the Hook Urls and apikey. I can send from Rasa to Rocketchat, but wehn i use: curl -X POST   
-H “Content-Type: application/json”   
-d ‘{“message”: {“text”: “hello!”, “m”: {“\_id”: “myrocketchatusername”}}, “bot”: {“\_id”: “Rocketchatbotname”}}’   
[http://192.168.151.197:5005/webhooks/rocketchat/webhook](http://192.168.151.197:5005/webhooks/rocketchat/webhook) I get on the other Server a 500 error and on rasa:

Exception occurred while handling uri: ‘[http://192.168.151.197:5005/webhooks/rocketchat/webhook](http://192.168.151.197:5005/webhooks/rocketchat/webhook)’ Traceback (most recent call last): File “handle\_request”, line 83, in handle\_request ) File “/root/venv/lib/python3.8/site-packages/rasa/core/channels/rocketchat.py”, line 167, in webhook await self.send\_message( File “/root/venv/lib/python3.8/site-packages/rasa/core/channels/rocketchat.py”, line 132, in send\_message output\_channel = self.get\_output\_channel() File “/root/venv/lib/python3.8/site-packages/rasa/core/channels/rocketchat.py”, line 176, in get\_output\_channel return RocketChatBot(self.user, self.password, self.server\_url) File “/root/venv/lib/python3.8/site-packages/rasa/core/channels/rocketchat.py”, line 20, in **init** self.rocket = RocketChat(user, password, server\_url=server\_url) File “/root/venv/lib/python3.8/site-packages/rocketchat\_API/APISections/base.py”, line 36, in **init** self.login(user, password) # skipcq: PTC-W1006 File “/root/venv/lib/python3.8/site-packages/rocketchat\_API/APISections/base.py”, line 157, in login login\_request = self.req.post( File “/root/venv/lib/python3.8/site-packages/requests/api.py”, line 115, in post return request(“post”, url, data=data, json=json, \*\*kwargs) File “/root/venv/lib/python3.8/site-packages/requests/api.py”, line 59, in request return session.request(method=method, url=url, \*\*kwargs) File “/root/venv/lib/python3.8/site-packages/requests/sessions.py”, line 589, in request resp = self.send(prep, \*\*send\_kwargs) File “/root/venv/lib/python3.8/site-packages/requests/sessions.py”, line 697, in send adapter = self.get\_adapter(url=request.url) File “/root/venv/lib/python3.8/site-packages/requests/sessions.py”, line 794, in get\_adapter raise InvalidSchema(f"No connection adapters were found for {url!r}") requests.exceptions.InvalidSchema: No connection adapters were found for ‘“[https://MYROCKETCHAT](https://MYROCKETCHAT) INGOINGWEBHOOKURLWITHKEYORSMTHNG”/api/v1/login’

I dont know why it seems to try to add the /api/v1/login - the erro is the same. our Rocketchat doesnt have anything at [myrochetchat-url.net/api/v1/login](http://myrochetchat-url.net/api/v1/login) (in browser opeded:{“status”:“error”,“message”:“API endpoint does not exist”})

What i else can tell that i noted the url from RC states status:okay, but the Rasa one is just a blanc page.

Thank you in advance for any tips!

---

_[View the full topic](https://forum.rasa.com/t/rasa-rocketchat-webhook-problems/60710)._
