xml: < error- page> < error- code> 415< / error- code> < location> / InvalidContentHandler< / location> < / error- page>. throws IOException { / / Pass control to Jersey, or get some info: Throwable throwable = ( Throwable) request. I solved my problem by doing this. In my error page I just added an event listener that force the status code to 200.