# ERROR: failed to pull data from the cloud - CI-CD pipeline

**URL:** <https://discuss.dvc.org/t/error-failed-to-pull-data-from-the-cloud-ci-cd-pipeline/1535>\
**Category:** Questions\
**Created:** [February 21, 2023, 6:36pm UTC](https://discuss.dvc.org/t/error-failed-to-pull-data-from-the-cloud-ci-cd-pipeline/1535 "2023-02-21T18:36:06Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Veerendra](https://avatars.discourse-cdn.com/v4/letter/v/59ef9b/32.png) [@Veerendra](https://discuss.dvc.org/u/Veerendra)\
**Post date:** [February 21, 2023, 6:36pm UTC](https://discuss.dvc.org/t/error-failed-to-pull-data-from-the-cloud-ci-cd-pipeline/1535/1 "2023-02-21T18:36:06Z")

</div>

Hi,  
I am getting this error “ERROR: failed to pull data from the cloud - Checkout failed for following targets:” with some files. The details are below

- Creating CI-CD pipeline for ML Model  
commands in git workflow yaml file are below

```auto
  - name: Dvc pull updated files
      run: | 
         dvc pull -v
    - name: Run pipeline
      run: |
         dvc repro -f 

```

```auto
2023-02-21 17:58:37,096 ERROR: failed to pull data from the cloud - Checkout failed for following targets:
/home/runner/work/MLOTest/MLOTest/data/processed/churn_train.csv
/home/runner/work/MLOTest/MLOTest/data/processed/churn_test.csv
/home/runner/work/MLOTest/MLOTest/models/model.joblib
/home/runner/work/MLOTest/MLOTest/data/external/train.csv
/home/runner/work/MLOTest/MLOTest/data/raw/train.csv

```

dvc version: 2.45.1

Please give your inputs to resolve the issue

Thanks,  
Veerendra

---

<div class="post-metadata">

**Author:** ![daavoo](https://avatars.discourse-cdn.com/v4/letter/d/b4bc9f/32.png) [@daavoo](https://discuss.dvc.org/u/daavoo)\
**Post date:** [February 21, 2023, 7:00pm UTC](https://discuss.dvc.org/t/error-failed-to-pull-data-from-the-cloud-ci-cd-pipeline/1535/2 "2023-02-21T19:00:47Z")

</div>

Hi @Veerendra , if that is the first time you are running the Pipeline, the error is expected as there are no files in the remote yet.

There is a feature request for adding a flag to ignore those error in [dvc checkout --ignore-missing; build workspace even if some data is missing in local cache · Issue #4746 · iterative/dvc · GitHub](https://github.com/iterative/dvc/issues/4746) .

As a workaround, you can update your workflow to ignore the error and still run the pipeline:

```yaml
    - name: Dvc pull updated files
      continue-on-error: true
      run: | 
         dvc pull -v 
    - name: Run pipeline
      run: |
         dvc repro -f 

```

Or instead, run `dvc pull -v ||`

---

<div class="post-metadata">

**Author:** ![Veerendra](https://avatars.discourse-cdn.com/v4/letter/v/59ef9b/32.png) [@Veerendra](https://discuss.dvc.org/u/Veerendra)\
**Post date:** [February 22, 2023, 11:42am UTC](https://discuss.dvc.org/t/error-failed-to-pull-data-from-the-cloud-ci-cd-pipeline/1535/3 "2023-02-22T11:42:41Z")

</div>

The problem is fixed. Thank you Daavoo.

---

<div class="post-metadata">

**Author:** ![Veerendra](https://avatars.discourse-cdn.com/v4/letter/v/59ef9b/32.png) [@Veerendra](https://discuss.dvc.org/u/Veerendra)\
**Post date:** [February 22, 2023, 11:43am UTC](https://discuss.dvc.org/t/error-failed-to-pull-data-from-the-cloud-ci-cd-pipeline/1535/4 "2023-02-22T11:43:55Z")

</div>

Thank you. The issue is resolved.
