# Rasa Widget: webhook blocked

**URL:** <https://forum.rasa.com/t/rasa-widget-webhook-blocked/41190>\
**Category:** Rasa Open Source\
**Created:** [March 12, 2021, 10:08am UTC](https://forum.rasa.com/t/rasa-widget-webhook-blocked/41190 "2021-03-12T10:08:42Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![arsalen\_gharbi](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.rasa.com/arsalen_gharbi/32/13680_2.png) [@arsalen\_gharbi](https://forum.rasa.com/u/arsalen_gharbi)\
**Post date:** [March 12, 2021, 10:08am UTC](https://forum.rasa.com/t/rasa-widget-webhook-blocked/41190/1 "2021-03-12T10:08:42Z")

</div>

hey, i build a virtual assistant and i’m using rasa widget to connect with a company’s platform, month earlier everything was fine until we start working on new features. i’m using a custom channel myio , no longer rest so i can exchange payloads .Now whenever i try to send message to the widget this shows up:

`Access to fetch at 'http://localhost:5005/webhooks/myio/webhook' from origin 'http://localhost:8080' has been blocked by CORS policy: Response to preflight request doesn't pass access control check: It does not have HTTP ok status.`

and

`POST http://localhost:5005/webhooks/myio/webhook net::ERR_FAILED`

eventhough i used --enable-api --cors “\*” tag when i run rasa .

i tried every solution mentioned in other rasa forum posts about this issue and nothing changed

---

<div class="post-metadata">

**Author:** ![mjaycub](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.rasa.com/mjaycub/32/6341_2.png) [@mjaycub](https://forum.rasa.com/u/mjaycub)\
**Post date:** [March 17, 2021, 3:19pm UTC](https://forum.rasa.com/t/rasa-widget-webhook-blocked/41190/2 "2021-03-17T15:19:54Z")

</div>

Hey @arsalen_gharbi,

Can you try using the `--cors ‘*’ ` flag without the `--enable-api` flag and let me know what the result it? I’m seeing that another user had success with this approach: [RASA Core: --cors parameter does not apply to socket.io - #12 by Serge](http://forum.rasa.com/t/rasa-core-cors-parameter-does-not-apply-to-socket-io/3948/12)

---

<div class="post-metadata">

**Author:** ![arsalen\_gharbi](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.rasa.com/arsalen_gharbi/32/13680_2.png) [@arsalen\_gharbi](https://forum.rasa.com/u/arsalen_gharbi)\
**Post date:** [April 1, 2021, 3:10pm UTC](https://forum.rasa.com/t/rasa-widget-webhook-blocked/41190/3 "2021-04-01T15:10:41Z")

</div>

hey @mjaycub , i already used --core when the problem appeared , i found the source , it was from my custom channel, now it work fine
