Rasa X - Metadata not available in Trackerstore


I have a question about why my metadata is not available in my trackerstore when I set it using a POST request to my Rest API? The other data is available but the metadata is an empty dictionary.

My code looks like this:

import requests

def rasa_api_call(sender, message, metadata):
    r = requests.post('http://<IP>:<PORT>/webhooks/custom/webhook', json={"sender": sender, "message": message,
                                                                       "metadata": metadata})
    return r.json()

print(rasa_api_call("test_user", "test_message", {"test_metadata": "test_metadata"}))

EDIT: I checked and none of the variables are actually stored in the TrackerStore.

Ty in advance :slight_smile:

Can you show the code where your custom input channel is setting the metadata on the UserMessage object?