You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Apr 15, 2026. It is now read-only.
Describe the bug
When trying to use set_account_data and get_account_data we encountered the following error:
/venv/lib/python3.9/site-packages/niobot/client.py:1479: RuntimeWarning: coroutine 'AsyncClient.send' was never awaited
async with self.send(method, path, data, {"Content-Type": "application/json"}) as response:
RuntimeWarning: Enable tracemalloc to get the object allocation traceback
ERROR:bot:Command "hello" error: __aenter__
Additionally it seems that both get_account_data and set_account_data do not pass the necessary authorization headers to the underlying (matrix-nio) send function.
Finally set_account_data seems to expect a json object rather than the dict as defined in the documentation:
Describe the bug
When trying to use set_account_data and get_account_data we encountered the following error:
Additionally it seems that both get_account_data and set_account_data do not pass the necessary authorization headers to the underlying (matrix-nio) send function.
Finally set_account_data seems to expect a json object rather than the dict as defined in the documentation:
To Reproduce