Unnable to list snapshots in Elasticsearch repository

So you are probably doing something which is not exactly that but I can't tell...
May be do a screenshot?

Here is what I have when I run this exact command locally:

{
  "error" : {
    "root_cause" : [
      {
        "type" : "repository_exception",
        "reason" : "[old_anthill_efk_nopci] location [/opt/elasticsearch-backup/efk-anthill-nopci-14.03.2021] doesn't match any of the locations specified by path.repo because this setting is empty"
      }
    ],
    "type" : "repository_exception",
    "reason" : "[old_anthill_efk_nopci] failed to create repository",
    "caused_by" : {
      "type" : "repository_exception",
      "reason" : "[old_anthill_efk_nopci] location [/opt/elasticsearch-backup/efk-anthill-nopci-14.03.2021] doesn't match any of the locations specified by path.repo because this setting is empty"
    }
  },
  "status" : 500
}

Which is expected. But at least my request is correct.