<?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 geojson upload error in ArcGIS JavaScript Maps SDK Questions</title>
    <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/geojson-upload-error/m-p/372849#M34599</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I am uploading a geojson to "My Content". I was attempting to create a hosted feature layer out of this geojson file. However, when I filled in all the fields and clicked confirm, there was a pop up saying "An error occurred" (without further indication what it is). The content (geojson) and feature layer was actually created, but when I tried to click the "view" button of the featured layer url, it gave me a page of the "ArcGIS REST Services Directory" which said: "invalid URL". When trying to use this url to create a geojson layer in my application (using the js api), it gave an error saying: &lt;SPAN class="" style="color: #222222; background-color: #e2eaf3;"&gt;"&lt;/SPAN&gt;&lt;SPAN style="color: #c41a16; background-color: #e2eaf3;"&gt;Unexpected token &amp;lt; in JSON at position 0&lt;/SPAN&gt;&lt;SPAN class="" style="color: #222222; background-color: #e2eaf3;"&gt;".&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="" style="color: #222222; background-color: #e2eaf3;"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="" style="color: #222222; background-color: #e2eaf3;"&gt;I then went on trying to see if the uploaded file was corrupted, but after I downloaded the geojson file from "My Content", the file I got seems to be a valid geojson.&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 14 Apr 2020 19:24:04 GMT</pubDate>
    <dc:creator>XundaZhou</dc:creator>
    <dc:date>2020-04-14T19:24:04Z</dc:date>
    <item>
      <title>geojson upload error</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/geojson-upload-error/m-p/372849#M34599</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I am uploading a geojson to "My Content". I was attempting to create a hosted feature layer out of this geojson file. However, when I filled in all the fields and clicked confirm, there was a pop up saying "An error occurred" (without further indication what it is). The content (geojson) and feature layer was actually created, but when I tried to click the "view" button of the featured layer url, it gave me a page of the "ArcGIS REST Services Directory" which said: "invalid URL". When trying to use this url to create a geojson layer in my application (using the js api), it gave an error saying: &lt;SPAN class="" style="color: #222222; background-color: #e2eaf3;"&gt;"&lt;/SPAN&gt;&lt;SPAN style="color: #c41a16; background-color: #e2eaf3;"&gt;Unexpected token &amp;lt; in JSON at position 0&lt;/SPAN&gt;&lt;SPAN class="" style="color: #222222; background-color: #e2eaf3;"&gt;".&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="" style="color: #222222; background-color: #e2eaf3;"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="" style="color: #222222; background-color: #e2eaf3;"&gt;I then went on trying to see if the uploaded file was corrupted, but after I downloaded the geojson file from "My Content", the file I got seems to be a valid geojson.&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 14 Apr 2020 19:24:04 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/geojson-upload-error/m-p/372849#M34599</guid>
      <dc:creator>XundaZhou</dc:creator>
      <dc:date>2020-04-14T19:24:04Z</dc:date>
    </item>
  </channel>
</rss>

