# Exception on Export Snapshot

**URL:** https://discourse.gplates.org/t/exception-on-export-snapshot/624
**Category:** Bug Reports
**Created:** [3 January 2023 04:11 UTC](https://discourse.gplates.org/t/exception-on-export-snapshot/624 "2023-01-03T04:11:38Z")
**Posts on this page:** 2
**Page:** 1

<div class="post-metadata">

### Author: ![ZenielDanaku](https://discourse.gplates.org/letter_avatar_proxy/v4/letter/z/c77e96/32.png) [@ZenielDanaku](https://discourse.gplates.org/u/ZenielDanaku)
#### Post date: [3 January 2023 04:11 UTC](https://discourse.gplates.org/t/exception-on-export-snapshot/624/1 "2023-01-03T04:11:38Z")

</div>

I’m getting an error on the console whenever I try to export a single snapshot from either 2.3 or 2.2  
the stacktrace reads:  
InvalidPointsForPolylineConstructionError: insufficient distinct points  
(E:\Users\John\Development\Usyd\gplates\src\2.3\src\maths\PolylineOnSphere.h, 1091)

Gplates doesn’t crash, but the output render is incomplete and the shapes are disjointed for some reason.  
What I’m trying to export is an SVG, and I don’t understand why I’m getting this error when I didn’t have it before the update. The stacktrace gives me the impression that I’m doing something wrong, but as stated earlier, I have worked like this in the past and never had such an issue.

---

<div class="post-metadata">

### Author: ![john.cannon](https://discourse.gplates.org/letter_avatar_proxy/v4/letter/j/3e96dc/32.png) [@john.cannon](https://discourse.gplates.org/u/john.cannon)
#### Post date: [11 January 2023 09:36 UTC](https://discourse.gplates.org/t/exception-on-export-snapshot/624/2 "2023-01-11T09:36:03Z")

</div>

It looks like you have a polyline geometry that either has all points coincident (at the same position) or that has two consecutive points that are antipodal (at polar opposite positions). Both situations cause the polyline to fail. Maybe your data was updated with included such a polyline.
