RocketChat / RocketChat/Rocket.Chat

Error while deleting a group through the API call

Open
#16,954 19 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

area: backend triaged
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

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.