use error status 500 when err code is no number