Uploaded image for project: 'James Server'
  1. James Server
  2. JAMES-3198

UserMailboxes api should provide detailMessage when error happened

    XMLWordPrintableJSON

    Details

    • Type: Improvement
    • Status: Resolved
    • Priority: Major
    • Resolution: Done
    • Affects Version/s: None
    • Fix Version/s: 3.5.0
    • Component/s: None
    • Labels:
      None

      Description

      Creating/ Retreiving/ Delete a mailbox of non-existing user
      Actual: Returns error message:
      ```

      { "statusCode": 404, "type": "InvalidArgument", "message": "Invalid get on user mailboxes", "details": null }

      ```

      Expected result
      Should add more details, such as:
      ```

      { "statusCode": 404, "type": "InvalidArgument", "message": "Invalid get on user mailboxes", "details": "non-existing user" }

      ```

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              ducnv Nguyễn Việt Đức
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: