What the title says. I try to post to a topic, picture and text, and I get a 400 error code.

  • FauxPseudo @lemmy.world
    link
    fedilink
    English
    arrow-up
    4
    ·
    2 days ago

    I used to get 400 errors when posting pictures. I eventually tracked it down to image size. If I shrank it to under 500Kb it went through every time. Sometimes a little larger would go through but every picture under that made it.

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

      I’ve had similar problems and this was the issue. The problem is there’s no way to know what the requirements are from a user’s point of view at the moment of posting, and the error doesn’t provide useful information, so it just looks broken.

      I don’t know how much can be done within the app about the error messaging, but having a way to squish down the image in size and compression within the posting flow would be really helpful.

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

        I have an app for combining two images into one. I found that just putting one image in it and saving almost always does the trick. Though, rarely, on some already small files it will actually make them bigger. But since I already use it it comes in handy instead of having to install a new app for that.

        I agree. It’s fundamentally broken. 400 is useless. And when I searched I found zero clues. I even posted about it and got zero clues. Had to figure it out on my own.

    • Hideakikarate@sh.itjust.worksOP
      link
      fedilink
      English
      arrow-up
      2
      ·
      2 days ago

      That might be it. I tried clearing the app cache, and it still wouldn’t go through. I can obviously make posts. The image was the problem.