<?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 001272: Analyzer errors were encountered (code:00363) in ArcGIS Pro Questions</title>
    <link>https://community.esri.com/t5/arcgis-pro-questions/error-001272-analyzer-errors-were-encountered-code/m-p/1141223#M51058</link>
    <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;As the topic provided by&amp;nbsp;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/215600"&gt;@DanPatterson&lt;/a&gt;&amp;nbsp;mentioned, you'll need to open up the ArcGIS Pro map that causes the error. You can analyze the map before sharing it is a web layer. You'll need to resolve the error manually before you can overwrite web layers using arcpy.&lt;/P&gt;&lt;P&gt;Best,&lt;/P&gt;&lt;P&gt;Jonah&lt;/P&gt;</description>
    <pubDate>Mon, 07 Feb 2022 15:39:51 GMT</pubDate>
    <dc:creator>JonahLay</dc:creator>
    <dc:date>2022-02-07T15:39:51Z</dc:date>
    <item>
      <title>ERROR 001272: Analyzer errors were encountered (code:00363)</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/error-001272-analyzer-errors-were-encountered-code/m-p/1141156#M51047</link>
      <description>&lt;P&gt;Hi there,&lt;/P&gt;&lt;P&gt;I want to overwrite Feature Layers from ArcGIS Pro to ArcGIS Online. When it comes to arcpy.server.StageService I get the following error: &lt;STRONG&gt;ERROR 001272: Analyzer errors were encountered (code:00363). &lt;/STRONG&gt;It tells me to change the names&amp;nbsp;&lt;SPAN class=""&gt;SHAPE__AREA&lt;/SPAN&gt; or &lt;SPAN class=""&gt;SHAPE__LENGTH&lt;/SPAN&gt; in my attribute table because their reserved for use by map and feature services, but I have a feature service.&lt;/P&gt;&lt;P&gt;Here is the link to the documentary:&lt;/P&gt;&lt;P&gt;&lt;A href="https://pro.arcgis.com/en/pro-app/latest/help/sharing/analyzer-error-messages/00362-datasets-expose-reserved-field-names.htm" target="_blank" rel="noopener"&gt;https://pro.arcgis.com/en/pro-app/latest/help/sharing/analyzer-error-messages/00362-datasets-expose-reserved-field-names.htm&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Here is my code.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="python"&gt;        # Create FeatureSharingDraft and set overwrite property
server_type = "HOSTING_SERVER"

        #iterate through the layers and upload

i = 0
for layername in pro:
    print(matching[layername])
    sddraft = geoMap.getWebLayerSharingDraft(server_type, "FEATURE", matching[layername])
    sddraft.overwriteExistingService = True
    sddraft.exportToSDDraft(finalsddraft[i])
    arcpy.server.StageService(finalsddraft[i], finalsd[i])
    arcpy.server.UploadServiceDefinition(finalsd[i], server_type)
    i += 1


Traceback (most recent call last):
  File "&amp;lt;string&amp;gt;", line 54, in &amp;lt;module&amp;gt;
  File "C:\Program Files\ArcGIS\Pro\Resources\ArcPy\arcpy\server.py", line 1088, in StageService
    raise e
  File "C:\Program Files\ArcGIS\Pro\Resources\ArcPy\arcpy\server.py", line 1085, in StageService
    retval = convertArcObjectToPythonObject(gp.StageService_server(*gp_fixargs((in_service_definition_draft, out_service_definition, staging_version), True)))
  File "C:\Program Files\ArcGIS\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: ERROR 001272: Analyzer errors were encountered ([{"code":"00362","message":"The dataset 'L0polygons' exposes the reserved field name: 'Shape__Area'.  Rename or remove this field.","object":"polygons"},{"code":"00362","message":"The dataset 'L0polygons' exposes the reserved field name: 'Shape__Length'.  Rename or remove this field.","object":"polygons"},{"code":"00362","message":"The dataset 'L0polygons' exposes the reserved field name: 'Shape__Area'.  Rename or remove this field.","object":"polygons"},{"code":"00362","message":"The dataset 'L0polygons' exposes the reserved field name: 'Shape__Length'.  Rename or remove this field.","object":"polygons"}]).
