made it flow HttpApiResponseException for any nonsuccess status code other than 400