discord sticker invalid asset

Discord sticker invalid asset

Confirm that the sticker is genuinely saved with the appropriate extension, such as. Attempting to rename a.

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community. Already on GitHub? Sign in to your account. Perhaps this would be better fitted as a feature request? I'm unsure, so I'll just go on ahead and flag this as an issue:. Unfortunately I can't think of an easy way to produce this with cURL when it comes to embedding the binary data into the request, so I'll be providing a very barebones node.

Discord sticker invalid asset

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community. Already on GitHub? Sign in to your account. After updating from v13 to v14, I've noticed that one of my previous commands no longer works. Uploading an animated png file now throws this such error:. Interestingly enough, it works if the supplied file is an non-animated png or if the file is a URL A URL apng and png both create a sticker perfectly fine. I've checked the magic bytes of several non-animated and animated png files and they are both recognized as pngs; animated png vs non-animated png. My current suspicions of the previous fixes from and didnt actually implement a fix for apngs and dont properly assign the png content-type to apngs, maybe? The first two should succeed, whilst the last fails. The text was updated successfully, but these errors were encountered:. Could you mess around with file-type NPM yourself and see what the recognized mime type is?

The text was updated successfully, but these errors were encountered:. Notifications Fork 3.

.

Confirm that the sticker is genuinely saved with the appropriate extension, such as. Attempting to rename a. If the file is in a different format, you can use an online converter or image editing software to convert it to the correct format. Stickers should ideally have a square aspect ratio and a specific size. Confirm that the sticker file has the correct dimensions. The recommended size for stickers on Discord is px x px. This ensures that the sticker will appear clearly and without distortion in the Discord app. Verify that the file size falls within the permissible range.

Discord sticker invalid asset

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community. Already on GitHub? Sign in to your account. Perhaps this would be better fitted as a feature request? I'm unsure, so I'll just go on ahead and flag this as an issue:. Unfortunately I can't think of an easy way to produce this with cURL when it comes to embedding the binary data into the request, so I'll be providing a very barebones node. This issue can be reproduced with discord.

Mass effect reapers

Already on GitHub? User, Channel, Message, Reaction Which gateway intents are you subscribing to? You signed out in another tab or window. No, using a different dependency that yields an arguably less correct MIME type is backwards. Be sure to verify the file format, sticker dimensions, file size, and image background, and reach out to Discord support if necessary. Reload to refresh your session. Which is a bit jank, in my personal opinion, haha, but it temporarily gets the job done for anyone else who may be having issues with uploading file-based apng stickers. If the size surpasses the limit, contemplate compressing the image while preserving its quality. Reload to refresh your session. That works too. Notifications Fork 3. I have a suspicion the fault arises from here: discord. Jiralite added the has PR label Jan 5, Jiralite added the packages:rest label Aug 26,

This article was last updated by Prakriti Paudel on December 21,

Labels bug. Sign up for free to join this conversation on GitHub. Line in Which package is this bug report for? New issue. Now, you can fully enjoy using your stickers and enhance your overall Discord experience. SethCohen commented Aug 28, Be sure to verify the file format, sticker dimensions, file size, and image background, and reach out to Discord support if necessary. Sign up for free to subscribe to this conversation on GitHub. It might be in merit to consider either a different dependency No, using a different dependency that yields an arguably less correct MIME type is backwards.

3 thoughts on “Discord sticker invalid asset

Leave a Reply

Your email address will not be published. Required fields are marked *