Failed to execute (StageService).&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have been unable to find details about ERROR 001272. Any suggestions for a soltion?&lt;/P&gt;</description>
      <pubDate>Mon, 07 Feb 2022 13:35:23 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/error-001272-analyzer-errors-were-encountered-code/m-p/1141156#M51047</guid>
      <dc:creator>MarieSchubert</dc:creator>
      <dc:date>2022-02-07T13:35:23Z</dc:date>
    </item>
    <item>
      <title>Re: ERROR 001272: Analyzer errors were encountered (code:00363)</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/error-001272-analyzer-errors-were-encountered-code/m-p/1141175#M51051</link>
      <description>&lt;P&gt;&lt;A href="https://pro.arcgis.com/en/pro-app/latest/tool-reference/tool-errors-and-warnings/001001-010000/tool-errors-and-warnings-01251-01275-001272.htm" target="_blank"&gt;001272: Analyzer errors were encountered (&amp;lt;value&amp;gt;).—ArcGIS Pro | Documentation&lt;/A&gt;&lt;/P&gt;&lt;P&gt;if you can make sense of the proposed solution&lt;/P&gt;</description>
      <pubDate>Mon, 07 Feb 2022 14:13:54 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/error-001272-analyzer-errors-were-encountered-code/m-p/1141175#M51051</guid>
      <dc:creator>DanPatterson</dc:creator>
      <dc:date>2022-02-07T14:13:54Z</dc:date>
    </item>
    <item>
      <title>Re: ERROR 001272: Analyzer errors were encountered (code:00363)</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/error-001272-analyzer-errors-were-encountered-code/m-p/1141223#M51058</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;As the topic provided by&amp;nbsp;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/215600"&gt;@DanPatterson&lt;/a&gt;&amp;nbsp;mentioned, you'll need to open up the ArcGIS Pro map that causes the error. You can analyze the map before sharing it is a web layer. You'll need to resolve the error manually before you can overwrite web layers using arcpy.&lt;/P&gt;&lt;P&gt;Best,&lt;/P&gt;&lt;P&gt;Jonah&lt;/P&gt;</description>
      <pubDate>Mon, 07 Feb 2022 15:39:51 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/error-001272-analyzer-errors-were-encountered-code/m-p/1141223#M51058</guid>
      <dc:creator>JonahLay</dc:creator>
      <dc:date>2022-02-07T15:39:51Z</dc:date>
    </item>
    <item>
      <title>Re: ERROR 001272: Analyzer errors were encountered (code:00363)</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/error-001272-analyzer-errors-were-encountered-code/m-p/1141502#M51094</link>
      <description>&lt;P&gt;Hey Jonah,&lt;/P&gt;&lt;P&gt;thanks for your reply. When I analyse the layers manually&amp;nbsp; no errors occur.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I never had the problem with arcpy before, just this time. I don't know what to do...&lt;/P&gt;</description>
      <pubDate>Tue, 08 Feb 2022 08:04:16 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/error-001272-analyzer-errors-were-encountered-code/m-p/1141502#M51094</guid>
      <dc:creator>MarieSchubert</dc:creator>
      <dc:date>2022-02-08T08:04:16Z</dc:date>
    </item>
    <item>
      <title>Re: ERROR 001272: Analyzer errors were encountered (code:00363)</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/error-001272-analyzer-errors-were-encountered-code/m-p/1141624#M51110</link>
      <description>&lt;P&gt;Hi Marie,&lt;/P&gt;&lt;P&gt;Are you sure that you are referencing the correct project and map? It looks like the layer in question is "'L0polygons." Trying checking this layer's fields for this issue. If you are still having trouble, try contacting technical support:&amp;nbsp;&lt;A href="https://support.esri.com/en/contact-tech-support" target="_blank"&gt;https://support.esri.com/en/contact-tech-support&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Best,&lt;/P&gt;&lt;P&gt;Jonah&lt;/P&gt;</description>
      <pubDate>Tue, 08 Feb 2022 15:40:56 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/error-001272-analyzer-errors-were-encountered-code/m-p/1141624#M51110</guid>
      <dc:creator>JonahLay</dc:creator>
      <dc:date>2022-02-08T15:40:56Z</dc:date>
    </item>
    <item>
      <title>Re: ERROR 001272: Analyzer errors were encountered (code:00363)</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/error-001272-analyzer-errors-were-encountered-code/m-p/1141986#M51141</link>
      <description>&lt;P&gt;Hi Jonah,&lt;/P&gt;&lt;P&gt;thanks for the hint! I had a grouped layer called polygons in my content. I removed it and now it works!&lt;/P&gt;&lt;P&gt;I don't quite understand why, I never referenced the layer. That's why I didn't considered this layer to be the problem.&lt;/P&gt;&lt;P&gt;Thank you very much for your help!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 09 Feb 2022 07:27:54 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/error-001272-analyzer-errors-were-encountered-code/m-p/1141986#M51141</guid>
      <dc:creator>MarieSchubert</dc:creator>
      <dc:date>2022-02-09T07:27:54Z</dc:date>
    </item>
  </channel>
</rss>

