# Error repository verification exception

**URL:** <https://discuss.elastic.co/t/error-repository-verification-exception/227238>\
**Category:** Elasticsearch\
**Created:** [April 9, 2020, 5:36am UTC](https://discuss.elastic.co/t/error-repository-verification-exception/227238 "2020-04-09T05:36:14Z")\
**Posts on this page:** 9\
**Page:** 1

<div class="post-metadata">

**Author:** ![Fourir\_Akbar](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/fourir_akbar/32/65972_2.png) [@Fourir\_Akbar](https://discuss.elastic.co/u/Fourir_Akbar)\
**Post date:** [April 9, 2020, 5:36am UTC](https://discuss.elastic.co/t/error-repository-verification-exception/227238/1 "2020-04-09T05:36:15Z")

</div>

Hi there, I use Elasticsearch 6.x

I follow this tutorial: [https://badshah.io/backup-and-restore-elasticsearch-cluster-using-gcs/](https://badshah.io/backup-and-restore-elasticsearch-cluster-using-gcs/)

But I got an error `repository_verification_exception` After I create a repository

```auto
{
  "error": {
    "root_cause": [
      {
        "type": "repository_verification_exception",
        "reason": "[backup] [[Z_bopU6OSbuJZnTYUewk_Q, 'RemoteTransportException[[hostname1][IP_ES:9300][internal:admin/repository/verify]]; nested: RepositoryMissingException[[backup] missing];']]"
      }
    ],
    "type": "repository_verification_exception",
    "reason": "[backup] [[Z_bopU6OSbuJZnTYUewk_Q, 'RemoteTransportException[[hostname1][IP_ES:9300][internal:admin/repository/verify]]; nested: RepositoryMissingException[[backup] missing];']]"
  },
  "status": 500
}

```

Command that I use to create repository

```auto
curl -X PUT -H "Content-Type: application/json" -d '{"type": "gcs", "settings": {"bucket": "backup_elastic", "base_path": "es-backup"} }' localhost:9200/_snapshot/backup

```

I already search in google for this error, but I still I can't find the answer. Maybe someone in here can help me.  
Thanks!

---

<div class="post-metadata">

**Author:** ![shrikantgulia](https://avatars.discourse-cdn.com/v4/letter/s/c68b51/32.png) [@shrikantgulia](https://discuss.elastic.co/u/shrikantgulia)\
**Post date:** [April 9, 2020, 9:43am UTC](https://discuss.elastic.co/t/error-repository-verification-exception/227238/2 "2020-04-09T09:43:26Z")

</div>

Hello,  
@Fourir_Akbar  
Please check the Permission for the repository

Regards

---

<div class="post-metadata">

**Author:** ![Fourir\_Akbar](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/fourir_akbar/32/65972_2.png) [@Fourir\_Akbar](https://discuss.elastic.co/u/Fourir_Akbar)\
**Post date:** [April 9, 2020, 2:22pm UTC](https://discuss.elastic.co/t/error-repository-verification-exception/227238/3 "2020-04-09T14:22:08Z")

</div>

Hi @shrikantgulia, thanks for the reply.  
Hmm but where is the repository located? By the way, I'm not adding `path.repo` configuration in elasticsearch.yml

---

<div class="post-metadata">

**Author:** ![dadoonet](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/dadoonet/32/137187_2.png) [@dadoonet](https://discuss.elastic.co/u/dadoonet)\
**Post date:** [April 9, 2020, 2:28pm UTC](https://discuss.elastic.co/t/error-repository-verification-exception/227238/4 "2020-04-09T14:28:22Z")

</div>

You may need to check this? [https://www.elastic.co/guide/en/elasticsearch/plugins/current/repository-gcs-usage.html#repository-gcs-service-authentication](https://www.elastic.co/guide/en/elasticsearch/plugins/current/repository-gcs-usage.html#repository-gcs-service-authentication)

---

<div class="post-metadata">

**Author:** ![Fourir\_Akbar](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/fourir_akbar/32/65972_2.png) [@Fourir\_Akbar](https://discuss.elastic.co/u/Fourir_Akbar)\
**Post date:** [April 13, 2020, 3:27am UTC](https://discuss.elastic.co/t/error-repository-verification-exception/227238/5 "2020-04-13T03:27:55Z")

</div>

Hi @dadoonet, thanks for the repoly  
I also try that, but I got same error in the last step.. same error..

---

<div class="post-metadata">

**Author:** ![dadoonet](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/dadoonet/32/137187_2.png) [@dadoonet](https://discuss.elastic.co/u/dadoonet)\
**Post date:** [April 20, 2020, 10:36am UTC](https://discuss.elastic.co/t/error-repository-verification-exception/227238/6 "2020-04-20T10:36:48Z")

</div>

I honestly don't know then. May be @ikakavas knows?

---

<div class="post-metadata">

**Author:** ![ikakavas](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/ikakavas/32/34430_2.png) [@ikakavas](https://discuss.elastic.co/u/ikakavas)\
**Post date:** [April 20, 2020, 11:07am UTC](https://discuss.elastic.co/t/error-repository-verification-exception/227238/7 "2020-04-20T11:07:26Z")

</div>

Can you be more clear ? What is "that" in "I also try that" ?

Also going back to the original post, it is not clear when you get the error, trying to do what? Creating the repository or taking a snapshot.

Can you please start fresh, create the repository again and copy paste here all the commands your are executing and the responses you get from elasticsearch? The more information you give,the easier it is for folks in the forums to help you out !

---

<div class="post-metadata">

**Author:** ![Fourir\_Akbar](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/fourir_akbar/32/65972_2.png) [@Fourir\_Akbar](https://discuss.elastic.co/u/Fourir_Akbar)\
**Post date:** [April 21, 2020, 4:45am UTC](https://discuss.elastic.co/t/error-repository-verification-exception/227238/8 "2020-04-21T04:45:57Z")

</div>

Hmm, I'm sorry @ikakavas for the unclear information.

I mean "that" is link @dadoonet give to me -\> [https://www.elastic.co/guide/en/elasticsearch/plugins/current/repository-gcs-usage.html#repository-gcs-service-authentication](https://www.elastic.co/guide/en/elasticsearch/plugins/current/repository-gcs-usage.html#repository-gcs-service-authentication)

I got an error when creating a repository. This is my command to create a repository:

```
    curl -X PUT -H "Content-Type: application/json" -d '{"type": "gcs", "settings": {"bucket": "backup_elastic", "base_path": "es-backup"} }' localhost:9200/_snapshot/backup

```

After I hit enter, I got an error:

```auto
{
  "error": {
    "root_cause": [
      {
        "type": "repository_verification_exception",
        "reason": "[backup] [[Z_bopU6OSbuJZnTYUewk_Q, 'RemoteTransportException[[ms-esdata-flightsearch1][10.145.128.198:9300][internal:admin/repository/verify]]; nested: RepositoryMissingException[[backup] missing];']]"
      }
    ],
    "type": "repository_verification_exception",
    "reason": "[backup] [[Z_bopU6OSbuJZnTYUewk_Q, 'RemoteTransportException[[ms-esdata-flightsearch1][10.145.128.198:9300][internal:admin/repository/verify]]; nested: RepositoryMissingException[[backup] missing];']]"
  },
  "status": 500
}

```

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/elastic/original/3X/1/a/1ac57faf039f6b580b3f104ef42a2a89e41014de.png) [@system](https://discuss.elastic.co/u/system)\
**Post date:** [May 19, 2020, 4:46am UTC](https://discuss.elastic.co/t/error-repository-verification-exception/227238/9 "2020-05-19T04:46:08Z")

</div>

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.
