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

Shindig REST returns a 500 internal server error for invalid JSON

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 1.1-BETA1
    • Fix Version/s: 1.1-BETA1
    • Component/s: Java
    • Labels:
      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

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

              Dates

              • Created:
                Updated:
                Resolved: