#8MiB limit is not really 8MiB?

24 messages · Page 1 of 1 (latest)

little ingot
#

• What's your exact discord.js npm list discord.js and node node -v version?
• Post the full error stack trace, not just the top part!
• Show your code!
• Explain what exactly your issue is.
• Not a discord.js issue? Check out #useful-servers.

unique violet
#

MIB is base 2, OS's uses base 10 like windows, so if u think it is within the limit of 8MIB it isn't, calculate it before

neon mist
unique violet
#

that's not what i said

#

8 MIB is about 7.8 MB, or lower

#

Mebibyte is different than Megabyte

rough urchin
unique violet
#

oh wait nvm it's the other way around

#

lol

soft oyster
neon mist
#

Do you send it with a Buffer?

soft oyster
#

what buffer?

neon mist
#

Ok. Show the code

soft oyster
#

no code, thats it 😄 i said in Postman

#

the code is not that interesting is just copying 1 to 1 what Postman is sending

unique violet
#

bruh, show how u sent it in postman then

soft oyster
#

file is exactly 8MiB

#

i tried with smaller file the same way and it works

#

im sending it via webhook btw

neon mist
soft oyster
#

well it kinda is if im sendin a file with discord.js Thinkeng

eager flower
#

Well it kinda isn’t if it happens either way. Discord api related yes, djs no

soft oyster
#

sure