rawandahmad698 / Dalle-Discord

DALL·E mini as a Discord bot? Say no more!
45 stars 44 forks source link

Payload Too Large #20

Open Garuizbido opened 1 year ago

Garuizbido commented 1 year ago

I am currently running the bot through play with docker and plan to use it on Google Cloud Platform. Sometimes the bot will respond

Internal Error, please try again later. HTTPException('413 Payload Too Large (error code: 40005): Request entity too large').

Also are there any recommended settings for the instance in terms of core count and memory?

rawandahmad698 commented 1 year ago

Hi, where do you get this error?

Could you include a reproducible example?

AsdertyTreds commented 1 year ago

i have the same problem HTTPException('413 Payload Too Large (error code: 40005): Request entity too large')

!dalle smile no problems

!dalle forest error

docker on debian 11

Volverine commented 1 year ago

Discord allows only up to 8MB photos without upgrading your server, probably thats why you get this error. Level 2 discord nitro offers up to 50MB

comicsansgreenki commented 11 months ago

Discord recently bumped the free upload limit to 25MB. Perhaps this issue fixed itself? @Garuizbido