tdl icon indicating copy to clipboard operation
tdl copied to clipboard

[BUG] rpcDoRequest: rpc error code 400: DC_ID_INVALID

Open SoapDev2018 opened this issue 3 years ago • 3 comments

Describe the bug Downloading a file from a protected chat, via a DC1 account results in this issue.

To Reproduce Join any protected DC5/DC2 chat with DC1 account. Try to download any file with tdl dl -u "link" -n foobar

Expected behavior File starts downloading.

Screenshots image

Version:

Version: 0.7.0
Commit: f364ee5
Date: 2023-01-31T12:27:10Z

go1.18.10 windows/amd64

Additional context Debug Logs: https://paste.sh/UCjOU7Gx#rLuARax_Ur2Z2ZJTl_C1RXw2

SoapDev2018 avatar Feb 02 '23 20:02 SoapDev2018

Yes, this is the same issue as #93. But the upstream library does not expose the CDN download interface to the public, so this will require me to go to the upstream library and make some contributions before fixing the tdl.

iyear avatar Feb 03 '23 06:02 iyear

Click Allow in Warning from Telegram Channel Chat

arisuryaputra avatar Feb 03 '23 08:02 arisuryaputra

For the 1st time telegram asked data export request and after allowing the tdl worked fine and started to download. But the next day when I work with tdl neither it asks warning in telegram nor the file could be downloaded. It gives me the above error only. No idea what is the actual issue and how to fix it. @iyear @SoapDev2018

PkParadox88 avatar Mar 23 '23 02:03 PkParadox88