# Replace the tracker API request responses with Method Not Allowed HTTP 405 error

**URL:** <https://forum.rasa.com/t/replace-the-tracker-api-request-responses-with-method-not-allowed-http-405-error/1956>\
**Category:** Rasa Open Source\
**Created:** [October 17, 2018, 7:38am UTC](https://forum.rasa.com/t/replace-the-tracker-api-request-responses-with-method-not-allowed-http-405-error/1956 "2018-10-17T07:38:17Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![fade2black](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.rasa.com/fade2black/32/1922_2.png) [@fade2black](https://forum.rasa.com/u/fade2black)\
**Post date:** [October 17, 2018, 7:38am UTC](https://forum.rasa.com/t/replace-the-tracker-api-request-responses-with-method-not-allowed-http-405-error/1956/1 "2018-10-17T07:38:17Z")

</div>

I run my Rasa core server as

```auto
python -m rasa_core.run --enable_api -d models/dialogue -u models/nlu/default/simplebotnlu --credentials credentials.yml -o out.log

```

It responds to

```auto
curl -XPOST 172.17.0.2:5005/conversations/default/respond -d '{"query":"hello there"}'

```

as `[{"recipient_id":"default","text":"Hello"}]`.

Then I’m trying to replace the tracker by

```auto
curl -XPUT http://172.17.0.2:5005/conversations/default/tracker -d '[{"event": "slot", "name": "email", "value": "my@mail.com"}]'

```

which response with HTTP error 405 (Method Not Allowed). In my `domain.yml` file I have a slot and an entity named as `email`.

Any idea how to resolve it?

I found nothing [here](https://github.com/RasaHQ/rasa_core/blob/549786c000efd76cc3ea6b7bcc68b2c40c840534/rasa_core/server.py) regarding this PUT request. Is this endpoint deprecated? The RASA “documentation” is really terrible.

---

<div class="post-metadata">

**Author:** ![akelad](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.rasa.com/akelad/32/69_2.png) [@akelad](https://forum.rasa.com/u/akelad)\
**Post date:** [October 18, 2018, 1:52pm UTC](https://forum.rasa.com/t/replace-the-tracker-api-request-responses-with-method-not-allowed-http-405-error/1956/2 "2018-10-18T13:52:20Z")

</div>

Please avoid cross posting these issues on the repo and the forum. Also if you have any feedback about our documentation, we’d be happy to hear it

---

<div class="post-metadata">

**Author:** ![Nicanor](https://avatars.discourse-cdn.com/v4/letter/n/ea666f/32.png) [@Nicanor](https://forum.rasa.com/u/Nicanor)\
**Post date:** [October 24, 2019, 8:58pm UTC](https://forum.rasa.com/t/replace-the-tracker-api-request-responses-with-method-not-allowed-http-405-error/1956/3 "2019-10-24T20:58:00Z")

</div>

I have the some problem. I´m connecting Twilio with my rasa bot and said me “POST / 405 Method Not Allowed”

Exception occurred while handling uri: ‘[http://7b95abcd.ngrok.io/](http://7b95abcd.ngrok.io/)’ Traceback (most recent call last): File “/home/ubuntu/.local/lib/python3.6/site-packages/sanic/app.py”, line 893, in handle\_request handler, args, kwargs, uri = self.router.get(request) File “/home/ubuntu/.local/lib/python3.6/site-packages/sanic/router.py”, line 407, in get return self.\_get(request.path, request.method, “”) File “/home/ubuntu/.local/lib/python3.6/site-packages/sanic/router.py”, line 446, in \_get raise method\_not\_supported sanic.exceptions.MethodNotSupported: Method POST not allowed for URL /

---

<div class="post-metadata">

**Author:** ![babasahebpinjar](https://avatars.discourse-cdn.com/v4/letter/b/dbc845/32.png) [@babasahebpinjar](https://forum.rasa.com/u/babasahebpinjar)\
**Post date:** [December 17, 2019, 5:28pm UTC](https://forum.rasa.com/t/replace-the-tracker-api-request-responses-with-method-not-allowed-http-405-error/1956/4 "2019-12-17T17:28:08Z")

</div>

Hi, I am also facing the same problem, is there any solution for this?
