# I want to trigger an intent by http api, but the response is 404, how can i solve this issue?

**URL:** <https://forum.rasa.com/t/i-want-to-trigger-an-intent-by-http-api-but-the-response-is-404-how-can-i-solve-this-issue/39508>\
**Category:** Rasa Open Source\
**Created:** [January 27, 2021, 5:56am UTC](https://forum.rasa.com/t/i-want-to-trigger-an-intent-by-http-api-but-the-response-is-404-how-can-i-solve-this-issue/39508 "2021-01-27T05:56:10Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![bm71](https://avatars.discourse-cdn.com/v4/letter/b/57b2e6/32.png) [@bm71](https://forum.rasa.com/u/bm71)\
**Post date:** [January 27, 2021, 5:56am UTC](https://forum.rasa.com/t/i-want-to-trigger-an-intent-by-http-api-but-the-response-is-404-how-can-i-solve-this-issue/39508/1 "2021-01-27T05:56:10Z")

</div>

my request is like this: [http://localhost:5005/conversations/707976/trigger\_intent?output\_channel=latest](http://localhost:5005/conversations/707976/trigger_intent?output_channel=latest) with json data: {“name”: “intent\_crypto-withdrawal\_how\_to\_add\_address\_to\_whitelist”}

but the response is 404

 ![截屏2021-01-27 下午1.48.33](https://europe1.discourse-cdn.com/flex013/uploads/rasa/original/2X/3/35b957d2e2fdfea024724048d6298094d2b84129.png)

---

<div class="post-metadata">

**Author:** ![kalkbrennerei](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.rasa.com/kalkbrennerei/32/11609_2.png) [@kalkbrennerei](https://forum.rasa.com/u/kalkbrennerei)\
**Post date:** [January 28, 2021, 9:06am UTC](https://forum.rasa.com/t/i-want-to-trigger-an-intent-by-http-api-but-the-response-is-404-how-can-i-solve-this-issue/39508/2 "2021-01-28T09:06:21Z")

</div>

Hi @bm71!! Did you make sure that the intent `intent_crypto-withdrawal_how_to_add_address_to_whitelist` is part of your domain?

---

<div class="post-metadata">

**Author:** ![bm71](https://avatars.discourse-cdn.com/v4/letter/b/57b2e6/32.png) [@bm71](https://forum.rasa.com/u/bm71)\
**Post date:** [January 28, 2021, 9:11am UTC](https://forum.rasa.com/t/i-want-to-trigger-an-intent-by-http-api-but-the-response-is-404-how-can-i-solve-this-issue/39508/3 "2021-01-28T09:11:03Z")

</div>

yes,of course, it is part of my domain, and i can trigger this intent by text in rest channel

---

<div class="post-metadata">

**Author:** ![bm71](https://avatars.discourse-cdn.com/v4/letter/b/57b2e6/32.png) [@bm71](https://forum.rasa.com/u/bm71)\
**Post date:** [February 2, 2021, 7:58am UTC](https://forum.rasa.com/t/i-want-to-trigger-an-intent-by-http-api-but-the-response-is-404-how-can-i-solve-this-issue/39508/4 "2021-02-02T07:58:19Z")

</div>

hi， do you have any other idea about this issue? thank you!

---

<div class="post-metadata">

**Author:** ![MarthaDs](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.rasa.com/marthads/32/13668_2.png) [@MarthaDs](https://forum.rasa.com/u/MarthaDs)\
**Post date:** [March 2, 2021, 7:10pm UTC](https://forum.rasa.com/t/i-want-to-trigger-an-intent-by-http-api-but-the-response-is-404-how-can-i-solve-this-issue/39508/5 "2021-03-02T19:10:40Z")

</div>

Did you find any solutions? I’m having the same problem here.

---

<div class="post-metadata">

**Author:** ![bm71](https://avatars.discourse-cdn.com/v4/letter/b/57b2e6/32.png) [@bm71](https://forum.rasa.com/u/bm71)\
**Post date:** [March 8, 2021, 2:16am UTC](https://forum.rasa.com/t/i-want-to-trigger-an-intent-by-http-api-but-the-response-is-404-how-can-i-solve-this-issue/39508/6 "2021-03-08T02:16:35Z")

</div>

No, this issue still exists, did you have any methods?

---

<div class="post-metadata">

**Author:** ![MarthaDs](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.rasa.com/marthads/32/13668_2.png) [@MarthaDs](https://forum.rasa.com/u/MarthaDs)\
**Post date:** [March 8, 2021, 6:41pm UTC](https://forum.rasa.com/t/i-want-to-trigger-an-intent-by-http-api-but-the-response-is-404-how-can-i-solve-this-issue/39508/7 "2021-03-08T18:41:50Z")

</div>

My mistake was to send a request to the wrong URL. (silly me) But my advice is to check the list of paths on the terminal when you run rasa on API mode

---

<div class="post-metadata">

**Author:** ![bm71](https://avatars.discourse-cdn.com/v4/letter/b/57b2e6/32.png) [@bm71](https://forum.rasa.com/u/bm71)\
**Post date:** [March 16, 2021, 3:52am UTC](https://forum.rasa.com/t/i-want-to-trigger-an-intent-by-http-api-but-the-response-is-404-how-can-i-solve-this-issue/39508/8 "2021-03-16T03:52:18Z")

</div>

thanks， my mistake was that i did not enable the HTTP API, when i add the `--enable-api` parameter to my run command, it is running well
