handle non-expected http status