# Incorrect call to action\_session\_start when sending intent / session\_start

**URL:** https://forum.rasa.com/t/incorrect-call-to-action-session-start-when-sending-intent-session-start/46174
**Category:** Rasa Open Source
**Created:** [July 26, 2021, 2:15pm UTC](https://forum.rasa.com/t/incorrect-call-to-action-session-start-when-sending-intent-session-start/46174 "2021-07-26T14:15:05Z")
**Posts on this page:** 3
**Page:** 1

<div class="post-metadata">

### Author: ![LinarKulinar](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.rasa.com/linarkulinar/32/16144_2.png) [@LinarKulinar](https://forum.rasa.com/u/LinarKulinar)
#### Post date: [July 26, 2021, 2:15pm UTC](https://forum.rasa.com/t/incorrect-call-to-action-session-start-when-sending-intent-session-start/46174/1 "2021-07-26T14:15:05Z")

</div>

When the intent _/session\_start_ is called, the default _action\_session\_start_ is called. Then Rasa again calls _action\_session\_start_, which is triggered by the intent _/session\_start_.

We are using a custom action-server written in java.

We are using a custom implementation of _action\_session\_start_. In this action, we get data from _tracker.slots.session\_started\_metadata_. The first time this action is called, the _metadata_ is filled in correctly. When called again, this _session\_started\_metadata_ slot is empty.

Where do we need to get the _metadata_ on the second call?

---

<div class="post-metadata">

### Author: ![Tobias\_Wochinger](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.rasa.com/tobias_wochinger/32/4580_2.png) [@Tobias\_Wochinger](https://forum.rasa.com/u/Tobias_Wochinger)
#### Post date: [August 16, 2021, 11:31am UTC](https://forum.rasa.com/t/incorrect-call-to-action-session-start-when-sending-intent-session-start/46174/2 "2021-08-16T11:31:45Z")

</div>

> Then Race again calls _action\_session\_start_ , which is triggered by the intent _/session\_start_ .

What is `Race` referring to?

> Where do we need to get the metadata on the second call?

is there new metadata for the second call or do you want to get the old metadata value?

---

<div class="post-metadata">

### Author: ![LinarKulinar](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.rasa.com/linarkulinar/32/16144_2.png) [@LinarKulinar](https://forum.rasa.com/u/LinarKulinar)
#### Post date: [November 11, 2021, 1:23pm UTC](https://forum.rasa.com/t/incorrect-call-to-action-session-start-when-sending-intent-session-start/46174/3 "2021-11-11T13:23:12Z")

</div>

> [@Tobias\_Wochinger](#):
>
> What is `Race` referring to?

I apologize for the stupid mistake, I mean _Rasa_, of course. I have corrected the topic body.

> [@Tobias\_Wochinger](#):
>
> is there new metadata for the second call or do you want to get the old metadata value?

I would like to get the old metadata value. In addition, it seems more logical to me that _action\_session\_start_ should not be called twice in this case.
