Skip to content

[REST API] channels.setType returns a 400 response error when trying to change a Private Group to a Channel. #9619

@bpabel

Description

@bpabel

Description:

channels.setType returns a 400 response error when trying to change a Private Group to a Channel.

Server Setup Information:

  • Version of Rocket.Chat Server: 0.56.0
  • Operating System: Ubuntu x64
  • Deployment Method(snap/docker/tar/etc): snap
  • Number of Running Instances: 1
  • DB Replicaset Oplog:
  • Node Version: v4.8.1

Steps to Reproduce:

  1. Create a channel
  2. Make it private
  3. Use the REST API endpoint channels.setType setting type to c

Expected behavior:

A 200 response containing a json representation of the channel with the type switched to c

Actual behavior:

A 400 response error - "Bad Request for url"

Relevant logs:

No relevant log messages when this error occurs.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions