It happens if I try to upload an unedited photo from my camera roll. If I crop it, even by a tiny amount, it lets me upload. It’s a really frustrating issue because I have to edit every photo before uploading.

  • tenchiken@lemmy.dbzer0.com
    link
    fedilink
    English
    arrow-up
    3
    ·
    8 hours ago

    OP, check if the default format of your pictures is HEIF (Samsung I know does this). It can be found under the camera app settings typically.

    Mastodon and some other servers choke on this format frequently unless all the backend code is updated… Not sure about the Lemmy servers yet. It drove me nuts for days until a log item in my mastodon server I run brought my attention to it.

    Unfortunately if you confirm this, you can’t fix it client side except to convert your pictures first or disable that format for saving.

  • THX-1138@lemmy.one
    link
    fedilink
    English
    arrow-up
    4
    ·
    10 hours ago

    Are you running behind a VPN? 403 means access forbidden, which is to say that you’re being blocked on the server side. Could also be your instance, but I usually get blocked because of my VPN.

  • Armand1@lemmy.world
    link
    fedilink
    English
    arrow-up
    2
    ·
    edit-2
    9 hours ago

    One possibility is that the pictures being taken are in an odd format (webp?) or have metadata that the app or instance can’t handle.

    Cropping the picture creates a new picture. Presumably, the app cropping the picture packages the information differently from your camera app and in a way that is compatible.

    Not sure why you’re getting a 403, as that seems like the wrong code given the above theory. Should be a 400 or 500.

    • tenchiken@lemmy.dbzer0.com
      link
      fedilink
      English
      arrow-up
      2
      ·
      edit-2
      8 hours ago

      HEIF is default on many Samsung phones now too.

      Edit: I found out in my own case months ago from my personal Mastodon server choking on the import… Giving a 403 or 500 depending on where I was trying.

    • davitz
      link
      fedilink
      English
      arrow-up
      2
      ·
      edit-2
      8 hours ago

      I’ve seen iPhones default to taking photos in HEIF before. So that could be happening and then the crop could be covering it back to jpeg or another note common format.

      If that describes OP’s situation they can try this: https://www.macworld.com/article/231501/how-to-disable-heif-and-hevc-formats-in-ios.html

      Edit: Actually, looking back at their screenshot it’s clearly android

      Looking at my own Android camera settings, it looks like there’s an option to shoot in Raw so maybe that’s messing him up somehow.

  • FauxPseudo @lemmy.world
    link
    fedilink
    English
    arrow-up
    1
    ·
    edit-2
    3 hours ago

    I regularly have an issue with entire groups. I can’t post images to without getting a 403.

    Currently I’m getting a 400 error trying to post a picture in my own group.

  • april@lemmy.world
    link
    fedilink
    English
    arrow-up
    1
    ·
    9 hours ago

    It could be blocking photos with exif data maybe? Just a guess. I would think they would just strip it instead.