Discord error 50086: Community server channels must be text channels
Last verified against Discord Developer Docs - Opcodes and status codes
Community server channels must be text channelsWhat error 50086 means
You tried to assign a non-text channel to one of the special channel settings of a Community server, such as the rules channel or the community updates channel. These settings only accept regular text channels.
The call is PATCH /guilds/{guild.id} with rules_channel_id or public_updates_channel_id pointing at a voice channel, a category, a forum, or an announcement channel. Server-setup bots and template importers hit it when they map settings by channel name and pick the wrong channel, for example a category called "rules".
Deleting one of these channels while it is assigned is a separate error, 50074.
Type matters, not name. A text channel has type 0 (GUILD_TEXT); voice channels are type 2, categories type 4, announcement channels type 5 and forums type 15. Checking the numeric type before the PATCH avoids the error.
What it looks like
{
"message": "Community server channels must be text channels",
"code": 50086
}Why it happens
- rules_channel_id set to a category or voice channel
- public_updates_channel_id set to a forum or announcement channel
- Template importer matched by name and picked a non-text channel
- Enabling Community with channel IDs from another server
- Channel IDs passed in the wrong field, for example a category ID where a channel ID was expected
How to fix Discord error 50086
- 1Fetch the target channel and confirm type is 0 (GUILD_TEXT)
- 2Pick or create a regular text channel for the setting
- 3Send the PATCH again with the corrected channel ID
- 4Verify the guild now reports the expected rules_channel_id and public_updates_channel_id
How to stop it recurring
When your bot sets up Community servers, create the required text channels explicitly and keep their IDs, instead of searching by name. Validate channel types in setup flows before sending the PATCH. Other channel-type mismatches are covered on 50024.
Official reference: Discord Developer Docs - Opcodes and status codes. See all Discord error codes or the Discord limits and quotas.
Related codes
- 50074: Cannot delete a channel required for Community guildsCannot delete a channel required for Community guilds
- 50024: Cannot execute action on this channel typeCannot execute action on this channel type
- 50013: Missing permissionsYou lack permissions to perform that action
- 10003: Unknown channelUnknown channel
Error 50086 - quick answers
What does Discord error 50086 mean?
You tried to assign a non-text channel to one of the special channel settings of a Community server, such as the rules channel or the community updates channel. These settings only accept regular text channels. The call is PATCH /guilds/{guild.id} with rules_channel_id or public_updates_channel_id pointing at a voice channel, a category, a forum, or an announcement channel.
How do I fix Discord error 50086?
1. Fetch the target channel and confirm type is 0 (GUILD_TEXT) 2. Pick or create a regular text channel for the setting 3. Send the PATCH again with the corrected channel ID 4. Verify the guild now reports the expected rules_channel_id and public_updates_channel_id
Should I retry after error 50086?
No. Retrying the same request produces the same error; the condition has to be fixed first. Treat it as a permanent failure for that message and surface it, rather than looping.
Stop debugging Discord by hand
Connect the channel through Conferbot: tokens, webhooks and retries are handled, failures show as readable status.