You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We're getting a 413 Payload Too Large response which our implementation of the Pictrs API is choking on.
Steps to reproduce
Logon to Lemmy.ee.
Make a new post.
Try to add an image.
Catch the exception
Expected behavior
There's no error handling in the upload() function in pictrs.dart, so we need to add that. Not sure if the latest backend version allows sites to encode max upload sizes somewhere so we need to see if we can pick that up or just try some "small enough" size behind the scenes The backend does not support providing this information, so I've raised an enhancement request: LemmyNet/lemmy#3655
In the meantime, I'll look at just trying some "small enough" size behind the scenes and let the user know and decide if they want to try another approach.
The text was updated successfully, but these errors were encountered:
User report: https://lemmy.world/comment/1394283
Device info
Describe the bug
We're getting a 413 Payload Too Large response which our implementation of the Pictrs API is choking on.
Steps to reproduce
Expected behavior
There's no error handling in the upload() function in pictrs.dart, so we need to add that.
Not sure if the latest backend version allows sites to encode max upload sizes somewhere so we need to see if we can pick that up or just try some "small enough" size behind the scenesThe backend does not support providing this information, so I've raised an enhancement request: LemmyNet/lemmy#3655In the meantime, I'll look at just trying some "small enough" size behind the scenes and let the user know and decide if they want to try another approach.
The text was updated successfully, but these errors were encountered: