# Shapes throw parse errors

**URL:** <https://discuss.elastic.co/t/shapes-throw-parse-errors/140715>\
**Category:** Elasticsearch\
**Created:** [July 19, 2018, 12:01pm UTC](https://discuss.elastic.co/t/shapes-throw-parse-errors/140715 "2018-07-19T12:01:27Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Destroy666](https://avatars.discourse-cdn.com/v4/letter/d/e9a140/32.png) [@Destroy666](https://discuss.elastic.co/u/Destroy666)\
**Post date:** [July 19, 2018, 12:01pm UTC](https://discuss.elastic.co/t/shapes-throw-parse-errors/140715/1 "2018-07-19T12:01:27Z")

</div>

Hello,

I'm not sure if that's your validation or a 5.6.x bug and I should upgrade, but the following shapes throw errors:

[https://pastebin.com/LeJpNish](https://pastebin.com/LeJpNish)  
[https://pastebin.com/ZyB4shHb](https://pastebin.com/ZyB4shHb)  
[https://pastebin.com/pdyP8pSR](https://pastebin.com/pdyP8pSR)

> **[View Paste 9H9Vx](https://paste.ee/p/9H9Vx)**
>
> Paste.ee - View Paste 9H9Vx

They seem to be ok when viewed in QGis, but then I'm not really into geo shape data. Please let me know what's wrong about them.

---

<div class="post-metadata">

**Author:** ![Destroy666](https://avatars.discourse-cdn.com/v4/letter/d/e9a140/32.png) [@Destroy666](https://discuss.elastic.co/u/Destroy666)\
**Post date:** [July 25, 2018, 1:55pm UTC](https://discuss.elastic.co/t/shapes-throw-parse-errors/140715/2 "2018-07-25T13:55:57Z")

</div>

Could anyone help? I can provide them in a different format if needed.

---

<div class="post-metadata">

**Author:** ![Igor\_Motov](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/igor_motov/32/45193_2.png) [@Igor\_Motov](https://discuss.elastic.co/u/Igor_Motov)\
**Post date:** [July 25, 2018, 8:17pm UTC](https://discuss.elastic.co/t/shapes-throw-parse-errors/140715/3 "2018-07-25T20:17:59Z")

</div>

It would be really helpful if you showed how you are adding these shapes and the error messages that you are getting. I tried indexing the first shape in v6.3.1 and it seems to work fine. I didn't test it in v5.6 because support for WKT syntax was added only in v6.2 and you only provided WKT format.

---

<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:** [August 22, 2018, 8:18pm UTC](https://discuss.elastic.co/t/shapes-throw-parse-errors/140715/4 "2018-08-22T20:18:00Z")

</div>

Closed on August 22, 2018, 8:18pm UTC

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