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

I run my Rasa core server as

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

It responds to

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

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 regarding this PUT request. Is this endpoint deprecated? The RASA “documentation” is really terrible.

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

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/’ 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 /

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