What version of ejabberd are you using?
17.04
What operating system (version) are you using?
ubuntu 16.04
How did you install ejabberd (source, package, distribution)?
package
What did not work as expected? Are there error messages in the log? What
was the unexpected behavior? What was the expected result?
I used postman to make a HTTP request to ejabberd register api. The ejabberd is set up and the admin is running properly at the url - http://localhost:5280/admin.
The Url of http request is - http://localhost:5280/api/register
Body - { "user": "bob", "host": "example.com", "password": "SomEPass44" }
Header - [{"key":"Content-Type","value":"application/json","description":""}]
Response - { "status": "error", "code": 32, "message": "AccessRules: Account does not have the right to perform the operation." }
I searched a lot to and figured out that it will require some changes in ejabberd.yml file. My yml file is available on the link attached.
ANY HELP WILL GREAT.