# Elasticsearch NEST client GetSnapshotRequest method is not returning index\_details

**URL:** <https://discuss.elastic.co/t/elasticsearch-nest-client-getsnapshotrequest-method-is-not-returning-index-details/348015>\
**Category:** Elasticsearch\
**Tags:** language-clients, snapshot-and-restore\
**Created:** [November 27, 2023, 7:42am UTC](https://discuss.elastic.co/t/elasticsearch-nest-client-getsnapshotrequest-method-is-not-returning-index-details/348015 "2023-11-27T07:42:22Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![EVINDX](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/evindx/32/107098_2.png) [@EVINDX](https://discuss.elastic.co/u/EVINDX)\
**Post date:** [November 27, 2023, 7:42am UTC](https://discuss.elastic.co/t/elasticsearch-nest-client-getsnapshotrequest-method-is-not-returning-index-details/348015/1 "2023-11-27T07:42:22Z")

</div>

I'm using NEST version 7.17 to communicate with Elasticsearch 7.17

I have a snapshot created without any issues. I'm able to restore the snapshot as well.  
I can get the Elasticsearch index details in the snapshot via this [endpoint](https://www.elastic.co/guide/en/elasticsearch/reference/current/get-snapshot-api.html#:~:text=in%20the%20snapshot.-,index_details,-(object)%20Details%20of)

but these details are not returned by NEST client with GetSnapshotRequest even when IndexDetails is set to true.

has anyone faced this issue before?

---

<div class="post-metadata">

**Author:** ![EVINDX](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/evindx/32/107098_2.png) [@EVINDX](https://discuss.elastic.co/u/EVINDX)\
**Post date:** [November 28, 2023, 1:49pm UTC](https://discuss.elastic.co/t/elasticsearch-nest-client-getsnapshotrequest-method-is-not-returning-index-details/348015/2 "2023-11-28T13:49:00Z")

</div>

the issue is resolved after I passed a customized response to low level client template inheriting from ResponseBase with "index\_details" as attribute.

---

<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:** [December 26, 2023, 1:49pm UTC](https://discuss.elastic.co/t/elasticsearch-nest-client-getsnapshotrequest-method-is-not-returning-index-details/348015/3 "2023-12-26T13:49:01Z")

</div>

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