tdlib / td

Cross-platform library for building Telegram clients
https://core.telegram.org/tdlib
Boost Software License 1.0
7.11k stars 1.44k forks source link

Additional error information #2265

Closed rr8733380 closed 1 year ago

rr8733380 commented 1 year ago

Do you have a link where i can read about the errors? For example, if the user entered the wrong code during authorization, an error occurs: code: 400, message: PHONE_CODE_INVALID

Is there somewhere i can read about other errors with unsuccessful code entry, as well as for other functions?

levlam commented 1 year ago

You can search for something like "PHONE_CODE_INVALID" site:core.telegram.org for specific error. Errors such as "PHONE_CODE_INVALID", which are supposed to be handled by apps are very rare, but currently there is no complete documentation even for such errors.