Issue with triggering intent by sending post request

I followed Reaching out to user - Trigger an intent and tried to send a request to the rasa server to trigger intent ask_for_update on behalf of conversation_id = user1 but it did not send back the status code until I manually type a random message.

Post request:

curl -H “Content-Type: application/json” -X POST
-d ‘{“name”: “ask_for_update”}’
http://localhost:5005/conversations/user1/trigger_intent?output_channel=latest

Result until I type a random message as user1:

{“description”:“Not Found”,“status”:404,“message”:“Requested URL /conversations/user1/trigger_intent not found”}

For some context, I am trying to write a chatbot that automatically send updates of an external API. When the API’s content changes, it will send to everyone that has registered (I save the conversation_ids locally).

Am I missing something?

Anyone has the same issue?

1 Like

I’m having the same issue. Did you resolve it?

run ras as this : rasa run --credentials credentials.yml --endpoints endpoints.yml --cors “*” --enable-api