# How to upgrade version of elasticsearch 5.5.1 to the opensearch 2.11.0

**URL:** <https://forum.opensearch.org/t/how-to-upgrade-version-of-elasticsearch-5-5-1-to-the-opensearch-2-11-0/17877>\
**Category:** Community\
**Created:** [February 13, 2024, 8:57am UTC](https://forum.opensearch.org/t/how-to-upgrade-version-of-elasticsearch-5-5-1-to-the-opensearch-2-11-0/17877 "2024-02-13T08:57:54Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![surajrajegore](https://avatars.discourse-cdn.com/v4/letter/s/aeb1de/32.png) [@surajrajegore](https://forum.opensearch.org/u/surajrajegore)\
**Post date:** [February 13, 2024, 8:57am UTC](https://forum.opensearch.org/t/how-to-upgrade-version-of-elasticsearch-5-5-1-to-the-opensearch-2-11-0/17877/1 "2024-02-13T08:57:54Z")

</div>

While upgrading from the version 5.5.1 to the opensearch 2.11.0 i am getting the follwing error`{ "error": { "root_cause": [{ "type": "parsing_exception", "reason": "Unknown key for a VALUE_STRING in [type].", "line": 1, "col": 9 } ], "type": "x_content_parse_exception", "reason": "[1:107] [reindex] failed to parse field [source]", "caused_by": { "type": "parsing_exception", "reason": "Unknown key for a VALUE_STRING in [type].", "line": 1, "col": 9 } }, "status": 400 }`
