# RASA throw error when trigger intent, and enabled channel is botframework

**URL:** <https://forum.rasa.com/t/rasa-throw-error-when-trigger-intent-and-enabled-channel-is-botframework/46249>\
**Category:** Rasa Open Source\
**Created:** [July 28, 2021, 9:56am UTC](https://forum.rasa.com/t/rasa-throw-error-when-trigger-intent-and-enabled-channel-is-botframework/46249 "2021-07-28T09:56:36Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![jefftung1991](https://avatars.discourse-cdn.com/v4/letter/j/ebca7d/32.png) [@jefftung1991](https://forum.rasa.com/u/jefftung1991)\
**Post date:** [July 28, 2021, 9:56am UTC](https://forum.rasa.com/t/rasa-throw-error-when-trigger-intent-and-enabled-channel-is-botframework/46249/1 "2021-07-28T09:56:36Z")

</div>

Hi,

I have my chatbot setup properly, I’m already able to chat with the rasa bot from MS Teams, but when i trying to trigger intent via the API, below is the error i received:

 ![image](https://europe1.discourse-cdn.com/flex013/uploads/rasa/original/3X/8/8/889710a0fed82870776ec6381b8ec6fc54cea031.png)

How can I resolve this issue?

Thank you.

---

<div class="post-metadata">

**Author:** ![desmarchris](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.rasa.com/desmarchris/32/12277_2.png) [@desmarchris](https://forum.rasa.com/u/desmarchris)\
**Post date:** [July 29, 2021, 9:42pm UTC](https://forum.rasa.com/t/rasa-throw-error-when-trigger-intent-and-enabled-channel-is-botframework/46249/2 "2021-07-29T21:42:46Z")

</div>

hey @jefftung1991 are you running Rasa on the same machine that you’re trying to trigger the intent call? or where is the intent trigger coming from?

---

<div class="post-metadata">

**Author:** ![jefftung1991](https://avatars.discourse-cdn.com/v4/letter/j/ebca7d/32.png) [@jefftung1991](https://forum.rasa.com/u/jefftung1991)\
**Post date:** [August 10, 2021, 4:07am UTC](https://forum.rasa.com/t/rasa-throw-error-when-trigger-intent-and-enabled-channel-is-botframework/46249/3 "2021-08-10T04:07:12Z")

</div>

I have my rasa hosted in virtual machine, and enabled public access. Normal chat works fine, api trigger externally and internally both not working

---

<div class="post-metadata">

**Author:** ![desmarchris](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.rasa.com/desmarchris/32/12277_2.png) [@desmarchris](https://forum.rasa.com/u/desmarchris)\
**Post date:** [August 12, 2021, 12:54pm UTC](https://forum.rasa.com/t/rasa-throw-error-when-trigger-intent-and-enabled-channel-is-botframework/46249/4 "2021-08-12T12:54:27Z")

</div>

Can you confirm you are [enabling the HTTP API](https://rasa.com/docs/rasa/http-api#enabling-the-http-api) when you run Rasa?

---

<div class="post-metadata">

**Author:** ![jefftung1991](https://avatars.discourse-cdn.com/v4/letter/j/ebca7d/32.png) [@jefftung1991](https://forum.rasa.com/u/jefftung1991)\
**Post date:** [August 13, 2021, 5:02am UTC](https://forum.rasa.com/t/rasa-throw-error-when-trigger-intent-and-enabled-channel-is-botframework/46249/5 "2021-08-13T05:02:36Z")

</div>

Hi @desmarchris, I enabled API, CORS and turned on debug mode as well, i also make use of SSL features from RASA as MS Teams has the requirement of https as endpoint. I just didn’t insert any secret when performing the API trigger intent, will that be the problem?

I don’t see any errors in RASA debug mode.

---

<div class="post-metadata">

**Author:** ![desmarchris](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.rasa.com/desmarchris/32/12277_2.png) [@desmarchris](https://forum.rasa.com/u/desmarchris)\
**Post date:** [August 13, 2021, 1:58pm UTC](https://forum.rasa.com/t/rasa-throw-error-when-trigger-intent-and-enabled-channel-is-botframework/46249/6 "2021-08-13T13:58:55Z")

</div>

by secret do you mean you aren’t passing any [authentication](https://rasa.com/docs/rasa/pages/http-api#section/Authentication)? Yes I would try running with that. And are you running this as a process in your VM or on Docker Compose/K8s?

---

<div class="post-metadata">

**Author:** ![jefftung1991](https://avatars.discourse-cdn.com/v4/letter/j/ebca7d/32.png) [@jefftung1991](https://forum.rasa.com/u/jefftung1991)\
**Post date:** [August 16, 2021, 12:29pm UTC](https://forum.rasa.com/t/rasa-throw-error-when-trigger-intent-and-enabled-channel-is-botframework/46249/7 "2021-08-16T12:29:34Z")

</div>

I hosted RASA on my VM which is publicly accessible. And I just used curl to trigger API to trigger intent, it replied to my curl command with proper json response, but there’s no response in my ms teams at all.

By any chance we can have a call so I can show you the actual scenario?
