Search code examples
node.jscrashfetchtelegramtdlib

App crashes with Telegram Api in Node "Too much data to fetch"


here's the problem. I've wrote an app with tlg module. LINK GITHUB

I've developed using Mac Os and everything worked fine but when i've tried to move all the app to a new Centos 8 VM, recompiling TDlib and launcing the app, here's the response after the app crash.

[ 0][t 4][1588032092.051109791][Status.h:191][!Td]  
Unexpexted Status [Error : 0 : Too much data to fetch at 8] in file 
/td/td/telegram/Global.cpp at line 77

This is weird, i've never seen an error like this. Here's the Global.cpp


Solution

  • You probably used your app with a newer TDLib version and then came back to the old version, so the old td can't work with upgraded DB. So just stick with the new version.