<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: GeoJSON Hosted Layer Error in ArcGIS API for Python Questions</title>
    <link>https://community.esri.com/t5/arcgis-api-for-python-questions/geojson-hosted-layer-error/m-p/847357#M3693</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;No worries. let us know if that fixes your issue.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I just made sure that it's valid Json since you posted only one item and the format if broken due that.&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 16 Jan 2020 07:48:39 GMT</pubDate>
    <dc:creator>AnttiKajanus</dc:creator>
    <dc:date>2020-01-16T07:48:39Z</dc:date>
    <item>
      <title>GeoJSON Hosted Layer Error</title>
      <link>https://community.esri.com/t5/arcgis-api-for-python-questions/geojson-hosted-layer-error/m-p/847352#M3688</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I'm attempting to publish a geojson file as a hosted layer to ArcGIS Online but it gives me "There was an error". However, if I add it as a layer to an already created map, it shows just fine.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have the permissions of a creator and publisher under my organization.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The type is a Feature Collection, crs is set, I'm not really sure what else it could be.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Has anyone had this error before?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 13 Jan 2020 17:23:00 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-python-questions/geojson-hosted-layer-error/m-p/847352#M3688</guid>
      <dc:creator>TaylorKravits</dc:creator>
      <dc:date>2020-01-13T17:23:00Z</dc:date>
    </item>
    <item>
      <title>Re: GeoJSON Hosted Layer Error</title>
      <link>https://community.esri.com/t5/arcgis-api-for-python-questions/geojson-hosted-layer-error/m-p/847353#M3689</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have seen similar issue with other datatypes at some point and if i remember correctly it was due using wrong item type or similar on the publish method.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Some documentation that solved my issue:&lt;/P&gt;&lt;P&gt;&lt;A class="link-titled" href="https://developers.arcgis.com/python/api-reference/arcgis.gis.toc.html#arcgis.gis.Item.publish" title="https://developers.arcgis.com/python/api-reference/arcgis.gis.toc.html#arcgis.gis.Item.publish"&gt;arcgis.gis module — arcgis 1.7.0 documentation&lt;/A&gt;&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;A class="link-titled" href="https://developers.arcgis.com/rest/users-groups-and-items/publish-item.htm" title="https://developers.arcgis.com/rest/users-groups-and-items/publish-item.htm"&gt;Publish Item—ArcGIS REST API: Users, groups, and content | ArcGIS for Developers&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you can share the code, I could have a better look on it.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 14 Jan 2020 10:09:06 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-python-questions/geojson-hosted-layer-error/m-p/847353#M3689</guid>
      <dc:creator>AnttiKajanus3</dc:creator>
      <dc:date>2020-01-14T10:09:06Z</dc:date>
    </item>
    <item>
      <title>Re: GeoJSON Hosted Layer Error</title>
      <link>https://community.esri.com/t5/arcgis-api-for-python-questions/geojson-hosted-layer-error/m-p/847354#M3690</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Apologies for not sharing the code. I wasn't sure if there was a bug out there but it pulls a created .geojson and here is a sample&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;&lt;SPAN style="color: #cc7832;"&gt;from &lt;/SPAN&gt;arcgis.gis &lt;SPAN style="color: #cc7832;"&gt;import &lt;/SPAN&gt;GIS
&lt;SPAN style="color: #cc7832;"&gt;import &lt;/SPAN&gt;os
&lt;SPAN style="color: #cc7832;"&gt;import &lt;/SPAN&gt;json
username = &lt;SPAN style="color: #6a8759;"&gt;"username"
&lt;/SPAN&gt;password = &lt;SPAN style="color: #6a8759;"&gt;"password"
&lt;/SPAN&gt;gis = GIS(&lt;SPAN style="color: #6a8759;"&gt;"arcgis online organization website"&lt;/SPAN&gt;&lt;SPAN style="color: #cc7832;"&gt;, &lt;/SPAN&gt;username&lt;SPAN style="color: #cc7832;"&gt;, &lt;/SPAN&gt;password)


