# Graph component for Node error in Rasa 3.x version

**URL:** <https://forum.rasa.com/t/graph-component-for-node-error-in-rasa-3-x-version/51606>\
**Category:** Rasa Open Source\
**Created:** [February 27, 2022, 5:24pm UTC](https://forum.rasa.com/t/graph-component-for-node-error-in-rasa-3-x-version/51606 "2022-02-27T17:24:05Z")\
**Posts on this page:** 12\
**Page:** 1

<div class="post-metadata">

**Author:** ![shaikat\_chakraborty](https://avatars.discourse-cdn.com/v4/letter/s/ea5d25/32.png) [@shaikat\_chakraborty](https://forum.rasa.com/u/shaikat_chakraborty)\
**Post date:** [February 27, 2022, 5:24pm UTC](https://forum.rasa.com/t/graph-component-for-node-error-in-rasa-3-x-version/51606/1 "2022-02-27T17:24:05Z")

</div>

issue : Error running graph component for node train\_UnexpecTEDIntentPolicy2.

 ![rasa3](https://europe1.discourse-cdn.com/flex013/uploads/rasa/original/3X/c/8/c8fa7c95b4e36d7ea1e5ac2e6d6d70bd4b303636.png)

Hi, The rasa version i am using is

```auto
Rasa Version : 3.0.8
Minimum Compatible Version: 3.0.0
Rasa SDK Version : 3.0.4
Rasa X Version : None
Python Version : 3.8.10
Operating System : Windows-10-10.0.19042-SP0

```

As i am new to rasa 3.x version working with graph component is something new to me . The nlu , domain and stories contain the normal data of some intents and their respective info. (As the structure of rasa 2.x and 3.x are similar in major terms ). I am just trying to train the data using rasa train command and end up with this error . The code works with rasa 2.x but in 3.x version throws this issue.

---

<div class="post-metadata">

**Author:** ![ChrisRahme](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.rasa.com/chrisrahme/32/15572_2.png) [@ChrisRahme](https://forum.rasa.com/u/ChrisRahme)\
**Post date:** [February 27, 2022, 5:24pm UTC](https://forum.rasa.com/t/graph-component-for-node-error-in-rasa-3-x-version/51606/2 "2022-02-27T17:24:46Z")

</div>

Welcome to the forum 🙂

Please read [How to ask a great question](http://forum.rasa.com/t/how-to-ask-a-great-question/15009) and try to ask your question again.

Help us help you. 🙂

---

<div class="post-metadata">

**Author:** ![nik202](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.rasa.com/nik202/32/16098_2.png) [@nik202](https://forum.rasa.com/u/nik202)\
**Post date:** [February 27, 2022, 8:11pm UTC](https://forum.rasa.com/t/graph-component-for-node-error-in-rasa-3-x-version/51606/3 "2022-02-27T20:11:35Z")

</div>

@shaikat_chakraborty can you share more information such as the rasa version and full error traceback? and please read the Chris mentioned link, it helps us a lot so that we can help you faster. Thanks.

---

<div class="post-metadata">

**Author:** ![shaikat\_chakraborty](https://avatars.discourse-cdn.com/v4/letter/s/ea5d25/32.png) [@shaikat\_chakraborty](https://forum.rasa.com/u/shaikat_chakraborty)\
**Post date:** [February 28, 2022, 8:30am UTC](https://forum.rasa.com/t/graph-component-for-node-error-in-rasa-3-x-version/51606/4 "2022-02-28T08:30:04Z")

</div>

@nik202 Hi Updated the issue . could you please check .

---

<div class="post-metadata">

**Author:** ![nik202](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.rasa.com/nik202/32/16098_2.png) [@nik202](https://forum.rasa.com/u/nik202)\
**Post date:** [February 28, 2022, 10:44am UTC](https://forum.rasa.com/t/graph-component-for-node-error-in-rasa-3-x-version/51606/5 "2022-02-28T10:44:56Z")

</div>

@shaikat_chakraborty can you commented

` - name: UnexpecTEDIntentPolicy`

and re-train the model?

---

<div class="post-metadata">

**Author:** ![anshu03654](https://avatars.discourse-cdn.com/v4/letter/a/e19b73/32.png) [@anshu03654](https://forum.rasa.com/u/anshu03654)\
**Post date:** [May 2, 2022, 10:21am UTC](https://forum.rasa.com/t/graph-component-for-node-error-in-rasa-3-x-version/51606/6 "2022-05-02T10:21:00Z")

</div>

@shaikat_chakraborty Is your issue resolved as I am having the same issue?

---

<div class="post-metadata">

**Author:** ![Nal99](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.rasa.com/nal99/32/20469_2.png) [@Nal99](https://forum.rasa.com/u/Nal99)\
**Post date:** [May 3, 2022, 8:25am UTC](https://forum.rasa.com/t/graph-component-for-node-error-in-rasa-3-x-version/51606/7 "2022-05-03T08:25:30Z")

</div>

Hello @anshu03654 I had the same issue and commenting:

- name: UnexpecTEDIntentPolicy

worked for me

---

<div class="post-metadata">

**Author:** ![Andy626-Worlder](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.rasa.com/andy626-worlder/32/21564_2.png) [@Andy626-Worlder](https://forum.rasa.com/u/Andy626-Worlder)\
**Post date:** [October 2, 2022, 7:04am UTC](https://forum.rasa.com/t/graph-component-for-node-error-in-rasa-3-x-version/51606/8 "2022-10-02T07:04:01Z")

</div>

As I commented the UnexpecTEDIntentPolicy, the ‘rasa train’ requested me to uncomment ‘RulePolicy’, and when I did that, it still shows the above problem.

---

<div class="post-metadata">

**Author:** ![shreyashgupta68](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.rasa.com/shreyashgupta68/32/21952_2.png) [@shreyashgupta68](https://forum.rasa.com/u/shreyashgupta68)\
**Post date:** [November 16, 2022, 4:57pm UTC](https://forum.rasa.com/t/graph-component-for-node-error-in-rasa-3-x-version/51606/9 "2022-11-16T16:57:54Z")

</div>

Hi guys I have the same issue.

---

<div class="post-metadata">

**Author:** ![bralexander](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.rasa.com/bralexander/32/22793_2.png) [@bralexander](https://forum.rasa.com/u/bralexander)\
**Post date:** [April 18, 2023, 4:02pm UTC](https://forum.rasa.com/t/graph-component-for-node-error-in-rasa-3-x-version/51606/10 "2023-04-18T16:02:57Z")

</div>

For me when I scrolled up it said “the below error is due to the above exception” referring to the UnexpecTED error, right above this statement was the real error which for me was a miss match in spelling between my domain and nlu

---

<div class="post-metadata">

**Author:** ![Sammy887](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.rasa.com/sammy887/32/23975_2.png) [@Sammy887](https://forum.rasa.com/u/Sammy887)\
**Post date:** [March 12, 2024, 1:22am UTC](https://forum.rasa.com/t/graph-component-for-node-error-in-rasa-3-x-version/51606/11 "2024-03-12T01:22:11Z")

</div>

I have the same problem, I solved for a while when I changed these two numbers

# max\_history: 5

# epochs: 100

later again this problem is appearing

rasa.engine.exceptions.GraphComponentException: Error running graph component for node train\_UnexpecTEDIntentPolicy2.

---

<div class="post-metadata">

**Author:** ![boithi](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.rasa.com/boithi/32/23859_2.png) [@boithi](https://forum.rasa.com/u/boithi)\
**Post date:** [April 24, 2024, 2:10pm UTC](https://forum.rasa.com/t/graph-component-for-node-error-in-rasa-3-x-version/51606/12 "2024-04-24T14:10:28Z")

</div>

Hello @Sammy887

**remove the cache inside .rasa folder to fix this issue**
