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
Some messages published on Telegram face this issue causing them to not publish
Traceback (most recent call last):
File "/publisher/pnba.py", line 136, in send_message
asyncio.run(client.message(recipient=recipient, text=message))
File "/usr/local/lib/python3.9/asyncio/runners.py", line 44, in run
return loop.run_until_complete(main)
File "/usr/local/lib/python3.9/asyncio/base_events.py", line 647, in run_until_complete
return future.result()
File "/publisher/telegram_client.py", line 341, in message
raise error
File "/publisher/telegram_client.py", line 335, in message
await client.send_message(recipient, text)
File "/usr/local/lib/python3.9/site-packages/telethon/client/messages.py", line 840, in send_message
entity = await self.get_input_entity(entity)
File "/usr/local/lib/python3.9/site-packages/telethon/client/users.py", line 440, in get_input_entity
await self._get_entity_from_string(peer))
File "/usr/local/lib/python3.9/site-packages/telethon/client/users.py", line 532, in _get_entity_from_string
for user in (await self(
File "/usr/local/lib/python3.9/site-packages/telethon/client/users.py", line 30, in __call__
return await self._call(self._sender, request, ordered=ordered)
File "/usr/local/lib/python3.9/site-packages/telethon/client/users.py", line 87, in _call
result = await future
telethon.errors.rpcerrorlist.AuthKeyUnregisteredError: The key is not registered in the system (caused by GetContactsRequest)
2024-11-04 11:43:20,725 - grpc_publisher_service - ERROR - bad argument type for built-in operation
Traceback (most recent call last):
File "/publisher/grpc_publisher_service.py", line 677, in PublishContent
return response(
TypeError: bad argument type for built-in operation```
The text was updated successfully, but these errors were encountered:
Some messages published on Telegram face this issue causing them to not publish
The text was updated successfully, but these errors were encountered: