We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
discord.js
Sticker creation works in v13 but in v14, you get DiscordAPIError[50046]: Invalid Asset. I think it's an issue in djs/rest, but I'm not 100% sure.
DiscordAPIError[50046]: Invalid Asset
This can be seen by simply running the first example in https://discord.js.org/#/docs/discord.js/main/class/GuildStickerManager?scrollTo=create.
When running identical code with Routes.guildStickers and Routes.channelMessages, the latter works but the former returns the error.
Routes.guildStickers
Routes.channelMessages
I've been debugging this for an hour but can't figure it out.
No response
14.0.0-dev.1657757514-fe34f48
v16.15.1
Windows 11 22H2 25151.1010
Medium (should be fixed soon)
Not applicable (subpackage bug)
The text was updated successfully, but these errors were encountered:
DiscordAPIError[50046] Invalid Asset
didinele
Successfully merging a pull request may close this issue.
Which package is this bug report for?
discord.js
Issue description
Sticker creation works in v13 but in v14, you get
DiscordAPIError[50046]: Invalid Asset
. I think it's an issue in djs/rest, but I'm not 100% sure.This can be seen by simply running the first example in https://discord.js.org/#/docs/discord.js/main/class/GuildStickerManager?scrollTo=create.
When running identical code with
Routes.guildStickers
andRoutes.channelMessages
, the latter works but the former returns the error.I've been debugging this for an hour but can't figure it out.
Code sample
No response
Package version
14.0.0-dev.1657757514-fe34f48
Node.js version
v16.15.1
Operating system
Windows 11 22H2 25151.1010
Priority this issue should have
Medium (should be fixed soon)
Which partials do you have configured?
Not applicable (subpackage bug)
Which gateway intents are you subscribing to?
Not applicable (subpackage bug)
I have tested this issue on a development release
No response
The text was updated successfully, but these errors were encountered: