Ingestioin pipeline and Expected<T> type