data_path = os.path.join(&lt;SPAN style="color: #6a8759;"&gt;r"C:\Users\taylor\Desktop\rentals.geojson"&lt;/SPAN&gt;)
item_properties = {&lt;SPAN style="color: #6a8759;"&gt;'type'&lt;/SPAN&gt;: &lt;SPAN style="color: #6a8759;"&gt;'geojson'&lt;/SPAN&gt;&lt;SPAN style="color: #cc7832;"&gt;,
&lt;/SPAN&gt;&lt;SPAN style="color: #cc7832;"&gt;                &lt;/SPAN&gt;&lt;SPAN style="color: #6a8759;"&gt;'title'&lt;/SPAN&gt;:&lt;SPAN style="color: #6a8759;"&gt;'Rental Properties'&lt;/SPAN&gt;&lt;SPAN style="color: #cc7832;"&gt;,
&lt;/SPAN&gt;&lt;SPAN style="color: #cc7832;"&gt;                &lt;/SPAN&gt;&lt;SPAN style="color: #6a8759;"&gt;'description'&lt;/SPAN&gt;:&lt;SPAN style="color: #6a8759;"&gt;'Rental Properties'&lt;/SPAN&gt;&lt;SPAN style="color: #cc7832;"&gt;,
&lt;/SPAN&gt;&lt;SPAN style="color: #cc7832;"&gt;                &lt;/SPAN&gt;&lt;SPAN style="color: #6a8759;"&gt;'tags'&lt;/SPAN&gt;:&lt;SPAN style="color: #6a8759;"&gt;'rental'&lt;/SPAN&gt;}

Rentals = gis.content.add(item_properties&lt;SPAN style="color: #cc7832;"&gt;, &lt;/SPAN&gt;data_path)
published_service = Rentals.publish(&lt;SPAN style="color: #aa4926;"&gt;file_type&lt;/SPAN&gt;=&lt;SPAN style="color: #6a8759;"&gt;'FeatureCollection'&lt;/SPAN&gt;)

