Skip to content
This repository has been archived by the owner on Oct 24, 2018. It is now read-only.

Request for profile photos has already been sent #59

Open
turt2live opened this issue Mar 29, 2018 · 0 comments
Open

Request for profile photos has already been sent #59

turt2live opened this issue Mar 29, 2018 · 0 comments

Comments

@turt2live
Copy link

ERROR:aiotg:Bad Request: request for new profile photos has already been sent
ERROR:asyncio:Task exception was never retrieved
future: <Task finished coro=<aiotg_message() done, defined at /home/matrix/telematrix/telematrix/__init__.py:594> exception=RuntimeError('Bad Request: request for new profile photos has already been sent',)>
Traceback (most recent call last):
  File "/usr/lib/python3.5/asyncio/tasks.py", line 239, in _step
    result = coro.send(None)
  File "/home/matrix/telematrix/telematrix/__init__.py", line 603, in aiotg_message
    await update_matrix_displayname_avatar(chat.sender);
  File "/home/matrix/telematrix/telematrix/__init__.py", line 463, in update_matrix_displayname_avatar
    profile_photos = await TG_BOT.get_user_profile_photos(tg_user['id'])
  File "/home/matrix/telematrix/venv/lib/python3.5/site-packages/aiotg/bot.py", line 221, in api_call
    raise RuntimeError(err_msg)
RuntimeError: Bad Request: request for new profile photos has already been sent

Doesn't seem to be broken though, but is quite common.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant