# Strange error after trying to manually edit config

**URL:** https://discuss.dvc.org/t/strange-error-after-trying-to-manually-edit-config/2042
**Category:** Questions
**Created:** [April 15, 2024, 7:59am UTC](https://discuss.dvc.org/t/strange-error-after-trying-to-manually-edit-config/2042 "2024-04-15T07:59:40Z")
**Posts on this page:** 2
**Page:** 1

<div class="post-metadata">

### Author: ![Aliaga](https://avatars.discourse-cdn.com/v4/letter/a/fbc32d/32.png) [@Aliaga](https://discuss.dvc.org/u/Aliaga)
#### Post date: [April 15, 2024, 7:59am UTC](https://discuss.dvc.org/t/strange-error-after-trying-to-manually-edit-config/2042/1 "2024-04-15T07:59:40Z")

</div>

I have the following config file

```auto
['remote "origin"']
   url = s3://dvc
   endpointurl = https://dagshub.com/myuser/myproject.s3

```

This is the product of following the dagshub tutorial here [Version Control and ML Experimentation Tutorial with DagsHub – Data Versioning - DagsHub Docs](https://dagshub.com/docs/experiment_tutorial/2_data_versioning/#pushing-code-data-and-models-to-dagshub)

It seems this is wrong because I can not do

```auto
dvc push --all-commits

```

The problem is when I try to edit this file manually all dvc commands become unusable!  
with the error

`ERROR: Configuration error config file error extra keys not allowed @ data['remote']['origin']['access_key_id']`

or simiar errors

So I have the following questions

1. How can I add DVC remote to dagshub?
2. How can I edit config file without my whole system become unusable?

---

<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: [April 15, 2024, 11:38am UTC](https://discuss.dvc.org/t/strange-error-after-trying-to-manually-edit-config/2042/2 "2024-04-15T11:38:01Z")

</div>

Could you post the output of `dvc doctor`?
