# "dvc add -external S3://mybucket/data.csv" is failing with access error even after giving correct remote cache configurations

**URL:** <https://discuss.dvc.org/t/dvc-add-external-s3-mybucket-data-csv-is-failing-with-access-error-even-after-giving-correct-remote-cache-configurations/726>\
**Category:** Questions\
**Created:** [April 15, 2021, 7:59am UTC](https://discuss.dvc.org/t/dvc-add-external-s3-mybucket-data-csv-is-failing-with-access-error-even-after-giving-correct-remote-cache-configurations/726 "2021-04-15T07:59:49Z")\
**Posts on this page:** 1\
**Showing post:** 5

<div class="post-metadata">

**Author:** ![veeresh](https://avatars.discourse-cdn.com/v4/letter/v/df705f/32.png) [@veeresh](https://discuss.dvc.org/u/veeresh)\
**Post date:** [April 16, 2021, 2:25am UTC](https://discuss.dvc.org/t/dvc-add-external-s3-mybucket-data-csv-is-failing-with-access-error-even-after-giving-correct-remote-cache-configurations/726/5 "2021-04-16T02:25:21Z")

</div>

Hi @jorgeorpinel ,

Its the same error I get even if I pass full dataset path.  
I’m passing the data path along with bucket name like below. Its still the same issue/error.

- dvc add -v --external s3://dataset/wine-quality.csv  
Does the above command also use locally configured AWS S3 configuration and not DVC remote configurations.

config,  
[core]  
remote = s3remote  
[cache]  
s3 = s3cache  
[‘remote “s3remote”’]  
url = S3://dataset  
endpointurl = http://{XYZ}:9000/  
access\_key\_id = user  
secret\_access\_key = password  
use\_ssl = false  
[‘remote “s3cache”’]  
url = s3://dataset/cache/  
endpointurl = http://{XYZ}:9000/  
access\_key\_id = user  
secret\_access\_key = password  
use\_ssl = false

This is my Minio bucket structure I have,

 ![image](https://canada1.discourse-cdn.com/flex035/uploads/dataversioncontrol/original/1X/e9427f622d6a5828e9a505bad6b60b02124f1fa6.png)

PS: I’m using remote hosted Minio server to connect.

---

_[View the full topic](https://discuss.dvc.org/t/dvc-add-external-s3-mybucket-data-csv-is-failing-with-access-error-even-after-giving-correct-remote-cache-configurations/726)._
