MuckRock / documentcloud-frontend

DocumentCloud's front end source code - Please report bugs, issues and feature requests to info@documentcloud.org
https://www.documentcloud.org
GNU Affero General Public License v3.0
18 stars 5 forks source link

High failure rate on uploads #842

Closed eyeseast closed 20 hours ago

eyeseast commented 3 days ago

Reported by @morisy:

I've been seeing intermittent but fairly high % of the time (30%+?) failures on the upload dialog. I screenshotted some of the dialog from the javascript console for one, as well as what the error state looks like after clicking "Upload". I was able to get it about 50% of the time on Safari using this file, but it's occurred on other files with smaller filenames as well as in Firefox during user testing (Mac OS in instances seen so far, have not extensively tried to recreate on other systems)

https://imgur.com/a/iP9gtVi

https://next.www.documentcloud.org/documents/25330125-gmail-prr-closed-heimbrock-prr-2024-0757-gmail-prr-closed-heimbrock-prr-2024-0757-gmail-prr-closed-heimbrock-prr-2024-0757-gmail-prr-closed-heimbrock-prr-2024-0757-gmail-prr-closed-heimbrock-prr-2024-0757/

To recreate I just reuploaded the above file by dragging it onto the upload documents dialog, click Begin Upload, and then occurred within 3 tries for me.

Error Message Generated:

[Error] {status: 400, message: "", errors: {access: ["This field may not be null."]}}
    (anonymous function) (app.BTe8WgKq.js:5:247)
eyeseast commented 1 day ago

Can you post a direct link to the file? I think that document is private (since I'm getting a 404 on it).

eyeseast commented 20 hours ago

The issue that showed up in the console is fixed. @morisy can you test again and reopen if you're still seeing issue?