Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

forward_messages_with_delay: Task exception was never retrieved #14

Open
ALiwoto opened this issue Oct 20, 2023 · 0 comments
Open

forward_messages_with_delay: Task exception was never retrieved #14

ALiwoto opened this issue Oct 20, 2023 · 0 comments
Assignees
Labels
kind/bug Something isn't working

Comments

@ALiwoto
Copy link
Owner

ALiwoto commented Oct 20, 2023

logs:

base_events.py:1758 ERROR: Task exception was never retrieved
future: <Task finished name='Task-4906693' coro=<WotoClientBase.forward_me
ssages_with_delay() done, defined at /root/woto-scp/scp/core/clients/woto_
base.py:916> exception=MessageIdInvalid('Telegram says: [400 MESSAGE_ID_IN
VALID] - The message id is invalid (caused by "messages.ForwardMessages")'
)>
Traceback (most recent call last):
  File "/root/woto-scp/scp/core/clients/woto_base.py", line 927, in forwar
d_messages_with_delay
    return await self.forward_messages(
  File "/root/woto-scp/scp/core/clients/woto_base.py", line 84, in forward
_messages
    return await super().forward_messages(
  File "/root/woto-scp/scp-venv/lib/python3.10/site-packages/pyrogram/meth
ods/messages/forward_messages.py", line 82, in forward_messages
    r = await self.invoke(
  File "/root/woto-scp/scp/core/clients/woto_base.py", line 710, in invoke
    return await super().invoke(
  File "/root/woto-scp/scp-venv/lib/python3.10/site-packages/pyrogram/meth
ods/advanced/invoke.py", line 79, in invoke
    r = await self.session.invoke(
  File "/root/woto-scp/scp-venv/lib/python3.10/site-packages/pyrogram/sess
ion/session.py", line 361, in invoke
    return await self.send(query, timeout=timeout)
  File "/root/woto-scp/scp-venv/lib/python3.10/site-packages/pyrogram/sess
ion/session.py", line 331, in send
    RPCError.raise_it(result, type(data))
  File "/root/woto-scp/scp-venv/lib/python3.10/site-packages/pyrogram/erro
rs/rpc_error.py", line 91, in raise_it
    raise getattr(
pyrogram.errors.exceptions.bad_request_400.MessageIdInvalid: Telegram says
: [400 MESSAGE_ID_INVALID] - The message id is invalid (caused by "message
s.ForwardMessages")
@ALiwoto ALiwoto self-assigned this Oct 20, 2023
@ALiwoto ALiwoto added the kind/bug Something isn't working label Oct 20, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind/bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant