Uploading 8MB .pdf file attachment to class fails, receives 500 Internal Server Error #680
Open
2 tasks done
Labels
bug
Something isn't working
Acknowledgements
Operating System
Windows Version 10.0.22631 Build 22631
Browser & Version
Firefox 130.0 (32-bit)
Helium Username
kieranonline
Describe the Bug
I have a "class" for a book club that meets virtually and attempted to upload the .pdf of the book as an attachment file in the class. When I click "save", it begins to upload, but then fails with the error message "The class is saved, but an error occurred while uploading attachments. If the error persists, open a ticket."
The .pdf that fails is 8 MB in size. I also tested uploading a .png of 262 KB, a .csv of 40 KB, and a .pdf of 75 KB, and all worked as expected.
Expected Behavior
The file uploads and is saved to the class attachments.
Console Output / Error Responses
Deprecation warning: value provided is not in a recognized RFC2822 or ISO format. moment construction falls back to js Date(), which is not reliable across all browsers and versions. Non RFC2822/ISO date formats are discouraged and will be removed in an upcoming major release. Please refer to http://momentjs.com/guides/#/warnings/js-date/ for more info.
Arguments:
[0] _isAMomentObject: true, _isUTC: false, _useUTC: false, _l: undefined, _i: Sep 27, 2024, _f: undefined, _strict: undefined, _locale: [object Object]
deprecate/<@https://www.heliumedu.com/assets/js/vendors/moment.min.js:1:5143
configFromString@https://www.heliumedu.com/assets/js/vendors/moment.min.js:1:44539
configFromInput@https://www.heliumedu.com/assets/js/vendors/moment.min.js:1:48856
prepareConfig@https://www.heliumedu.com/assets/js/vendors/moment.min.js:1:48581
createFromConfig@https://www.heliumedu.com/assets/js/vendors/moment.min.js:1:47981
createLocalOrUTC@https://www.heliumedu.com/assets/js/vendors/moment.min.js:1:49461
createLocal@https://www.heliumedu.com/assets/js/vendors/moment.min.js:1:49537
hooks@https://www.heliumedu.com/assets/js/vendors/moment.min.js:1:271
HeliumClasses/this.save_course@https://www.heliumedu.com/assets/js/classes.min.js line 5 > srcScript:1:39393
@https://www.heliumedu.com/assets/js/classes-triggers.min.js:1:6572
dispatch@https://cdnjs.cloudflare.com/ajax/libs/jquery/1.10.2/jquery.min.js:4:14129
add/v.handle@https://cdnjs.cloudflare.com/ajax/libs/jquery/1.10.2/jquery.min.js:4:10866
EventListener.handleEvent*add@https://cdnjs.cloudflare.com/ajax/libs/jquery/1.10.2/jquery.min.js:4:11340
on/<@https://cdnjs.cloudflare.com/ajax/libs/jquery/1.10.2/jquery.min.js:4:20283
each@https://cdnjs.cloudflare.com/ajax/libs/jquery/1.10.2/jquery.min.js:3:5347
each@https://cdnjs.cloudflare.com/ajax/libs/jquery/1.10.2/jquery.min.js:3:1999
on@https://cdnjs.cloudflare.com/ajax/libs/jquery/1.10.2/jquery.min.js:4:20259
@https://www.heliumedu.com/assets/js/classes-triggers.min.js:1:6535
@https://www.heliumedu.com/assets/js/classes-triggers.min.js:1:7276
moment.min.js:1:4641
XHRPOST
https://api.heliumedu.com/planner/attachments/
[HTTP/1.1 500 Internal Server Error 650ms]
Dropzone.prototype.uploadFiles
https://www.heliumedu.com/assets/js/vendors/dropzone.min.js line 5 > srcScript:1:31771
Dropzone.prototype.processFiles
https://www.heliumedu.com/assets/js/vendors/dropzone.min.js line 5 > srcScript:1:27209
Dropzone.prototype.processQueue
https://www.heliumedu.com/assets/js/vendors/dropzone.min.js line 5 > srcScript:1:26671
HeliumClasses/this.save_course/</</<
https://www.heliumedu.com/assets/js/classes.min.js line 5 > srcScript:1:47275
c
https://cdnjs.cloudflare.com/ajax/libs/jquery/1.10.2/jquery.min.js:3:26036
add
https://cdnjs.cloudflare.com/ajax/libs/jquery/1.10.2/jquery.min.js:3:26346
HeliumClasses/this.save_course/</<
https://www.heliumedu.com/assets/js/classes.min.js line 5 > srcScript:1:45521
c
https://cdnjs.cloudflare.com/ajax/libs/jquery/1.10.2/jquery.min.js:3:26036
fireWith
https://cdnjs.cloudflare.com/ajax/libs/jquery/1.10.2/jquery.min.js:3:26840
k
https://cdnjs.cloudflare.com/ajax/libs/jquery/1.10.2/jquery.min.js:5:14258
r
https://cdnjs.cloudflare.com/ajax/libs/jquery/1.10.2/jquery.min.js:5:18646
(Async: EventHandlerNonNull) send
https://cdnjs.cloudflare.com/ajax/libs/jquery/1.10.2/jquery.min.js:5:18747
ajax
https://cdnjs.cloudflare.com/ajax/libs/jquery/1.10.2/jquery.min.js:5:13722
HeliumPlannerAPI/this.edit_course
https://www.heliumedu.com/assets/js/api.min.js:1:14775
HeliumClasses/this.save_course/<
https://www.heliumedu.com/assets/js/classes.min.js line 5 > srcScript:1:41515
c
https://cdnjs.cloudflare.com/ajax/libs/jquery/1.10.2/jquery.min.js:3:26036
add
https://cdnjs.cloudflare.com/ajax/libs/jquery/1.10.2/jquery.min.js:3:26346
HeliumClasses/this.save_course
https://www.heliumedu.com/assets/js/classes.min.js line 5 > srcScript:1:40056
https://www.heliumedu.com/assets/js/classes-triggers.min.js:1:6572
dispatch
https://cdnjs.cloudflare.com/ajax/libs/jquery/1.10.2/jquery.min.js:4:14129
add/v.handle
https://cdnjs.cloudflare.com/ajax/libs/jquery/1.10.2/jquery.min.js:4:10866
(Async: EventListener.handleEvent) add
https://cdnjs.cloudflare.com/ajax/libs/jquery/1.10.2/jquery.min.js:4:11340
on/<
https://cdnjs.cloudflare.com/ajax/libs/jquery/1.10.2/jquery.min.js:4:20283
each
https://cdnjs.cloudflare.com/ajax/libs/jquery/1.10.2/jquery.min.js:3:5347
each
https://cdnjs.cloudflare.com/ajax/libs/jquery/1.10.2/jquery.min.js:3:1999
on
https://cdnjs.cloudflare.com/ajax/libs/jquery/1.10.2/jquery.min.js:4:20259
https://www.heliumedu.com/assets/js/classes-triggers.min.js:1:6535
https://www.heliumedu.com/assets/js/classes-triggers.min.js:1:7276
The text was updated successfully, but these errors were encountered: