Total raise exception on API request error.