<?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 Code 503 - Update Features With Incident Records error in ArcGIS Pro Questions</title>
    <link>https://community.esri.com/t5/arcgis-pro-questions/error-code-503-update-features-with-incident/m-p/1352012#M75414</link>
    <description>&lt;P&gt;I am also getting an unexplained error. There was a bug in Pro. I am on 3.3 now and it works fine.&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Wed, 31 Jul 2024 13:09:36 GMT</pubDate>
    <dc:creator>Laura</dc:creator>
    <dc:date>2024-07-31T13:09:36Z</dc:date>
    <item>
      <title>Error Code 503 - Update Features With Incident Records error</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/error-code-503-update-features-with-incident/m-p/1281428#M68251</link>
      <description>&lt;P&gt;Hello one and all. I was attempting to run&amp;nbsp;&lt;A href="https://pro.arcgis.com/en/pro-app/latest/tool-reference/crime-analysis/update-features-with-incident-records.htm" target="_self"&gt;Update Features With Incident Records tool&lt;/A&gt; and am greeted with this ambiguous error when I ran it.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I'd be thrilled if someone can help me!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Update Features With Incident Records&lt;BR /&gt;=====================&lt;BR /&gt;Parameters&lt;/P&gt;&lt;P&gt;Input Table TransformedCrimeData_BatchUpdateFields&lt;BR /&gt;Target Features &lt;A href="https://services.arcgis.com/J65Mns15CRcll4iw/arcgis/rest/services/Crimes_c625c8cc71b44cf88edc00c58580f318/FeatureServer/0" target="_blank" rel="noopener"&gt;https://services.arcgis.com/J65Mns15CRcll4iw/arcgis/rest/services/Crimes_c625c8cc71b44cf88edc00c58580f318/FeatureServer/0&lt;/A&gt;&lt;BR /&gt;Location Type COORDINATES&lt;BR /&gt;X Field x&lt;BR /&gt;Y Field y&lt;BR /&gt;Coordinate System GEOGCS["GCS_WGS_1984",DATUM["D_WGS_1984",SPHEROID["WGS_1984",6378137.0,298.257223563]],PRIMEM["Greenwich",0.0],UNIT["Degree",0.0174532925199433]]&lt;BR /&gt;Address Locator&lt;BR /&gt;Address Type MULTI_FIELD_ADDRESS&lt;BR /&gt;Address Fields&lt;BR /&gt;Invalid Records Table&lt;BR /&gt;Expression&lt;BR /&gt;Update Existing Target Features APPEND&lt;BR /&gt;Match Fields&lt;BR /&gt;Input Table Last Modified Date Field&lt;BR /&gt;Target Features Last Modified Date Field&lt;BR /&gt;Update Only Matching Features UPSERT&lt;BR /&gt;Update Geometry for Existing Features UPDATE_GEOMETRY&lt;BR /&gt;Field Matching Type AUTOMATIC&lt;BR /&gt;Field Map callid "callid" true true false 20 Text 0 0,First,#,TransformedCrimeData_BatchUpdateFields,callid,0,20;offenseid "offenseid" true true false 8 Text 0 0,First,#,TransformedCrimeData_BatchUpdateFields,offenseid,0,8;nibrscode "nibrscode" true true false 3 Text 0 0,First,#,TransformedCrimeData_BatchUpdateFields,nibrscode,0,3;nibrsoffense "nibrsoffense" true true false 50 Text 0 0,First,#,TransformedCrimeData_BatchUpdateFields,nibrsoffense,0,50;nibrsdesc "nibrsdesc" true true false 50 Text 0 0,First,#,TransformedCrimeData_BatchUpdateFields,nibrsdesc,0,50;nibrscrimeag "nibrscrimeag" true true false 50 Text 0 0,First,#,TransformedCrimeData_BatchUpdateFields,nibrscrimeag,0,50;city "city" true true false 40 Text 0 0,First,#,TransformedCrimeData_BatchUpdateFields,city,0,40;state "state" true true false 2 Text 0 0,First,#,TransformedCrimeData_BatchUpdateFields,state,0,2;zip5 "zip5" true true false 5 Text 0 0,First,#,TransformedCrimeData_BatchUpdateFields,zip5,0,5;beat "beat" true true false 5 Text 0 0,First,#,TransformedCrimeData_BatchUpdateFields,beat,0,5;district "district" true true false 5 Text 0 0,First,#,TransformedCrimeData_BatchUpdateFields,district,0,5;division "division" true true false 4 Text 0 0,First,#,TransformedCrimeData_BatchUpdateFields,division,0,4;agency "agency" true true false 4 Text 0 0,First,#,TransformedCrimeData_BatchUpdateFields,agency,0,4;locatedesc "locatedesc" true true false 65 Text 0 0,First,#,TransformedCrimeData_BatchUpdateFields,locatedesc,0,65;casestatus "casestatus" true true false 80 Text 0 0,First,#,TransformedCrimeData_BatchUpdateFields,casestatus,0,80;reportdate "reportdate" true true false 8 Date 0 0,First,#,TransformedCrimeData_BatchUpdateFields,reportdate,-1,-1;reportyear "reportyear" true true false 4 Long 0 0,First,#,TransformedCrimeData_BatchUpdateFields,reportyear,-1,-1;occurfrdate "occurfrdate" true true false 8 Date 0 0,First,#,TransformedCrimeData_BatchUpdateFields,occurfrdate,-1,-1;occurtodate "occurtodate" true true false 8 Date 0 0,First,#,TransformedCrimeData_BatchUpdateFields,occurtodate,-1,-1;x "x" true true false 8 Double 0 0,First,#,TransformedCrimeData_BatchUpdateFields,x,-1,-1;y "y" true true false 8 Double 0 0,First,#,TransformedCrimeData_BatchUpdateFields,y,-1,-1&lt;BR /&gt;Time Format&lt;BR /&gt;Updated Target Features &lt;A href="https://services.arcgis.com/J65Mns15CRcll4iw/arcgis/rest/services/Crimes_c625c8cc71b44cf88edc00c58580f318/FeatureServer/0" target="_blank" rel="noopener"&gt;https://services.arcgis.com/J65Mns15CRcll4iw/arcgis/rest/services/Crimes_c625c8cc71b44cf88edc00c58580f318/FeatureServer/0&lt;/A&gt;&lt;BR /&gt;=====================&lt;BR /&gt;Messages&lt;/P&gt;&lt;P&gt;Start Time: Friday, April 21, 2023 2:24:28 PM&lt;BR /&gt;Traceback (most recent call last):&lt;BR /&gt;File "&amp;lt;string&amp;gt;", line 6164, in execute&lt;BR /&gt;File "&amp;lt;string&amp;gt;", line 5856, in add_features_to_portal_target&lt;BR /&gt;File "&amp;lt;string&amp;gt;", line 5778, in send_edits_to_service&lt;BR /&gt;File "C:\Program Files\ArcGIS\Pro\bin\Python\envs\arcgispro-py3\Lib\site-packages\arcgis\features\layer.py", line 2945, in edit_features&lt;BR /&gt;return self._con.post_multipart(path=edit_url, postdata=params)&lt;BR /&gt;File "C:\Program Files\ArcGIS\Pro\bin\Python\envs\arcgispro-py3\Lib\site-packages\arcgis\gis\_impl\_con\_connection.py", line 1162, in post_multipart&lt;BR /&gt;return self._handle_response(&lt;BR /&gt;File "C:\Program Files\ArcGIS\Pro\bin\Python\envs\arcgispro-py3\Lib\site-packages\arcgis\gis\_impl\_con\_connection.py", line 900, in _handle_response&lt;BR /&gt;self._handle_json_error(data["error"], errorcode)&lt;BR /&gt;File "C:\Program Files\ArcGIS\Pro\bin\Python\envs\arcgispro-py3\Lib\site-packages\arcgis\gis\_impl\_con\_connection.py", line 923, in _handle_json_error&lt;BR /&gt;raise Exception(errormessage)&lt;BR /&gt;Exception: An error occurred.&lt;BR /&gt;(Error Code: 503)&lt;/P&gt;&lt;P&gt;Failed to execute (UpdateFeaturesWithIncidentRecords).&lt;BR /&gt;Failed at Friday, April 21, 2023 2:36:40 PM (Elapsed Time: 12 minutes 12 seconds)&lt;/P&gt;</description>
      <pubDate>Fri, 21 Apr 2023 19:04:29 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/error-code-503-update-features-with-incident/m-p/1281428#M68251</guid>
      <dc:creator>chrisgermiller_rcpd</dc:creator>
      <dc:date>2023-04-21T19:04:29Z</dc:date>
    </item>
    <item>
      <title>Re: Error Code 503 - Update Features With Incident Records error</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/error-code-503-update-features-with-incident/m-p/1352012#M75414</link>
      <description>&lt;P&gt;I am also getting an unexplained error. There was a bug in Pro. I am on 3.3 now and it works fine.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 31 Jul 2024 13:09:36 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/error-code-503-update-features-with-incident/m-p/1352012#M75414</guid>
      <dc:creator>Laura</dc:creator>
      <dc:date>2024-07-31T13:09:36Z</dc:date>
    </item>
    <item>
      <title>Re: Error Code 503 - Update Features With Incident Records error</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/error-code-503-update-features-with-incident/m-p/1512801#M86229</link>
      <description>&lt;P&gt;Same here, I use the APIs edit_features method and it raises an Exception with the message reading "Error Code: 503". The traceback looks identical to yours, something seems to go wrong in the post_multipart function. I checked the layer that caused the error in the transaction, and it doesn't contain any multipart feature.&lt;/P&gt;&lt;P&gt;Did you ever resolve the issue?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;EDIT (July 31st 2024):&lt;/P&gt;&lt;P&gt;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/43250"&gt;@MehdiPira1&lt;/a&gt;'s response on&amp;nbsp;&lt;A href="https://community.esri.com/t5/arcgis-api-for-python-questions/bug-with-edit-features-function-python-arcgis-api/td-p/772142" target="_blank" rel="noopener"&gt;Bug with edit_features function? - Python ArcGIS A... - Esri Community&lt;/A&gt; has resolved the issue for me: I implemented arcpy's RepairGeometry method before the edit_feature and that seems to have solved the problem.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 31 Jul 2024 07:55:46 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/error-code-503-update-features-with-incident/m-p/1512801#M86229</guid>
      <dc:creator>CSDING_GIS</dc:creator>
      <dc:date>2024-07-31T07:55:46Z</dc:date>
    </item>
  </channel>
</rss>

