New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
"File too large" error formatted incorrectly #8574
Comments
To fix this, the code below should show a respective error message instead of the current one ( misskey/packages/client/src/scripts/upload.ts Lines 86 to 90 in d3e242a
Would be nice to also fix the |
In the current develop branch, if the server returns 413 with a non-JSON response, no error is displayed on the frontend because the JSON parsing fails and an uncaught exception is raised. misskey/packages/frontend/src/scripts/upload.ts Lines 82 to 88 in 8dc60cd
As @Johann150 mentioned, we can solve this by displaying a user-friendly error message when status code 413 is detected. May I start working on this issue? |
Changelog: Fixed Ref: misskey-dev#8574
💡 Summary
The "File too large" error has incorrect formatting
🥰 Expected Behavior
Correctly formatted error
🤬 Actual Behavior
📝 Steps to Reproduce
📌 Environment
Misskey version: 12.110.1
Your OS: iOS
Your browser: Chrome
The text was updated successfully, but these errors were encountered: