Send empty doc on exceptions for not known formats + status code