Describe the bug
When trying to upload a pdf file, with a large number of pages, getting an error message
To Reproduce
Steps to reproduce the behaviour:
-
Go to prod.glific.com
-
Go to manage and go to knowledge base
-
upload the document
Aadharshila.pdf
-
See error
- The knowledge base with the category is still created.
- This category_id when used does not lead to answers from the doc.
Expected behavior
- Document upload should ideally not fail, if the document is within the specified limit (less than 1 mb)
- if the document upload has failed the category id should not be created.