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
fresh-fireman-491
04/05/2024, 3:44 PM
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
boundless-father-51400
04/05/2024, 5:49 PM
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
fresh-fireman-491
04/05/2024, 6:14 PM
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
early-train-33247
04/09/2024, 6:26 PM
You could use a tool to compress the pdf size as well