[ 
https://issues.apache.org/jira/browse/JAMES-3198?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17126341#comment-17126341
 ] 

René Cordier commented on JAMES-3198:
-------------------------------------

[https://github.com/linagora/james-project/pull/3417] contributed to this issue

> UserMailboxes api should provide detailMessage when error happened
> ------------------------------------------------------------------
>
>                 Key: JAMES-3198
>                 URL: https://issues.apache.org/jira/browse/JAMES-3198
>             Project: James Server
>          Issue Type: Improvement
>            Reporter: Nguyễn Việt Đức
>            Priority: Major
>
> 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"
> }
> ```



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to