# After upgrading from 7.1 to 8.7, I lost my data

**URL:** <https://discuss.elastic.co/t/after-upgrading-from-7-1-to-8-7-i-lost-my-data/331126>\
**Category:** Elasticsearch\
**Created:** [April 29, 2023, 11:44am UTC](https://discuss.elastic.co/t/after-upgrading-from-7-1-to-8-7-i-lost-my-data/331126 "2023-04-29T11:44:27Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![toshihisa-nakamura](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/toshihisa-nakamura/32/117204_2.png) [@toshihisa-nakamura](https://discuss.elastic.co/u/toshihisa-nakamura)\
**Post date:** [April 29, 2023, 11:44am UTC](https://discuss.elastic.co/t/after-upgrading-from-7-1-to-8-7-i-lost-my-data/331126/1 "2023-04-29T11:44:28Z")

</div>

After upgrading from 7.1 to 8.7, I lost my data.

With Version 8.7, I want to be able to enter data into Elasticsearch and display graphs in Kibana as before.

I've been using it for several years just to send weather data to Elastic Cloud and display graphs in Kibana, but I accidentally upgraded to 8.7 (without reading the requirements).

As a result, the data no longer entered Elasticsearch.

I'm reading the Ver8.7 tutorial, but is it a function I don't know or a term? service? are increasing, and I don't know where to start, or if I can solve the problem by self-studying the keywords.

Can anyone please enlighten me?

Thank you.

Environment: Elastic Cloud Standard

data transmission  
Environment: Node-RED  
How: http request node  
Method: POST  
URL：https://｛『elastic cloud 』｝/{index}/data/?pretty

Return code from Elasticsearch:  
{  
"error" : "no handler found for uri [/{index}/data/?pretty] and method [POST]"  
}

---

<div class="post-metadata">

**Author:** ![stephenb](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/stephenb/32/40856_2.png) [@stephenb](https://discuss.elastic.co/u/stephenb)\
**Post date:** [April 29, 2023, 11:51pm UTC](https://discuss.elastic.co/t/after-upgrading-from-7-1-to-8-7-i-lost-my-data/331126/2 "2023-04-29T23:51:48Z")

</div>

Hi @toshihisa-nakamura

I suspect your data is still there.

You are not using the API correctly.

Can you try

`curl -u elastic https://<endpoint>/_cat/indices?v`

There is no POST to `data` only to `_doc`

`POST https://<endpoint>/<yourindexname>/_doc`

Perhaps review

> **[Index API | Elasticsearch Guide \[8.7\] | Elastic](https://www.elastic.co/guide/en/elasticsearch/reference/current/docs-index_.html)**

---

<div class="post-metadata">

**Author:** ![toshihisa-nakamura](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/toshihisa-nakamura/32/117204_2.png) [@toshihisa-nakamura](https://discuss.elastic.co/u/toshihisa-nakamura)\
**Post date:** [May 1, 2023, 4:05am UTC](https://discuss.elastic.co/t/after-upgrading-from-7-1-to-8-7-i-lost-my-data/331126/3 "2023-05-01T04:05:29Z")

</div>

thank you for your reply.

I'll try.

---

<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:** [May 29, 2023, 4:06am UTC](https://discuss.elastic.co/t/after-upgrading-from-7-1-to-8-7-i-lost-my-data/331126/4 "2023-05-29T04:06:22Z")

</div>

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