error uploading files
# 🤝help
b
Whenever I try to upload files to my bot workflow I get a 400 bad request error. The file is a pdf around 20mb that i need the bot to send to the user at certain point in the interaction. However I keep getting the same error. Can't find anything about it anywhere. Please help
f
Hey there, "The maximum file size 10mb. Image content shows an image with a title in the chat window. Supported image formats are .tiff, .jpg, .png, .jpeg, .gif, .bmp, .tif, up to 10mb in size." https://botpress.com/docs/cloud/toolbox/send-message/
b
Thanks for the reply. As I stated in my original post, I'm not trying to upload an image. Instead, I am trying to upload a pdf to the "file" option in "send message".
f
I totally missed that my bad. Maybe it's the same requirement that is stopping you. Can you try uploading a file that is less than 10 mb?
e
You could use a tool to compress the pdf size as well