Check statusCode