https://discord.gg/botpress logo
#🤝help
Upload Documents - Error [object Object]
# 🤝help
r

rhythmic-xylophone-33648

06/17/2023, 2:46 AM
Hello -- I am trying to create a bot that will read from a large collection of PDFs, but it is able to upload only a very small percentage of my collection (for example, in one upload 4 out of 15 were successful). I have checked size (one it fails to upload is 747 kb), I tried converting to txt and/or word as well and it is not working. The error I get is Failed to Upload [object Object] (pic attached). Any advice?
a

acceptable-kangaroo-64719

06/19/2023, 11:15 AM
hey @rhythmic-xylophone-33648, is the PDF over 10mb?
r

rich-battery-69172

06/19/2023, 1:56 PM
I think it's the PDF title length
can you try uploading the same with a very short and simple title ?
r

rhythmic-xylophone-33648

06/22/2023, 1:20 AM
No the one that I was trying to upload here is 747 kb.
a

acoustic-hair-60678

06/22/2023, 1:26 AM
Hi @rhythmic-xylophone-33648, did shortening the title of the PDF work?
r

rhythmic-xylophone-33648

06/22/2023, 1:34 AM
That seems to have been the trick, yes!
Yes! I was just testing it. Shortening the title did help for most of the fails (although I got other errors on some). Unfortunately they are named that way to help me figure out what I'm looking at, alas! 🙂
Thank you for the help!
23 Views