logo
On this page

When logging in to a room on the Web platform, the error "cmd=login, err_code=1011, err_message=token format error" is displayed?

2022-11-16
Products / Plugins:Video Call / Audio Call / Live streaming
Platform / Framework:Web

The error is caused by incorrect format of the "token" parameter passed when logging in to the room. The "token" is a string type. You need to pass the json format after base64 encryption to the loginRoom interface. For specific implementation, please refer to the "Login Room" section in Quick Start - Implementation Process.

Previous

How to print SDK logs to the console using Express SDK?

Next

How to specify StreamID for cloud recording?