add errors for status codes other than 2xx