-
Notifications
You must be signed in to change notification settings - Fork 11.1k
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
Error while deleting a group through the API call #16954
Comments
Check your error message very well. I've tried the same API call and it works with |
Hello Rodriq, This is an extract of my Python script. The first call :
The second one :
It seems all right to me Thanks, Rémy |
Does the first response give an |
Rodriq, An extract of the response of the first call :
If I pass the roomName instead of the roomId, I've got the same error. Rémy |
Here are the logs. But I don't think it provides more informations.
|
Check your logic very well. I don't think it has to do that much with the server. |
Hello, The API method groups.counters works, but not the method groups.info !!!??? With this Python script :
I've got this output :
Thanks, Rémy |
@rmjstn Did you solve your previous problem? |
No, :-( Rémy |
Does the user you're using in the api calls have the permission to see private rooms or delete rooms? Usually that's the error when you try to open a room you have no permission to see. (assuming rid is correct) |
I am attempting to do similar. I have Admin role and it fails when I try and delete the room. I am not a member of the room I am attempting to delete. Once I was added to the room I was able to delete it. Admin role does have Delete Private Channels and View Private Room as a permission which my user is a part of. /api/v1/groups.delete
|
Not OP but I had tested this on both 3.0.3 and 3.2.0 and both of them will not allow admins to use to groups.delete API endpoint unless they are a member of that group. |
Is this really a feature? The feature exists but its bugged, so it should be marked as such. |
The tag serves as an indicator to what feature it's related (at least I use them as if they were). |
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. |
Still an active issue with the groups.delete API Endpoint |
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. |
I am also hitting the same. Any fix for this. My admin have to delete some private rooms from rest api. Can you please deploy a fix urgently |
Hello,
A user with Admin role.
Get all the groups with the API call : "groups.listAll".
The API method "groups.delete" return the bellow error when I call it by passing in parameter one of the ID get by the previous call.
{"success":false,"error":"The required "roomId" or "roomName" param provided does not match any group [error-room-not-found]","errorType":"error-room-not-found"}
Rocket version : 3.0.4.
Thanks,
Rémy
The text was updated successfully, but these errors were encountered: