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

RPCError: 400: USERNAME_INVALID (caused by contacts.ResolveUsername) #748

Open
tocha688 opened this issue Nov 21, 2024 · 1 comment
Open

Comments

@tocha688
Copy link

C:\Codes\tdl-test\node_modules\.pnpm\[email protected]\node_modules\telegram\errors\index.js:28
    return new RPCBaseErrors_1.RPCError(rpcError.errorMessage, request, rpcError.errorCode);
           ^

RPCError: 400: USERNAME_INVALID (caused by contacts.ResolveUsername)
    at RPCMessageToError (C:\Codes\tdl-test\node_modules\.pnpm\[email protected]\node_modules\telegram\errors\index.js:28:12)
    at MTProtoSender._handleRPCResult (C:\Codes\tdl-test\node_modules\.pnpm\[email protected]\node_modules\telegram\network\MTProtoSender.js:561:58)
    at MTProtoSender._processMessage (C:\Codes\tdl-test\node_modules\.pnpm\[email protected]\node_modules\telegram\network\MTProtoSender.js:492:15)
    at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
    at async MTProtoSender._recvLoop (C:\Codes\tdl-test\node_modules\.pnpm\[email protected]\node_modules\telegram\network\MTProtoSender.js:439:17) {
  code: 400,
  errorMessage: 'USERNAME_INVALID'
}
@alexsahka
Copy link

I have the same issue: RPCError: 400: USERNAME_INVALID (caused by contacts.ResolveUsername)
It worked for 1 day then started getting this error.

Could you let me know if you resolved this problem?

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