concord icon indicating copy to clipboard operation
concord copied to clipboard

discord_modify_channel rtc_region issue

Open false opened this issue 2 years ago • 2 comments

Hello,

Using discord_modify_channel results in the following error : [31mERROR[0m [90mdiscord-rest_request.c:391:[0m [DISCORD_REQUEST] {"code": 50035, "errors": {"rtc_region": {"_errors": [{"code": "BASE_TYPE_CHOICES", "message": "Value must be one of ('brazil', 'hongkong', 'india', 'japan', 'rotterdam', 'russia', 'singapore', 'south-korea', 'southafrica', 'sydney', 'us-central', 'us-east', 'us-south', 'us-west')."}]}}, "message": "Invalid Form Body"}

It happens when I want to rename a discord channel. The channel doesn't get renamed, the request fails.

It doesn't work on the the version 2.1.0, 2.2.0, and the current master branch.

Do you observe the same issue ?

Thanks,

false avatar Feb 07 '23 01:02 false

Adding .rtc_region = "rotterdam" to the modify params seems to solve my issue. But isn't it a strange behaviour as it is a text channel ?

false avatar Feb 07 '23 01:02 false

Could you show your http log without setting a region?

ThePedroo avatar Feb 07 '23 01:02 ThePedroo