Androz2091 / backups-bot

🌟 Backups Bot using the discord-backup package
77 stars 48 forks source link

On load backup the bot crash #15

Open WithqutOfficial opened 2 years ago

WithqutOfficial commented 2 years ago

Traceback: /root/backups-bot/node_modules/discord.js/src/rest/RequestHandler.js:154 throw new DiscordAPIError(request.path, data, request.method, res.status); ^

DiscordAPIError: Invalid Form Body image: File cannot be larger than 256.0 kb. at RequestHandler.execute (/root/backups-bot/node_modules/discord.js/src/rest/RequestHandler.js:154:13) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) at async RequestHandler.push (/root/backups-bot/node_modules/discord.js/src/rest/RequestHandler.js:39:14) { method: 'post', path: '/guilds/929385503273406464/emojis', code: 50035, httpStatus: 400 }

How to bypass this limit?

SkellyBuilds commented 2 years ago

The file/ server file is bigger then 256.0 kb which means discord cant upload the json files and use it in order to put everything. i dont know if their is a limit but i suggest if you make your backups more smaller