# 500 error on running commands on kibana console

**URL:** <https://discuss.elastic.co/t/500-error-on-running-commands-on-kibana-console/323728>\
**Category:** Kibana\
**Tags:** kql-kibana-query-language, snapshot-and-restore\
**Created:** [January 23, 2023, 12:50pm UTC](https://discuss.elastic.co/t/500-error-on-running-commands-on-kibana-console/323728 "2023-01-23T12:50:55Z")\
**Posts on this page:** 10\
**Page:** 1

<div class="post-metadata">

**Author:** ![pranita.ch](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/pranita.ch/32/117352_2.png) [@pranita.ch](https://discuss.elastic.co/u/pranita.ch)\
**Post date:** [January 23, 2023, 12:50pm UTC](https://discuss.elastic.co/t/500-error-on-running-commands-on-kibana-console/323728/1 "2023-01-23T12:50:55Z")

</div>

Version  
Elasticsearch 7.10

Service software version  
R20220928-P2 (latest)

on Kibana after running

```auto
GET _snapshot/my-snapshot-repo/_all?pretty

```

its gives 500 error

```auto
{
"error" : {
"root_cause" : [
{
"type" : "repository_exception",
"reason" : "[my-snapshot-repo] Unexpected exception when loading repository data"
}
],
"type" : "repository_exception",
"reason" : "[my-snapshot-repo] Unexpected exception when loading repository data",
"caused_by" : {
"type" : "amazon_s3_exception",
"reason" : "The ciphertext refers to a customer master key that does not exist, does not exist in this region, or you are not allowed to access. (Service: Amazon S3; Status Code: 403; Error Code: AccessDenied; Request ID: EMYFDJVYSXYJP0MS; S3 Extended Request ID: Sr5RAl41ANCJbOQOD3xAXgec6YMO+8Hr8lOq/oHUP4gKphd0olF4aMk6TQKsFhHcKAAKBSf4p1j+p/AUb8Pf1A==)"
}
},
"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:** [January 23, 2023, 4:09pm UTC](https://discuss.elastic.co/t/500-error-on-running-commands-on-kibana-console/323728/2 "2023-01-23T16:09:35Z")

</div>

Elasticsearch 7.10 is [EOL](https://www.elastic.co/support/eol) and no longer supported. Please upgrade ASAP.

(This is an automated response from your friendly Elastic bot. Please report this post if you have any suggestions or concerns :elasticheart: )

---

<div class="post-metadata">

**Author:** ![carly.richmond](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/carly.richmond/32/104935_2.png) [@carly.richmond](https://discuss.elastic.co/u/carly.richmond)\
**Post date:** [January 23, 2023, 4:24pm UTC](https://discuss.elastic.co/t/500-error-on-running-commands-on-kibana-console/323728/3 "2023-01-23T16:24:09Z")

</div>

Hi Pranita,

As the bot says, you're on a rather old version of Elastic that's EOL, so we would recommend updating.

That error looks to be related to the permissions on the storage location. Have you checked your access settings?

---

<div class="post-metadata">

**Author:** ![pranita.ch](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/pranita.ch/32/117352_2.png) [@pranita.ch](https://discuss.elastic.co/u/pranita.ch)\
**Post date:** [January 24, 2023, 10:02am UTC](https://discuss.elastic.co/t/500-error-on-running-commands-on-kibana-console/323728/4 "2023-01-24T10:02:45Z")

</div>

on updating i am still getting the error

---

<div class="post-metadata">

**Author:** ![carly.richmond](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/carly.richmond/32/104935_2.png) [@carly.richmond](https://discuss.elastic.co/u/carly.richmond)\
**Post date:** [January 24, 2023, 10:09am UTC](https://discuss.elastic.co/t/500-error-on-running-commands-on-kibana-console/323728/5 "2023-01-24T10:09:35Z")

</div>

I've just seen in your message that you're using OpenSearch. OpenSearch is an AWS product [as per the details in this post](https://www.elastic.co/what-is/opensearch). I would suggest directing you question to the [OpenSearch forums](https://forum.opensearch.org/) for help as they can advise better.

---

<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:** [January 24, 2023, 10:09am UTC](https://discuss.elastic.co/t/500-error-on-running-commands-on-kibana-console/323728/6 "2023-01-24T10:09:36Z")

</div>

OpenSearch/OpenDistro are AWS run products and differ from the original Elasticsearch and Kibana products that Elastic builds and maintains. You may need to contact them directly for further assistance.

(This is an automated response from your friendly Elastic bot. Please report this post if you have any suggestions or concerns :elasticheart: )

---

<div class="post-metadata">

**Author:** ![pranita.ch](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/pranita.ch/32/117352_2.png) [@pranita.ch](https://discuss.elastic.co/u/pranita.ch)\
**Post date:** [January 24, 2023, 12:17pm UTC](https://discuss.elastic.co/t/500-error-on-running-commands-on-kibana-console/323728/7 "2023-01-24T12:17:36Z")

</div>

changed the version to Elasticsearch now also getting the same error

On giving command

```auto
GET _snapshot/my-snapshot-repo/_status

```

I get

```auto
200 success

```

but on running

```auto
GET _snapshot/my-snapshot-repo/_all?pretty

```

I get 500 error

```auto
{
"error" : {
"root_cause" : [
{
"type" : "repository_exception",
"reason" : "[my-snapshot-repo] Unexpected exception when loading repository data"
}
],
"type" : "repository_exception",
"reason" : "[my-snapshot-repo] Unexpected exception when loading repository data",
"caused_by" : {
"type" : "amazon_s3_exception",
"reason" : "The ciphertext refers to a customer master key that does not exist, does not exist in this region, or you are not allowed to access. (Service: Amazon S3; Status Code: 403; Error Code: AccessDenied; Request ID: EMYFDJVYSXYJP0MS; S3 Extended Request ID: Sr5RAl41ANCJbOQOD3xAXgec6YMO+8Hr8lOq/oHUP4gKphd0olF4aMk6TQKsFhHcKAAKBSf4p1j+p/AUb8Pf1A==)"
}
},
"status" : 500
}

```

---

<div class="post-metadata">

**Author:** ![carly.richmond](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/carly.richmond/32/104935_2.png) [@carly.richmond](https://discuss.elastic.co/u/carly.richmond)\
**Post date:** [January 24, 2023, 12:53pm UTC](https://discuss.elastic.co/t/500-error-on-running-commands-on-kibana-console/323728/8 "2023-01-24T12:53:22Z")

</div>

Can you confirm if you're using Elaticsearch or OpenSearch? I see you've changed the original post. If you're using OpenSearch given the divergence in features it is best to use the OpenSearch forums linked to above instead of this forum.

---

<div class="post-metadata">

**Author:** ![pranita.ch](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/pranita.ch/32/117352_2.png) [@pranita.ch](https://discuss.elastic.co/u/pranita.ch)\
**Post date:** [January 24, 2023, 2:01pm UTC](https://discuss.elastic.co/t/500-error-on-running-commands-on-kibana-console/323728/9 "2023-01-24T14:01:33Z")

</div>

this is the work i have done as have to work on Elasticsearch hence need solution for the same

---

<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:** [February 21, 2023, 2:02pm UTC](https://discuss.elastic.co/t/500-error-on-running-commands-on-kibana-console/323728/10 "2023-02-21T14:02:28Z")

</div>

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