# Elasticsearch NEST deserializing issue. (Potential BUG)

**URL:** <https://discuss.elastic.co/t/elasticsearch-nest-deserializing-issue-potential-bug/335200>\
**Category:** Elasticsearch\
**Tags:** language-clients\
**Created:** [June 5, 2023, 9:51am UTC](https://discuss.elastic.co/t/elasticsearch-nest-deserializing-issue-potential-bug/335200 "2023-06-05T09:51:48Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Jacques\_du\_Plessis](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/jacques_du_plessis/32/35413_2.png) [@Jacques\_du\_Plessis](https://discuss.elastic.co/u/Jacques_du_Plessis)\
**Post date:** [June 5, 2023, 9:51am UTC](https://discuss.elastic.co/t/elasticsearch-nest-deserializing-issue-potential-bug/335200/1 "2023-06-05T09:51:48Z")

</div>

I am getting the following error while debugging the code. Basically I have an issue where I cant deserialize the response, see this [How to run multiple search templates using NEST](https://discuss.elastic.co/t/how-to-run-multiple-search-templates-using-nest/334933)

In frustration i pulled the github code and referenced it in my project to see what is going one. Got the below error. It says I should open a bug.

I don't even know what bug to open. These serializers/formatter makes no sense to me.

 ![image](https://us1.discourse-cdn.com/elastic/original/3X/2/5/2565b85a99fd309b16abc0c65d87025c4192c2fb.png)

---

<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:** [June 5, 2023, 10:10am UTC](https://discuss.elastic.co/t/elasticsearch-nest-deserializing-issue-potential-bug/335200/2 "2023-06-05T10:10:50Z")

</div>

Hi @Jacques_du_Plessis,

Thanks for giving details of your investigation. Which version of the .NET NEST client are you using? Can you raise a [Github bug issue](https://github.com/elastic/elasticsearch-net/issues/new/choose) for the respective version with the details of the error?

---

<div class="post-metadata">

**Author:** ![Jacques\_du\_Plessis](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/jacques_du_plessis/32/35413_2.png) [@Jacques\_du\_Plessis](https://discuss.elastic.co/u/Jacques_du_Plessis)\
**Post date:** [June 5, 2023, 11:09am UTC](https://discuss.elastic.co/t/elasticsearch-nest-deserializing-issue-potential-bug/335200/3 "2023-06-05T11:09:06Z")

</div>

I am using NEST version 7.17, initially I thought it had todo with the ES version I was running.  
I ran ES version 8.2 and the NEST version 7.17, but then I down graded my ES version to also 7.17 but the issue persisted.

I will open a bug, any chance you can help with a work around for my previous question? (The link that I sent.) The only thing i can think of is to send multiple requests.

---

<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:** [July 3, 2023, 11:09am UTC](https://discuss.elastic.co/t/elasticsearch-nest-deserializing-issue-potential-bug/335200/4 "2023-07-03T11:09:23Z")

</div>

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