<?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: ERROR 000814: Invalid file type Failed to Execute (JSONToFeature) when run on Local Server in .NET Maps SDK Questions</title>
    <link>https://community.esri.com/t5/net-maps-sdk-questions/error-000814-invalid-file-type-failed-to-execute/m-p/1202648#M11262</link>
    <description>&lt;P&gt;Problem solved.&amp;nbsp;&amp;nbsp; LocalServer100.14 does not support JSON serialized type being "Feature Layer". &amp;nbsp; When I changed the type to "JsonFeatures", it worked. &amp;nbsp; Backward compatibility is broken in LocalServer100.14. &amp;nbsp;&amp;nbsp; &amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Sun, 14 Aug 2022 01:17:29 GMT</pubDate>
    <dc:creator>noodle</dc:creator>
    <dc:date>2022-08-14T01:17:29Z</dc:date>
    <item>
      <title>ERROR 000814: Invalid file type Failed to Execute (JSONToFeature) when run on Local Server</title>
      <link>https://community.esri.com/t5/net-maps-sdk-questions/error-000814-invalid-file-type-failed-to-execute/m-p/1202647#M11261</link>
      <description>&lt;P&gt;Failed to execute. Parameters are not valid. ERROR 000814: Invalid file type Failed to execute (JSONToFeatures).&amp;nbsp;&amp;nbsp;&amp;nbsp; I cannot figure out why the file is "Invalid file type".&amp;nbsp;&amp;nbsp; It is a json serialized (type is &lt;STRONG&gt;"Feature Layer"&lt;/STRONG&gt; and geometryType is &lt;STRONG&gt;"esriGeometryPolygon"&lt;/STRONG&gt;).&amp;nbsp;&amp;nbsp; I can run the script under ArcGIS Pro 2.94 and 3.0 successfully.&lt;/P&gt;&lt;P&gt;Traceback (most recent call last): File "&amp;lt;string&amp;gt;", line 48, in main File "C:\Program Files\ArcGIS SDKs\&lt;STRONG&gt;LocalServer100.14&lt;/STRONG&gt;\64\Pro\Resources\ArcPy\arcpy\conversion.py", line 1169, in JSONToFeatures raise e File "C:\Program Files\ArcGIS SDKs\LocalServer100.14\64\Pro\Resources\ArcPy\arcpy\conversion.py", line 1166, in JSONToFeatures retval = convertArcObjectToPythonObject(gp.JSONToFeatures_conversion(*gp_fixargs((in_json_file, out_features, geometry_type), True))) File "C:\Program Files\ArcGIS SDKs\LocalServer100.14\64\Pro\Resources\ArcPy\arcpy\geoprocessing\_base.py", line 512, in &amp;lt;lambda&amp;gt; return lambda *args: val(*gp_fixargs(args, True)) arcgisscripting.ExecuteError: Failed to execute. Parameters are not valid. ERROR 000814: Invalid file type Failed to execute (JSONToFeatures). During handling of the above exception, another exception occurred: Traceback (most recent call last): File "&amp;lt;string&amp;gt;", line 75, in &amp;lt;module&amp;gt; File "&amp;lt;string&amp;gt;", line 51, in main File "C:\AEDT\Temp\NETLOC~1\Documents\ArcGIS\Pkgs\jsontofeature_6393\p20\jsontofeature\aedt.py", line 101, in handleExceptions arcpy.AddError(e.message) AttributeError: 'ExecuteError' object has no attribute 'message'&lt;/P&gt;</description>
      <pubDate>Sat, 13 Aug 2022 21:32:39 GMT</pubDate>
      <guid>https://community.esri.com/t5/net-maps-sdk-questions/error-000814-invalid-file-type-failed-to-execute/m-p/1202647#M11261</guid>
      <dc:creator>noodle</dc:creator>
      <dc:date>2022-08-13T21:32:39Z</dc:date>
    </item>
    <item>
      <title>Re: ERROR 000814: Invalid file type Failed to Execute (JSONToFeature) when run on Local Server</title>
      <link>https://community.esri.com/t5/net-maps-sdk-questions/error-000814-invalid-file-type-failed-to-execute/m-p/1202648#M11262</link>
      <description>&lt;P&gt;Problem solved.&amp;nbsp;&amp;nbsp; LocalServer100.14 does not support JSON serialized type being "Feature Layer". &amp;nbsp; When I changed the type to "JsonFeatures", it worked. &amp;nbsp; Backward compatibility is broken in LocalServer100.14. &amp;nbsp;&amp;nbsp; &amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sun, 14 Aug 2022 01:17:29 GMT</pubDate>
      <guid>https://community.esri.com/t5/net-maps-sdk-questions/error-000814-invalid-file-type-failed-to-execute/m-p/1202648#M11262</guid>
      <dc:creator>noodle</dc:creator>
      <dc:date>2022-08-14T01:17:29Z</dc:date>
    </item>
    <item>
      <title>Re: ERROR 000814: Invalid file type Failed to Execute (JSONToFeature) when run on Local Server</title>
      <link>https://community.esri.com/t5/net-maps-sdk-questions/error-000814-invalid-file-type-failed-to-execute/m-p/1202983#M11266</link>
      <description>&lt;P&gt;Glad you found the solution to your problem.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;But I'm curious what file type / content you're using as input - Is it GeoJson?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;</description>
      <pubDate>Mon, 15 Aug 2022 18:09:46 GMT</pubDate>
      <guid>https://community.esri.com/t5/net-maps-sdk-questions/error-000814-invalid-file-type-failed-to-execute/m-p/1202983#M11266</guid>
      <dc:creator>MichaelBranscomb</dc:creator>
      <dc:date>2022-08-15T18:09:46Z</dc:date>
    </item>
  </channel>
</rss>

