error only if statuscode > 400
error only if statuscode > 400