• markstos@lemmy.world
    link
    fedilink
    arrow-up
    4
    arrow-down
    1
    ·
    2 days ago

    500 errors may be transient, possibly because the app isn’t connected to the network.

    It may well work fine a minute later or for someone else.

    • dajoho
      link
      fedilink
      arrow-up
      2
      ·
      edit-2
      2 days ago

      Backend Dev here. 500 is an HTTP sever response, so requires a working connection to happen. If the app isn’t connected to the network, in almost all cases, you would experience a different error, such as connection timed out, but not a 500.

      • markstos@lemmy.world
        link
        fedilink
        arrow-up
        1
        ·
        22 hours ago

        You are right.

        I was thinking of a case where there was a network connection problem and instead of precisely reporting that, the frontend told the user it was a 500 instead.