# Predicted action\_default\_fallback in failed\_test\_stories.yml

**URL:** <https://forum.rasa.com/t/predicted-action-default-fallback-in-failed-test-stories-yml/52049>\
**Category:** Rasa Open Source\
**Created:** [March 17, 2022, 8:53pm UTC](https://forum.rasa.com/t/predicted-action-default-fallback-in-failed-test-stories-yml/52049 "2022-03-17T20:53:34Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![tomp](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.rasa.com/tomp/32/21142_2.png) [@tomp](https://forum.rasa.com/u/tomp)\
**Post date:** [March 17, 2022, 8:53pm UTC](https://forum.rasa.com/t/predicted-action-default-fallback-in-failed-test-stories-yml/52049/1 "2022-03-17T20:53:34Z")

</div>

I’m probably still too new to Rasa to understand this on my own. Why in `failed_test_stories.yml` do I see Rasa predicting `action_default_fallback`? I don’t explicitly tell Rasa to do `action_listen` anywhere, either, but I’m sure that’s implicitly programmed inside Rasa somewhere. I’m not sure why, because why would Rasa need to listen between when the user makes a request and when the bot correctly responds to that request? And back to my main concern: it looks like my test metrics are lower because it is predicting `action_default_fallback` in the place of listening, which makes even less sense to me. This is happening a lot in other test stories, and I would like to fix it so my test metrics are easier to read.

```auto
- story: do x (./tests/test_stories_x.yml)
  steps:
  - intent: greet
  - action: utter_greet
  - user: |-
      How do I [...x...]?
  - action: action_listen # predicted: action_default_fallback
  - intent: do_x
  - slot_was_set:
    - slot_x: null
  - action: utter_respond_to_x

```

rasa v. 3.0.6

---

<div class="post-metadata">

**Author:** ![tomp](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.rasa.com/tomp/32/21142_2.png) [@tomp](https://forum.rasa.com/u/tomp)\
**Post date:** [March 18, 2022, 4:12pm UTC](https://forum.rasa.com/t/predicted-action-default-fallback-in-failed-test-stories-yml/52049/2 "2022-03-18T16:12:20Z")

</div>

The problem was in my test story. I put a hyphen in front of my `intent` lines:

```auto
- story: do x
  steps:
  - user: |
      Hi.
    intent: greet
  - action: utter_greet
  - user: |
      How do I [...x...]?
  - intent: do_x
  - slot_was_set:
    - slot_x: null
  - action: utter_respond_to_x
  - user: |
      Done
    intent: done
  - action: utter_goodbye

```

Removing the hyphen in front of `intent` fixed this problem. Thanks again to Mohd Shukri Hasan for finding that typo.
