# Why does snapshot restore have permission error?

**URL:** <https://forum.opensearch.org/t/why-does-snapshot-restore-have-permission-error/3287>\
**Category:** Security\
**Created:** [July 9, 2020, 11:38am UTC](https://forum.opensearch.org/t/why-does-snapshot-restore-have-permission-error/3287 "2020-07-09T11:38:08Z")\
**Posts on this page:** 1\
**Showing post:** 1

<div class="post-metadata">

**Author:** ![twpower](https://avatars.discourse-cdn.com/v4/letter/t/b77776/32.png) [@twpower](https://forum.opensearch.org/u/twpower)\
**Post date:** [July 9, 2020, 11:38am UTC](https://forum.opensearch.org/t/why-does-snapshot-restore-have-permission-error/3287/1 "2020-07-09T11:38:08Z")

</div>

Hello?  
I just tried to restore snapshot indices.

Howerver there is security permission issue. This is used my admin user.

Any ideas?

* * *

## POST /\_snapshot/admin/metricbeat-7.7.0-restore-not-work-2020.07.09\_11:25:47/\_restore { “indices”: “metricbeat-7.7.0-restore-not-work”, “ignore\_unavailable”: true, “include\_global\_state”: false, “rename\_pattern”: “metricbeat-7.7.0-restore-not-work”, “rename\_replacement”: “metricbeat-7.7.0-restore-not-work-rere”, “include\_aliases”: false }

## { “error” : { “root\_cause” : [{ “type” : “security\_exception”, “reason” : “no permissions for and User [name=admin, backend\_roles=[admin], requestedTenant= **user** ]” } ], “type” : “security\_exception”, “reason” : “no permissions for and User [name=admin, backend\_roles=[admin], requestedTenant= **user** ]” }, “status” : 403 }

---

_[View the full topic](https://forum.opensearch.org/t/why-does-snapshot-restore-have-permission-error/3287)._
