AgoraIO / RTM

143 stars 160 forks source link

RTM ERROR 102 JOIN_CHANNEL_ERR_USER_NOT_LOGGED_IN #191

Open YogeshPathania opened 2 years ago

YogeshPathania commented 2 years ago

Hii im facing 102 error when i joined through the channel in android

plutoless commented 2 years ago

the error message already describes the issue is that you are trying to join channel while not logged in

YogeshPathania commented 2 years ago

i create temp rfc token and channel name in login but unable to login it gave me Error 2. In rtm login you mentioned that we need to pass the token and uid can you pls specify what is the uid that we need to pass in agora rtm login is that channel name or something else?

Error details-User: test failed to log in to the RTM system!RTM ERROR 2 LOGIN_ERR_REJECTED

plutoless commented 2 years ago

the temp token you generated can only be used for rtc. you will need to generate rtm token using our token tools. maybe take a look at https://docs.agora.io/en/Real-time-Messaging/token_server_rtm?platform=All%20Platforms