# Getting missing repository exception while creating a repo in snapshot.Please help

**URL:** <https://discuss.elastic.co/t/getting-missing-repository-exception-while-creating-a-repo-in-snapshot-please-help/283247>\
**Category:** Kibana\
**Tags:** snapshot-and-restore\
**Created:** [September 3, 2021, 7:03am UTC](https://discuss.elastic.co/t/getting-missing-repository-exception-while-creating-a-repo-in-snapshot-please-help/283247 "2021-09-03T07:03:55Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![yangesh4u](https://avatars.discourse-cdn.com/v4/letter/y/3e96dc/32.png) [@yangesh4u](https://discuss.elastic.co/u/yangesh4u)\
**Post date:** [September 3, 2021, 7:03am UTC](https://discuss.elastic.co/t/getting-missing-repository-exception-while-creating-a-repo-in-snapshot-please-help/283247/1 "2021-09-03T07:03:55Z")

</div>

```auto
{
  "error": {
    "root_cause": [
      {
        "type": "repository_verification_exception",
        "reason": "[my_repo] [[CZR5TlNcQCy-MvDNaUs7JA, 'RemoteTransportException[[ant-es-master-only-3][155.165.157.81:9300][internal:admin/repository/verify]]; nested: RepositoryMissingException[[my_repo] missing];']]"
      }
    ],
    "type": "repository_verification_exception",
    "reason": "[my_repo] [[CZR5TlNcQCy-MvDNaUs7JA, 'RemoteTransportException[[ant-es-master-only-3][155.165.157.81:9300][internal:admin/repository/verify]]; nested: RepositoryMissingException[[my_repo] missing];']]"
  },
  "status": 500
}

```

---

<div class="post-metadata">

**Author:** ![bhavyarm](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/bhavyarm/32/22392_2.png) [@bhavyarm](https://discuss.elastic.co/u/bhavyarm)\
**Post date:** [September 3, 2021, 8:04pm UTC](https://discuss.elastic.co/t/getting-missing-repository-exception-while-creating-a-repo-in-snapshot-please-help/283247/2 "2021-09-03T20:04:57Z")

</div>

Looks like your config is missing "my\_repo". Do you have more log lines?

Thanks,  
Bhavya

---

<div class="post-metadata">

**Author:** ![cjcenizal](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/cjcenizal/32/11216_2.png) [@cjcenizal](https://discuss.elastic.co/u/cjcenizal)\
**Post date:** [September 3, 2021, 8:43pm UTC](https://discuss.elastic.co/t/getting-missing-repository-exception-while-creating-a-repo-in-snapshot-please-help/283247/3 "2021-09-03T20:43:35Z")

</div>

I'd like to second what Bhavya said. It looks like you don't have a repository `my_repo`. Could you please provide some additional information, below.

Which version of the Elastic Stack are you using?

What is the response you get when you execute `GET /_snapshot/my_repo`?

What is the request you executed that responded with the error you originally posted?

Thank you!

---

<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:** [October 1, 2021, 8:44pm UTC](https://discuss.elastic.co/t/getting-missing-repository-exception-while-creating-a-repo-in-snapshot-please-help/283247/4 "2021-10-01T20:44:22Z")

</div>

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