Skip to content

document error code 50167 & 20015#8242

Open
Lulalaby wants to merge 2 commits intodiscord:mainfrom
Lulalaby:patch-1
Open

document error code 50167 & 20015#8242
Lulalaby wants to merge 2 commits intodiscord:mainfrom
Lulalaby:patch-1

Conversation

@Lulalaby
Copy link
Copy Markdown
Contributor

@Lulalaby Lulalaby commented Mar 24, 2026

POST: https://canary.discord.com/api/v10/channels/1009914422619295887/send-soundboard-sound

{
  "sound_id": 1485962357971750912,
  "source_guild_id": 483279257431441410
}

50167 happens if we send a soundboard sound while being deafened
Result: 403 Forbidden

{
  "message": "Cannot send voice effect when user is server muted, deafened, or suppressed",
  "code": 50167
}

20015 happens if we send the soundboard sound of another guild
Result: 403 Forbidden

{
  "message": "This action requires a premium subscription",
  "code": 20015
}

Arguable whether bot should or should not be able to use sounds from other guilds.
I remember it worked at some point..

@Lulalaby Lulalaby requested a review from a team as a code owner March 24, 2026 11:29
@Lulalaby Lulalaby requested review from anthonydiscord and removed request for a team March 24, 2026 11:29
@Lulalaby Lulalaby changed the title document error code 50167 document error code 50167 & 20015 Mar 24, 2026
@advaith1
Copy link
Copy Markdown
Contributor

bots should be able to use sounds from other guilds. if they get that error it's a bug

@advaith1
Copy link
Copy Markdown
Contributor

the cross-guild sound bug has been fixed, you shouldn't get that error on soundboard anymore.

@Lulalaby
Copy link
Copy Markdown
Contributor Author

Thank you! Want me to undocument 20015?
50167 is still relevant. Would be good to have it imo

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants