add log on data nil for non-ok http status