Bulk upload in Editoria returns errors from INK
Bulk uploading many documents into Editoria causes the uploads to fail with 500 errors from INK.
To reproduce:
- Make a new book
- From the book builder screen, choose "Upload multiple Word files"
- Select many docx files
Expected: all the files are processed by INK and uploaded into Editoria
Actual: if you upload more than a handful of docx files, you get internal server errors instead (POST https://editoria.coko.foundation/api/ink 500 (Internal Server Error)
See the attached log of an attempt to upload a whole book. Of 11 files, 6 got 500 errors; the other 5 simply timed out (504s):
editoria.coko.foundation-1511571337765.log
Bulk upload can sometimes works with just 2 files. This problem seems to occur with larger numbers of files.