-
-
Notifications
You must be signed in to change notification settings - Fork 53
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
Create group error 500 #176
Comments
The list of members and admins needs to be provided |
I'd like to implement some proper validation rules over the body so that you can get informative messages back. This conforms to what the API knows (this is a group entity object) but isn't enough to actually create the group. Something like this I expect: https://eclipse-ee4j.github.io/jersey.github.io/documentation/latest/bean-validation.html#bv.example.constraints.fields Something like that would probably give useful responses rather than just this "I've gone wrong trying to use this" |
curl -k -X POST -H "Authorization: mysecret" -H "Accept: application/json" -H "Content-Type: application/json" -d "{"name": "groupName", "description": "Description group"}" https://mydomain.com:9091/plugins/restapi/v1/groups |
You appear to have posted the same curl. I'm gonna give the same answer. The list of members and admins needs to be provided.
Each of those needs to be a valid username or jid. |
Thanks, outdated plugin information |
Tell me please you can rename the group. |
Create group error 500
Openfire 4.7.4
REST API 1.10.1
other requestы work fine
The text was updated successfully, but these errors were encountered: