[FIXED] An error occurs when trying to add a photo to a post

GolfNovemberUniform@lemmy.ml to Jerboa@lemmy.ml – 8 points –

I wanted to post screenshots of my riced KDE setup on Unixporn so I copied them to my phone using a USB cable. And now when I'm trying to add them to a post, it seems to always show the same error (Client request(POST https://lemmy.ml/pictrs/image) invalid: 403 . Text "<..."). The app has all the required permissions granted and I'm not banned from the community. What can it be then?

21

You are viewing a single comment

If this image uploads it's probably something else

It did upload correctly

Hmm it could still be a permission issue but that would be on ourside to fix. Did you save this image in the same place as the others? If so can you try that. It might be that we don't ask correct permission on Android 13.

Tried moving the photos from Pictures to DCIM/Camera and rebooting the phone. Still the same error. Fun fact: if I revoke the app's permissions and try to upload a photo again, the error remains the same and the app doesn't ask to grant the permission (the pop-up doesn't appear)

Wym same error? I meant the above picture that uploads fine. Does it still work after you move it to the location of the picture that doesn't work.

By default it saves the picture in location that should always be accessible by Jerboa

It is very possible that we don't properly handle it when it fails to receive permission. I'll take a look at it.

Mister, now I don't understand you either. I tried moving MY SCREENSHOTS to another folder and uploading them again. I didn't try to download and upload your photo of a kitten.

EDIT: the error fixed itself after I tried to upload your photo. Now all of them seem to upload without issues. I tried mine - didn't work. Then I tried yours and it worked. After that I tried mine again and it worked. Weird problem

Which upload succeded then?