npx tgsession unable to generate session string
See original GitHub issueRPCError: 406: UPDATE_APP_TO_LOGIN (caused by auth.SendCode)
at Object.RPCMessageToError (/home/abkader/.npm/_npx/81089/lib/node_modules/tgsession/node_modules/telegram/errors/index.js:24:12)
at MTProtoSender._handleRPCResult (/home/abkader/.npm/_npx/81089/lib/node_modules/tgsession/node_modules/telegram/network/MTProtoSender.js:481:36)
at MTProtoSender._processMessage (/home/abkader/.npm/_npx/81089/lib/node_modules/tgsession/node_modules/telegram/network/MTProtoSender.js:406:15)
at processTicksAndRejections (internal/process/task_queues.js:95:5)
at async MTProtoSender._recvLoop (/home/abkader/.npm/_npx/81089/lib/node_modules/tgsession/node_modules/telegram/network/MTProtoSender.js:382:17) {
code: 406,
errorMessage: 'UPDATE_APP_TO_LOGIN'
Issue Analytics
- State:
- Created 2 years ago
- Comments:6 (4 by maintainers)
Top Results From Across the Web
Gowtham2003/tgsession: Simple Telethon and GramJS string ...
Simple Telethon and GramJS string session generator written in GramJS - GitHub - Gowtham2003/tgsession: Simple Telethon and GramJS string session generator ...
Read more >tgsession - npm
Install · Repository · Homepage · Weekly Downloads · Version · License · Unpacked Size · Total Files.
Read more >Generate Telegram String Session - Replit
Any Repl for making New TG Session? I guess this is the old one.
Read more >How to find out session name of telegram app? - Stack Overflow
session file will be created in the working directory. The file name of the session file to be used if a string is...
Read more >Telegram Session String Genera - Apps on Google Play
If you are using Pyrogram it will generate string session for Pyrogram. If you are using Telethon it will generate for that.
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
I have update the packages and published the changes ,now it should work
You may close the issue
I’ll update and publish soon