# Error code when trying to add a kml file to create a new place

**URL:** <https://forum.inaturalist.org/t/error-code-when-trying-to-add-a-kml-file-to-create-a-new-place/14123>\
**Category:** Bug Reports\
**Tags:** web\
**Created:** [July 7, 2020, 9:05pm UTC](https://forum.inaturalist.org/t/error-code-when-trying-to-add-a-kml-file-to-create-a-new-place/14123 "2020-07-07T21:05:08Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![surrey-bc\_biodiversity](https://sea2.discourse-cdn.com/flex016/user_avatar/forum.inaturalist.org/surrey-bc_biodiversity/32/8865_2.png) [@surrey-bc\_biodiversity](https://forum.inaturalist.org/u/surrey-bc_biodiversity)\
**Post date:** [July 7, 2020, 9:05pm UTC](https://forum.inaturalist.org/t/error-code-when-trying-to-add-a-kml-file-to-create-a-new-place/14123/1 "2020-07-07T21:05:08Z")

</div>

using Google Chrome, via iNat.ca website:  
I am trying to add a kml file to create a new place for a new project. However when I add the file I get the following error “There were problems importing that place: Latitude can’t be blank, Longitude can’t be blank, File was invalid or did not contain any polygons, Place geometry can’t be blank”

Our GIS tech created the kml file from our ArcGIS system, we had no problem doing this to create our Surrey, BC place boundary, so am wondering what the issues is? I am not a GIS tech. Otherwise I will have to add each new project by drawing the park boundary manually if it does not exist in Google Earth. The file displays fine as a kml in the web version of Google Earth. So the attributes are there to define the boundaries. Would really like to get this resolved as we have numerous projects to add.

---

<div class="post-metadata">

**Author:** ![jwidness](https://avatars.discourse-cdn.com/v4/letter/j/9d8465/32.png) [@jwidness](https://forum.inaturalist.org/u/jwidness)\
**Post date:** [July 7, 2020, 11:07pm UTC](https://forum.inaturalist.org/t/error-code-when-trying-to-add-a-kml-file-to-create-a-new-place/14123/2 "2020-07-07T23:07:40Z")

</div>

It’s going to be pretty hard to diagnose without the content of the file itself. Could you maybe post the file to something like Google Drive and link to it here? Or you can private message me for my email address and I’ll take a look at it.

---

<div class="post-metadata">

**Author:** ![yayemaster](https://sea2.discourse-cdn.com/flex016/user_avatar/forum.inaturalist.org/yayemaster/32/12153_2.png) [@yayemaster](https://forum.inaturalist.org/u/yayemaster)\
**Post date:** [July 8, 2020, 12:11am UTC](https://forum.inaturalist.org/t/error-code-when-trying-to-add-a-kml-file-to-create-a-new-place/14123/3 "2020-07-08T00:11:49Z")

</div>

@surrey-bc_biodiversity Can we see the URL to the file? Or potentially send it to a paid professional to get it finished.

---

<div class="post-metadata">

**Author:** ![maramahopkins](https://sea2.discourse-cdn.com/flex016/user_avatar/forum.inaturalist.org/maramahopkins/32/10719_2.png) [@maramahopkins](https://forum.inaturalist.org/u/maramahopkins)\
**Post date:** [July 8, 2020, 4:55am UTC](https://forum.inaturalist.org/t/error-code-when-trying-to-add-a-kml-file-to-create-a-new-place/14123/4 "2020-07-08T04:55:33Z")

</div>

I got this error code when I tried uploading the compressed .kmz file rather than the .kml file. Check your file extension?

---

<div class="post-metadata">

**Author:** ![jdjohnson](https://sea2.discourse-cdn.com/flex016/user_avatar/forum.inaturalist.org/jdjohnson/32/1456_2.png) [@jdjohnson](https://forum.inaturalist.org/u/jdjohnson)\
**Post date:** [July 8, 2020, 5:51am UTC](https://forum.inaturalist.org/t/error-code-when-trying-to-add-a-kml-file-to-create-a-new-place/14123/5 "2020-07-08T05:51:20Z")

</div>

I got this error when my polygon was self-intersecting (the boundary line touched or crossed itself). Using the “Check Geometry” tool in ArcGIS to find self-intersections.

---

<div class="post-metadata">

**Author:** ![bug\_girl](https://sea2.discourse-cdn.com/flex016/user_avatar/forum.inaturalist.org/bug_girl/32/38067_2.png) [@bug\_girl](https://forum.inaturalist.org/u/bug_girl)\
**Post date:** [July 8, 2020, 11:49am UTC](https://forum.inaturalist.org/t/error-code-when-trying-to-add-a-kml-file-to-create-a-new-place/14123/6 "2020-07-08T11:49:34Z")

</div>

Welcome to the forum @maramahopkins!

---

<div class="post-metadata">

**Author:** ![jwidness](https://avatars.discourse-cdn.com/v4/letter/j/9d8465/32.png) [@jwidness](https://forum.inaturalist.org/u/jwidness)\
**Post date:** [July 8, 2020, 8:14pm UTC](https://forum.inaturalist.org/t/error-code-when-trying-to-add-a-kml-file-to-create-a-new-place/14123/7 "2020-07-08T20:14:37Z")

</div>

In case anyone is curious, the problem was that the file had multiple features in it, which iNat doesn’t like. Since we’ve solved it, I’m going to close this report.

---

<div class="post-metadata">

**Author:** ![jwidness](https://avatars.discourse-cdn.com/v4/letter/j/9d8465/32.png) [@jwidness](https://forum.inaturalist.org/u/jwidness)\
**Post date:** [July 8, 2020, 8:14pm UTC](https://forum.inaturalist.org/t/error-code-when-trying-to-add-a-kml-file-to-create-a-new-place/14123/8 "2020-07-08T20:14:53Z")

</div>


