Log request if next url is invalid.