&lt;/PRE&gt;&lt;P&gt;{&lt;BR /&gt;"type": "FeatureCollection",&lt;BR /&gt;"crs": { "type": "name", "properties": { "name": "urn:ogc:def:crs:OGC:1.3:CRS84" } },&lt;BR /&gt;"features": [&lt;BR /&gt;{ "type": "Feature", "properties": { "OBJECTID": 1218029, "Parcel Number": "1461", "LICENSENUMBER": "RHL20", "Address": "42 WAY", "LICENSESTATUS": "Issued", "APPLIEDDATE": "2017-09-29T00:00:00", "ISSUEDDATE": "2017-09-29T00:00:00", "EXPIRATIONDATE": "2021-09-29T00:00:00", "LASTRENEWALDATE": null, "SUBCOMMUNITY": "North", "RENTALTYPE": "Standard Rental", "COMPLEXNAME": null, "BUILDINGTYPE": "Single Family Dwelling", "ENERGYCOMPLIANT": "Yes", "BUILDINGIDENTIFICATION": "RHL2015-00466", "DWELLINGUNITSONCASE": 1, "ROOMINGUNITSONCASE": 0.0, "MAXIMUMUNRELATEDOCCUPANTS": 3, "OCCUPANCYBEFOREREZONING": "NO", "PROFESSIONALLICENSEHOLDERNAME": "null", "PROFESSIONALLICENSEHOLDERCMPNY": null, "PROFESSIONALLICENSEYEAR": 2017.0, "SHAPEAREA": 70551.149319832402, "SHAPELEN": 1194.74474079076, "strap_x": "R00368 ", "strap_y": "R00968 ", "eff": "1974", "remodel": 0.0, "status_cd": "A ", "code": "RES" }, "geometry": { "type": "Polygon", "coordinates": [ [ [ -105.282824422242228, 40.050975815768872 ], [ -105.282243756596387, 40.050975449135876 ], [ -105.282248337352939, 40.05217015748709 ], [ -105.282825708018564, 40.052170943882906 ], [ -105.282825425662821, 40.051946591042061 ], [ -105.282825176117441, 40.051711208021224 ], [ -105.28282492234834, 40.051479357327715 ], [ -105.282824676197606, 40.051245852152 ], [ -105.282824422242228, 40.050975815768872 ] ] ] } },&lt;/P&gt;&lt;P&gt;}&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;There's about 1846&amp;nbsp;records in my code, this is only one of them&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 12 Dec 2021 10:24:27 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-python-questions/geojson-hosted-layer-error/m-p/847354#M3690</guid>
      <dc:creator>TaylorKravits</dc:creator>
      <dc:date>2021-12-12T10:24:27Z</dc:date>
    </item>
    <item>
      <title>Re: GeoJSON Hosted Layer Error</title>
      <link>https://community.esri.com/t5/arcgis-api-for-python-questions/geojson-hosted-layer-error/m-p/847355#M3691</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I tried your geojson file (i fixed it to be valid though) with following code and it seems to work for me.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I checked what agol will add to the json metadata when adding things manually to agol and copied the exact formats from there.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;&lt;CODE&gt;rentals_item &lt;SPAN class="operator token"&gt;=&lt;/SPAN&gt; gis&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;content&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;add&lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt;
        item_properties &lt;SPAN class="operator token"&gt;=&lt;/SPAN&gt; &lt;SPAN class="punctuation token"&gt;{&lt;/SPAN&gt;
            &lt;SPAN class="string token"&gt;'type'&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;:&lt;/SPAN&gt; &lt;SPAN class="string token"&gt;'GeoJson'&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;,&lt;/SPAN&gt;
            &lt;SPAN class="string token"&gt;'title'&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;:&lt;/SPAN&gt;&lt;SPAN class="string token"&gt;'Rental Properties'&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;,&lt;/SPAN&gt;
            &lt;SPAN class="string token"&gt;'typeKeywords'&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;:&lt;/SPAN&gt; &lt;SPAN class="punctuation token"&gt;[&lt;/SPAN&gt;&lt;SPAN class="string token"&gt;'Coordinates Type'&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;,&lt;/SPAN&gt; &lt;SPAN class="string token"&gt;'CRS'&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;,&lt;/SPAN&gt; &lt;SPAN class="string token"&gt;'Feature'&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;,&lt;/SPAN&gt; &lt;SPAN class="string token"&gt;'FeatureCollection'&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;,&lt;/SPAN&gt; &lt;SPAN class="string token"&gt;'GeoJSON'&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;,&lt;/SPAN&gt; &lt;SPAN class="string token"&gt;'Geometry'&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;,&lt;/SPAN&gt; &lt;SPAN class="string token"&gt;'GeometryCollection'&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;]&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;,&lt;/SPAN&gt; &lt;SPAN class="comment token"&gt;# this seems to be what manual add will add, works without this as well &lt;/SPAN&gt;
            &lt;SPAN class="string token"&gt;'description'&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;:&lt;/SPAN&gt;&lt;SPAN class="string token"&gt;'Rental Properties'&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;,&lt;/SPAN&gt;
            &lt;SPAN class="string token"&gt;'tags'&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;:&lt;/SPAN&gt;&lt;SPAN class="string token"&gt;'rental'&lt;/SPAN&gt;
        &lt;SPAN class="punctuation token"&gt;}&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;,&lt;/SPAN&gt; 
        data &lt;SPAN class="operator token"&gt;=&lt;/SPAN&gt; r&lt;SPAN class="string token"&gt;'./example-data/example.geojson'&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;)&lt;/SPAN&gt;
rentals_item

published_service &lt;SPAN class="operator token"&gt;=&lt;/SPAN&gt; rentals_item&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;publish&lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt;file_type&lt;SPAN class="operator token"&gt;=&lt;/SPAN&gt;&lt;SPAN class="string token"&gt;'GeoJson'&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;)&lt;/SPAN&gt; &lt;SPAN class="comment token"&gt;# file_type is not needed since seems to work without it as well&lt;/SPAN&gt;
published_service‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍&lt;SPAN class="line-numbers-rows"&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 12 Dec 2021 10:24:29 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-python-questions/geojson-hosted-layer-error/m-p/847355#M3691</guid>
      <dc:creator>AnttiKajanus</dc:creator>
      <dc:date>2021-12-12T10:24:29Z</dc:date>
    </item>
    <item>
      <title>Re: GeoJSON Hosted Layer Error</title>
      <link>https://community.esri.com/t5/arcgis-api-for-python-questions/geojson-hosted-layer-error/m-p/847356#M3692</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you Antii! I'll try out this code. What did you fix in the geojson to make it valid? Maybe it's something within my geojson file when it's created using geopandas?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Jan 2020 18:55:00 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-python-questions/geojson-hosted-layer-error/m-p/847356#M3692</guid>
      <dc:creator>TaylorKravits</dc:creator>
      <dc:date>2020-01-15T18:55:00Z</dc:date>
    </item>
    <item>
      <title>Re: GeoJSON Hosted Layer Error</title>
      <link>https://community.esri.com/t5/arcgis-api-for-python-questions/geojson-hosted-layer-error/m-p/847357#M3693</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;No worries. let us know if that fixes your issue.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I just made sure that it's valid Json since you posted only one item and the format if broken due that.&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 Jan 2020 07:48:39 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-python-questions/geojson-hosted-layer-error/m-p/847357#M3693</guid>
      <dc:creator>AnttiKajanus</dc:creator>
      <dc:date>2020-01-16T07:48:39Z</dc:date>
    </item>
    <item>
      <title>Re: GeoJSON Hosted Layer Error</title>
      <link>https://community.esri.com/t5/arcgis-api-for-python-questions/geojson-hosted-layer-error/m-p/847358#M3694</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;This is the error code I get when I attempt to publish&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;published_service = rentals_item.publish()&lt;BR /&gt; File "C:\Users\tkravits\Desktop\Rentals\interpreter_3.7\lib\site-packages\arcgis\gis\__init__.py", line 8865, in publish&lt;BR /&gt; serviceitem_id = self._check_publish_status(ret, folder)&lt;BR /&gt; File "C:\Users\tkravits\Desktop\Rentals\interpreter_3.7\lib\site-packages\arcgis\gis\__init__.py", line 9092, in _check_publish_status&lt;BR /&gt; raise Exception("Job failed.")&lt;BR /&gt;Exception: Job failed.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;However it shows up as a hosted layer and a geojson file within my content, but when I view the hosted layer in the Map Viewer it zooms to the extent of the area, but there is no data found in the rental property map. I tested the geojson using&amp;nbsp;&lt;A class="link-titled" href="http://geojson.io/" title="http://geojson.io/"&gt;geojson.io&lt;/A&gt;&amp;nbsp;and it displays perfectly with the data intact. Here's a snippet of what shows up below.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG class="image-1 jive-image" src="https://community.esri.com/legacyfs/online/478581_pastedImage_1.png" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 Jan 2020 15:48:10 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-python-questions/geojson-hosted-layer-error/m-p/847358#M3694</guid>
      <dc:creator>TaylorKravits</dc:creator>
      <dc:date>2020-01-16T15:48:10Z</dc:date>
    </item>
    <item>
      <title>Re: GeoJSON Hosted Layer Error</title>
      <link>https://community.esri.com/t5/arcgis-api-for-python-questions/geojson-hosted-layer-error/m-p/847359#M3695</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I got the feature visible that was in your example. Maybe there is something wrong on some of the features? Can you get them visible if you publish everything manually? Not to the map directly but add as content file and then publish it as a service? Does that service has all the features?&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I assume that you cannot share the data publicly for me to test.&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 17 Jan 2020 07:06:53 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-python-questions/geojson-hosted-layer-error/m-p/847359#M3695</guid>
      <dc:creator>AnttiKajanus3</dc:creator>
      <dc:date>2020-01-17T07:06:53Z</dc:date>
    </item>
    <item>
      <title>Re: GeoJSON Hosted Layer Error</title>
      <link>https://community.esri.com/t5/arcgis-api-for-python-questions/geojson-hosted-layer-error/m-p/847360#M3696</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P style="background-color: #ffffff; border: 0px;"&gt;So if I add the geojson file manually (upload a file) to the map, it works. If I add them as content and host it as a feature layer (manually), it also fails. Same "There was an error" message that goes up. The field names populate correctly, but there is no data attached to it. Similar to that picture posted above.&lt;/P&gt;&lt;P style="background-color: #ffffff; border: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P style="background-color: #ffffff; border: 0px;"&gt;Unfortunately, I can't really share this data but I greatly appreciate you helping me.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 21 Jan 2020 16:12:15 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-python-questions/geojson-hosted-layer-error/m-p/847360#M3696</guid>
      <dc:creator>TaylorKravits</dc:creator>
      <dc:date>2020-01-21T16:12:15Z</dc:date>
    </item>
    <item>
      <title>Re: GeoJSON Hosted Layer Error</title>
      <link>https://community.esri.com/t5/arcgis-api-for-python-questions/geojson-hosted-layer-error/m-p/847361#M3697</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;That sounds like that there might be something wrong in the publish part of the ArcGIS REST services for the GeoJson since it works for the webmaps but not for the manual or automated publishing workflow. Since the python Api is basically just a wrapper around the same services used with the ArcGIS Online UI, its highly pointing that way. Maybe folks from the Python API / REST API could clarify that...&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 22 Jan 2020 09:56:15 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-python-questions/geojson-hosted-layer-error/m-p/847361#M3697</guid>
      <dc:creator>AnttiKajanus</dc:creator>
      <dc:date>2020-01-22T09:56:15Z</dc:date>
    </item>
    <item>
      <title>Re: GeoJSON Hosted Layer Error</title>
      <link>https://community.esri.com/t5/arcgis-api-for-python-questions/geojson-hosted-layer-error/m-p/847362#M3698</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;To give an update, I was able to create another geojson layer and automate the upload process no problem, so there's something wrong with&amp;nbsp;my&amp;nbsp;geojson data in this specific instance. If I can figure out why, I'll post a solution.&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 23 Jan 2020 20:58:20 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-python-questions/geojson-hosted-layer-error/m-p/847362#M3698</guid>
      <dc:creator>TaylorKravits</dc:creator>
      <dc:date>2020-01-23T20:58:20Z</dc:date>
    </item>
    <item>
      <title>Re: GeoJSON Hosted Layer Error</title>
      <link>https://community.esri.com/t5/arcgis-api-for-python-questions/geojson-hosted-layer-error/m-p/847363#M3699</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I had a similar issue trying to publish a hosted feature layer from a GeoJSON file. Kept getting the mostly unhelpful "There was an error" message on some files but not others. After hours of troubleshooting I found the error in my case. My GeoJSON data has several features. One of the&amp;nbsp;fields (GeoJSON "properties") has values that can be a combination of numbers and letters, so it needs to be a Text field. It appears when you publish a hosted feature layer from GeoJSON, ArcGIS Online&amp;nbsp;infers the field types based on the &lt;EM&gt;first feature&lt;/EM&gt;. In cases where my GeoJSON's &lt;EM&gt;first feature&lt;/EM&gt; had a value that was all numbers, ArcGIS Online&amp;nbsp;sets that field type to&amp;nbsp;Integer. Then when it gets to a feature that has letters in that field, it can't put a string in an Integer field and...mostly unhelpful error message.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My workaround was to rewrite my GeoJSON file and stick a "_s" at the end of the value for that field in the first feature. Not ideal to mess up the data, but in my case that field is relatively unimportant, so I can live with it.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 07 Oct 2020 17:19:27 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-python-questions/geojson-hosted-layer-error/m-p/847363#M3699</guid>
      <dc:creator>PeterYoung2</dc:creator>
      <dc:date>2020-10-07T17:19:27Z</dc:date>
    </item>
  </channel>
</rss>

