# Inconsistent sender\_id between dispatcher and tracker in Custom Actions

**URL:** <https://forum.rasa.com/t/inconsistent-sender-id-between-dispatcher-and-tracker-in-custom-actions/5764>\
**Category:** Rasa Open Source\
**Created:** [March 5, 2019, 9:22pm UTC](https://forum.rasa.com/t/inconsistent-sender-id-between-dispatcher-and-tracker-in-custom-actions/5764 "2019-03-05T21:22:57Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![TomLaMantia](https://avatars.discourse-cdn.com/v4/letter/t/2bfe46/32.png) [@TomLaMantia](https://forum.rasa.com/u/TomLaMantia)\
**Post date:** [March 5, 2019, 9:22pm UTC](https://forum.rasa.com/t/inconsistent-sender-id-between-dispatcher-and-tracker-in-custom-actions/5764/1 "2019-03-05T21:22:58Z")

</div>

I noticed a possible discrepancy between `dispatcher.sender_id` and `tracker.sender_id` in my Rasa custom actions.

I notice that in the `run(dispatcher, tracker, domain)` method of my custom `rasa_core.actions.Action` classes, it is the case that `dispatcher.sender_id==tracker.sender_id`. This is expected.

However, this equality does not appear to hold in the `submit(dispatcher, tracker, domain)` of my `rasa_core.actions.forms.FormAction` classes. Here, `dispatcher.sender_id` is the sender\_id I passed to my `agent.handle_message()` function. However, `tracker.sender_id=="default"`.

Is this behavior intended? Or perhaps it has been fixed in a later version (I am quite behind, rasa\_core==0.10.4). Thank you for your help!

---

<div class="post-metadata">

**Author:** ![Juste](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.rasa.com/juste/32/15_2.png) [@Juste](https://forum.rasa.com/u/Juste)\
**Post date:** [March 11, 2019, 12:28pm UTC](https://forum.rasa.com/t/inconsistent-sender-id-between-dispatcher-and-tracker-in-custom-actions/5764/2 "2019-03-11T12:28:15Z")

</div>

Hey @TomLaMantia. I haven’t seen this behaviour with the later versions of the Rasa Core, but if you upgrade and notice the same behaviour, feel free to raise this once again.

---

<div class="post-metadata">

**Author:** ![TomLaMantia](https://avatars.discourse-cdn.com/v4/letter/t/2bfe46/32.png) [@TomLaMantia](https://forum.rasa.com/u/TomLaMantia)\
**Post date:** [March 11, 2019, 3:23pm UTC](https://forum.rasa.com/t/inconsistent-sender-id-between-dispatcher-and-tracker-in-custom-actions/5764/3 "2019-03-11T15:23:37Z")

</div>

Okay, thanks @Juste
