Uploaded image for project: 'Shindig'
  1. Shindig
  2. SHINDIG-1084

Shindig REST returns a 500 internal server error for invalid JSON

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • 1.1-BETA1
    • 1.1-BETA1
    • Java
    • None

    Description

      A JSONException is currently wrapped in a RuntimeException and returned to the user as a 500 internal server error. This should actually be a 400 bad request.

      Attachments

        1. SHINDIG-1084-bug.patch
          3 kB
          Ben Smith

        Activity

          People

            Unassigned Unassigned
            thesmith Ben Smith
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: