https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=44103 --- Comment #4 from Marcel de Rooy <m.de.rooy@rijksmuseum.nl> --- Created attachment 211604 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=211604&action=edit Bug 44103: Add check on Ajax http status in file-upload.js This is a least work-solution. Probably this needs to move to fetch API etc. Note that it was a bit hard to get to the exact file name of the failing upload when doing a multi file upload. Test plan: Check what your max request body is for Apache or your reverse proxy before Apache etc. (By default 100MB in Apache.) Upload a larger file via Tools/Upload in staff view. Verify that you receive an error message like: FILE_NAME: Something went wrong during the Ajax upload: An uploaded file was too large. Note that if you would upload multiple files including the larger one, you will see: FILE1,FILE2: <same message> Test another script using this js code: Go to tools/stage-marc-import.pl (via Cataloguing). Upload the same larger file. You see: Upload status: Denied. Note: This could surely be extended (but not here). Signed-off-by: Marcel de Rooy <m.de.rooy@rijksmuseum.nl> -- You are receiving this mail because: You are watching all bug changes.