Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

CONNECTION_SYSTEM_LANG_CODE_EMPTY #940

Closed
Sarsenov opened this issue Apr 22, 2021 · 1 comment
Closed

CONNECTION_SYSTEM_LANG_CODE_EMPTY #940

Sarsenov opened this issue Apr 22, 2021 · 1 comment

Comments

@Sarsenov
Copy link

While connecting to Madeline, appears this error. How Can I fix ?

CONNECTION_SYSTEM_LANG_CODE_EMPTY {"exception":"[object] (danog\MadelineProto\RPCErrorException(code: 400): CONNECTION_SYSTEM_LANG_CODE_EMPTY at phar:///madeline-72.phar/vendor/danog/madelineproto/src/danog/MadelineProto/MTProtoSession/ResponseHandler.php:405)
[stacktrace]
#0 phar:///madeline-72.phar/vendor/danog/madelineproto/src/danog/MadelineProto/MTProtoSession/ResponseHandler.php(185): danog\MadelineProto\Connection->handleRpcError(Object(danog\MadelineProto\MTProto\OutgoingMessage), Array)
#1 phar:///madeline-72.phar/vendor/danog/madelineproto/src/danog/MadelineProto/MTProtoSession/ResponseHandler.php(67): danog\MadelineProto\Connection->handleResponse(Object(danog\MadelineProto\MTProto\IncomingMessage))
#2 phar:///madeline-72.phar/vendor/amphp/amp/lib/Loop/Driver.php(102): danog\MadelineProto\Connection->handleMessages('at', NULL)
#3 phar:///madeline-72.phar/vendor/amphp/amp/lib/Loop/Driver.php(61): Amp\Loop\Driver->tick()

@danog
Copy link
Owner

danog commented Dec 17, 2021

Make sure you specify a valid language code in the settings: https://docs.madelineproto.xyz/PHP/danog/MadelineProto/Settings/AppInfo.html

@danog danog closed this as completed Dec 17, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants