rasa: tracker.sender_id always returns `default` in custom actions
Rasa version: 2.1.0
Rasa SDK version: 2.1.1
Python version: 3.7.9
Operating system: Ubuntu
Issue:
In all of my custom actions, tracker.sender_id now always returns default instead of the actual sender id. We are heavily using this sender id as user identifiers in our database which currently fails as a result.
Note that I am using Facebook Messenger and in the Rasa core, the sender_id is correctly set.
Error (including full traceback): No error is thrown
Command or request that led to error:
rasa run actions --action actions --debug
About this issue
- Original URL
- State: closed
- Created 4 years ago
- Comments: 20 (9 by maintainers)
Perfect, will work on it today!
@abhishek-teams . I was facing this issue because of my post request. Instead of sending { “sender”: “user_id”, }
I was sending { “user”: “user_id” }
Not sure if thats what is causing an issue for you as well.
Hello again,
So I had these versions:
Rasa Version : 2.3.4 Rasa SDK Version : 2.3.1 Python Version : 3.7.3
And I upgraded Rasa and now it is working. The version I have now for rasa is version 2.4.0
Thank you
The fix was released released in Rasa Open Source 2.1.1 (cc @nbeuchat )
I try to update rasa 2.1.3 and also my rasa sdk 2.1.2 but still get this bug. This happens in rasa docker hub images also. Did this release? I’m so stuck at here 😦
Please target
2.1.xfor your PR. Then we can ship a patch release asap.Hi @joejuzl thanks for checking! I see where the issue lies now. Happy to provide a fix, looking into this now.