Uploaded image for project: 'GLPI'
  1. GLPI
  2. GLPI-5

Log response details when GLPI returns error code

XMLWordPrintable

    • Icon: Improvement Improvement
    • Resolution: Unresolved
    • Icon: Major Major
    • 1.9.0
    • None
    • None

      TicketGlpiManager._callWebServiceApi does not parse response if http response code is not equals to 200.

      GLPI could answer a 401 HTTP response code with some details on JSON content.

      For example :
      ["ERROR_SESSION_TOKEN_INVALID","le paramètre session_token semble incorrect"]
      ["ERROR_RIGHT_MISSING","Vous n'avez pas les droits requis pour réaliser cette action."]

            Unassigned Unassigned
            ogehin Olivier Gehin
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated: