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

Benoit Tellier commented on JAMES-3262:
---------------------------------------

Is there some more clues (like a stacktrace?) about what happened?

> Cannot run fix mailboxes inconsistencies task
> ---------------------------------------------
>
>                 Key: JAMES-3262
>                 URL: https://issues.apache.org/jira/browse/JAMES-3262
>             Project: James Server
>          Issue Type: Bug
>            Reporter: René Cordier
>            Priority: Major
>
> Some user reported that when trying to run the fixing mailboxes 
> inconsistencies task 
> [https://github.com/apache/james-project/blob/master/src/site/markdown/server/manage-webadmin.md#fixing-mailboxes-inconsistencies]
>  
> They got this as a response:
> {code:java}
> {
>   "statusCode": 500,
>   "type": "ServerError",
>   "message": "WebAdmin encountered an unexpected internal error",
>   "details": null
> }
> {code}
> A first investigation reveals that they might have forgotten to add the 
> `{{I-KNOW-WHAT-I-M-DOING}}` header, leading to a 500 response. However, we 
> should not return 500 in this case.
>  
> *DoD* :
>  * Reproduce the error with a unit test
>  * fix it: upon missing header we should return 400
>  * eventually rework the webadmin documentation to make it more clear that 
> this header is needed



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

---------------------------------------------------------------------
To unsubscribe, e-mail: server-dev-unsubscr...@james.apache.org
For additional commands, e-mail: server-dev-h...@james.apache.org

Reply via email to