Realtime api problem

Hello, I registered with realtime api, why the client login error.

Server Setup Information

  • Version of Rocket.Chat Server: 2.3.1
  • Operating System: Win 10 Pro
  • Deployment Method: docker
  • Number of Running Instances: 1
  • NodeJS Version: 8.15.1
  • MongoDB Version: 4.0.13

Any additional Information

  • Registration code:
    let myMessage = {
    msg: “method”,
    method: “registerUser”,
    id: String(generateHash(17)),
    params: [{
    email: “”,
    pass: “a123456”,
    name: “a123456”,
    username: “a123456”,
  • Return response:
    response { msg: ‘result’,
    id: ‘k8z6O27Ca09MCQVW9’,
    result: ‘qFv3X3rP3K6bACBhc’ }
  • Data in mongodb after return:
  • Login results:
    Login_error: ‘你的凭证被拒绝了! 请再试一次’,

client screen:

@Foxy @TwizzyDizzy Hope to get your reply, thanks.