tdlib / td

Cross-platform library for building Telegram clients

Home Page:https://core.telegram.org/tdlib

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

"Request is empty" Error When running the Java TDLib Application

patzu opened this issue · comments

I have updated the TDLib to its latest version and I am trying to run the default java example for TDLib, but getting bellow message:

Receive an error:
Error {
  code = 400
  message = "Request is empty"
}

I've pushed a likely fix to master.

I've updated and rebuilt with the latest changes from master, but I'm still encountering the same error:

Error

{
 code = 400, 
 message = "Request is empty" 
}

The build process takes a significant amount of time, and seeing the error persist after all that effort is quite frustrating. Could you please verify if the changes were intended to address this issue? It would be helpful to confirm that the fix works before I attempt another lengthy build, as I have been trying to resolve this error for several days.

Could you set log verbosity level to 10 in the line
Client.execute(new TdApi.SetLogVerbosityLevel(0));
and send the file tdlib.log created when the example is launched to https://t.me/tdlib_bot?

I've set the log verbosity level to 10 as suggested and have run the example. The tdlib.log file has been created and sent to the specified Telegram bot at https://t.me/tdlib_bot. Please let me know if there's anything else I can do to help resolve this issue.

You use a year old TDLib version, not the latest one. You can see the exact version and commit number in the TDLib log.