# ERROR: failed to pull data from the cloud

**URL:** <https://discuss.dvc.org/t/error-failed-to-pull-data-from-the-cloud/852>\
**Category:** Questions\
**Created:** [August 22, 2021, 12:59pm UTC](https://discuss.dvc.org/t/error-failed-to-pull-data-from-the-cloud/852 "2021-08-22T12:59:41Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![ra\_md](https://avatars.discourse-cdn.com/v4/letter/r/51bf81/32.png) [@ra\_md](https://discuss.dvc.org/u/ra_md)\
**Post date:** [August 22, 2021, 12:59pm UTC](https://discuss.dvc.org/t/error-failed-to-pull-data-from-the-cloud/852/1 "2021-08-22T12:59:41Z")

</div>

DVC pull data from the s3 bucket is always failed in GitHub Action. My project link:

> **[GitHub - MLHafizur/heroku\_fastapi\_repo](https://github.com/MLHafizur/heroku_fastapi_repo)**
>
> Contribute to MLHafizur/heroku\_fastapi\_repo development by creating an account on GitHub.

 ![Screen Shot 2021-08-22 at 8.55.10 AM](https://canada1.discourse-cdn.com/flex035/uploads/dataversioncontrol/original/1X/f79ac308f2009c6bf7e87581cbe6140902ff9a24.jpeg)

Tried dvc pull and dvc push , giving same output everyting is up to date.

Hopping for your help.

---

<div class="post-metadata">

**Author:** ![jorgeorpinel](https://yyz1.discourse-cdn.com/flex035/user_avatar/discuss.dvc.org/jorgeorpinel/32/46_2.png) [@jorgeorpinel](https://discuss.dvc.org/u/jorgeorpinel)\
**Post date:** [August 24, 2021, 12:15am UTC](https://discuss.dvc.org/t/error-failed-to-pull-data-from-the-cloud/852/2 "2021-08-24T00:15:39Z")

</div>

Hey @ra_md,

The Github worker needs to have the credentials to connect to your S3 bucket. These can be configured with environment variables for example.

More info under “Click for Amazon S3” in [https://dvc.org/doc/command-reference/remote/modify#available-parameters-per-storage-type](https://dvc.org/doc/command-reference/remote/modify#available-parameters-per-storage-type)

p.s. if that’s not it you can try using `dvc pull -v` in the workflow to see what the exact problem is.

---

<div class="post-metadata">

**Author:** ![dberenbaum](https://avatars.discourse-cdn.com/v4/letter/d/5e9695/32.png) [@dberenbaum](https://discuss.dvc.org/u/dberenbaum)\
**Post date:** [August 24, 2021, 12:31am UTC](https://discuss.dvc.org/t/error-failed-to-pull-data-from-the-cloud/852/3 "2021-08-24T00:31:21Z")

</div>

Hm, it is odd that your data files seem to be pulled fine but not your model files. I’m not sure what’s happening, but you could try a few things:

- Update the command to `dvc pull -v` to get verbose output.
- Add `dvc doctor` to the github action commands so that your exact dvc version and info is captured in the output as well.
- Can you check if there is a file in your local repo at `.dvc/cache/65/12bbb0de17657f5642faab37d5f8b9`?
- Can you check if there is a file at `s3://herokufastapibucket/65/12bbb0de17657f5642faab37d5f8b9`?
