Hi, I’m trying to use the rest api to add a user to a chatroom programatically, the problem is that the api is returning a 500 error, and when I look at the logs, it says that it’s not allowed:
org.jivesoftware.openfire.plugin.rest.exceptions.RESTExceptionMapper - NotAllowedException: Could not add member with resource email@example.com
This is the request I’m trying to execute:
curl -v -H 'Authorization: Basic XXXX' -H 'Content-type: text/xml' -d '' \ http://localhost:firstname.lastname@example.org?servicename=conference
Is there anything I’m doing wrong here? or anything I should change in the room settings?