Fixed missing exceptions for http codes other than 200