• MysteriousSophon21@lemmy.ca
    link
    fedilink
    English
    arrow-up
    6
    ·
    1 year ago

    No, it’s probably when the app is expecting a json but the server returns an html, which usually happens in case of 502 errors.

    • barsoap@lemm.ee
      link
      fedilink
      English
      arrow-up
      1
      ·
      edit-2
      1 year ago

      You really shouldn’t be expecting any content type when you get any code but a 200. If anything you should expect HTML, then, possibly plain text.