JSON format generic error

JSON format generic error

KimvdLindeKimvdLinde Posts: 30Questions: 8Answers: 0

Can someone provide me with a simple example of a generic JSON error message that a server can give back. I know the fielderror one, I am talking about the generic form.

This question has an accepted answers - jump to answer

Answers

  • KimvdLindeKimvdLinde Posts: 30Questions: 8Answers: 0

    Okay, figured it out:

    {"error": "Your session has timed out. Please login first before continuing."}

  • allanallan Posts: 63,498Questions: 1Answers: 10,471 Site admin
    Answer ✓

    Exactly that. Good to hear you got it working.

    Allan

This discussion has been closed.