• homura1650@lemmy.world
    link
    fedilink
    arrow-up
    2
    ·
    24 hours ago

    If it’s not a backend error, you shouldn’t be throwing a 5xx error code. Since you are throwing a 500, you have a server bug; even if that bug is simply “sends incorrect error code”

    • jj4211@lemmy.world
      link
      fedilink
      arrow-up
      1
      ·
      24 hours ago

      Ok, got you, thought you were saying a bad url from client was inherently a backend mistake.