add a missing line to get response when http status is 5xx