checking response error message