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

点击admin加入房间失败 #41

Open
kliuj opened this issue Feb 23, 2021 · 4 comments
Open

点击admin加入房间失败 #41

kliuj opened this issue Feb 23, 2021 · 4 comments
Labels
bug Something isn't working

Comments

@kliuj
Copy link

kliuj commented Feb 23, 2021

有2个错误请求:
1:lncldglobal.com/1.1/users?
返回
code: 202
error: "Username has already been taken."

2:obal.com/1.1/classes/RoomUser?
"Invalid value type for field 'nickname',value '"ad"',expect type is {:type "Object"},but it is '{:type "String"}'."

这是配置图
image

image

@kliuj
Copy link
Author

kliuj commented Feb 23, 2021

补一张图,房间是创建成功了
image

@johnpoint
Copy link
Collaborator

  1. 这个报错是正常的
  2. 能否提供该请求的详细信息呢?

@kliuj
Copy link
Author

kliuj commented Feb 23, 2021

  1. 这个报错是正常的
  2. 能否提供该请求的详细信息呢?
    请求格式是这样的
    post = https://5wg9m6uy.api.lncldglobal.com/1.1/classes/RoomUser?
    payload = {"roomId":"6034c122286a8427b9516c29","username":"3443312131","nickname":"1234","userId":"6034c1499c05de42546389ce","role":"admin"}

我把所有的nickname都换了一个key 比如 nname,现在已经可以正常运行了,很奇怪

@johnpoint
Copy link
Collaborator

有可能是创建livequery表的时候类型创建错了,待复现

@johnpoint johnpoint added the bug Something isn't working label Feb 23, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants