When I test the story the first time, it is working, but when I test the same story the next time, it is not working

I have created stories in the rasa framework. But when I train my rasa and test my stories the first time, it works. But when I test the same story next time, it is not working. In short, after the training, the first-time story is working, but when I ask the same question next time, it is not working. Means it does not give any response. How to fix this issue.

Below is my story data.

Below is my stories.yaml version: “3.1” stories:

  • story: login_failure steps:
    • intent: login_failure_error
    • action: utter_login_failure_error
    • intent: unable_fix
    • action: utter_unable_fix

Below is my domain.yaml version: “3.1” actions:

  • utter_login_failure_error
  • utter_unable_fix

intents:

  • login_failure_error
  • unable_fix

responses: utter_login_failure_error:

  • text: ‘

    You can resolve the login failure error by the following the below steps:


    - Check the component wise log files.
    - If login is failing, you should check the ForgeRock login for the same user’ utter_unable_fix:
  • text: ‘

    Please reach out to the support team.

Below is my nlu.yaml: version: “3.1” nlu:

  • intent: login_failure_error examples: |
    • “How to resolve the Login failure error?”
    • “Login failure error resolution”
  • intent: unable_fix examples: |
    • “I am not able to resolve the issue”
    • “resolution is not working”
    • “I am not able to fix the issue”
    • “Issue is still there”
    • “Is there any other solution for this?”
    • “It is not getting fixed”