RocketChat / RocketChat/Rocket.Chat
Error while deleting a group through the API call
Nobody has claimed this yet.
- Dominant language
- TypeScript
- Stars
- 46.1k
- Forks
- 13.9k
- Avg merge
- 3d 3h
- Merged PRs (30d)
- 130
Description
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
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start with the groups.listAll and groups.delete API entry points and reproduce the request sequence described against Rocket.Chat 3.0.4. Compare the identifier returned by groups.listAll with the parameter accepted by groups.delete; done means a listed group can be deleted without the room-not-found error.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- typescript
- Domain
- api, backend
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 45/100