igniterealtime / openfire-restAPI-plugin

Allows Openfire administration over a RESTful API.
http://www.igniterealtime.org/projects/openfire/plugin-archive.jsp?plugin=restAPI
Apache License 2.0
19 stars 53 forks source link

Could not apply modification to list of member #181

Closed MrBytess closed 5 months ago

MrBytess commented 1 year ago

MUC sends an error message to join a member

http://192.168.1.55:9090/plugins/restapi/v1/chatrooms/30046/members/1003

Both users and chat rooms exist

Error Message:

{ "resource": "30046", "message": "Could not apply modification to list of member", "exception": "NotAllowedException" }

How to call correctly? What configuration is still needed? 微信图片_20230918174257

Fishbowler commented 1 year ago

You're attempting to add a user whose local username is 1003 to a MUC named 30046, correct?

Which version of Openfire and the plugin are you using?

Fishbowler commented 1 year ago

Tried this out. This works for me.

Checked the code, this is returned under specific circumstances.

guusdk commented 5 months ago

Closing this issue as it's been inactive, while Dan found the problem to be non-reproducible.