return plain response on err code