raise_for_status on failed request