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

{
  "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
}

Looks like your config is missing "my_repo". Do you have more log lines?

Thanks,
Bhavya

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!

1 Like