<?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 500: unable to complete operation on create calibration point via REST API in ArcGIS Pipeline Referencing Questions</title>
    <link>https://community.esri.com/t5/arcgis-pipeline-referencing-questions/error-500-unable-to-complete-operation-on-create/m-p/1554222#M145</link>
    <description>&lt;P&gt;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/217291"&gt;@Sergio&lt;/a&gt;&amp;nbsp;Have you tried adding&amp;nbsp;&lt;SPAN&gt;calibration points&amp;nbsp;on this route using 'Add Point' tool in Location Referencing ribbon in ArcGIS Pro? This is the preferred APR tool for adding calibration point to routes interactively. Perhaps, trying in Pro will provide additional details.&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Please state the Enterprise and Pro versions being used. It will help to know your preference for using the LRS REST API for this step - are you trying to develop a programmatic too to automate a process?&amp;nbsp; &amp;nbsp;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;</description>
    <pubDate>Thu, 31 Oct 2024 13:49:39 GMT</pubDate>
    <dc:creator>AyanPalit</dc:creator>
    <dc:date>2024-10-31T13:49:39Z</dc:date>
    <item>
      <title>Error 500: unable to complete operation on create calibration point via REST API</title>
      <link>https://community.esri.com/t5/arcgis-pipeline-referencing-questions/error-500-unable-to-complete-operation-on-create/m-p/1554213#M144</link>
      <description>&lt;P&gt;Hi all,&lt;/P&gt;&lt;P&gt;I get error 500 on attempt to create calibration points via LRS REST API like this:&lt;/P&gt;&lt;P&gt;&lt;EM&gt;{"error":{"code":500,"message":"Unable to complete operation.","details":[]}}&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;I'm using applyEdits endpoint like described here:&amp;nbsp;&lt;A href="https://developers.arcgis.com/rest/services-reference/enterprise/apply-edits/" target="_blank"&gt;Apply Edits | ArcGIS REST APIs | ArcGIS Developers&lt;/A&gt;.&lt;/P&gt;&lt;P&gt;The JSON file I'm passing as "edits"&amp;nbsp; via "multipart/form data" parameter is 100% correct and valid. Here it is:&lt;/P&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;EM&gt;[&lt;/EM&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;EM&gt;&amp;nbsp; &amp;nbsp; {&lt;/EM&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;EM&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; "id": 1,&lt;/EM&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;EM&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; "addCalibrationPoints": [&lt;/EM&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;EM&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; {&lt;/EM&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;EM&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; "networkLayerId": 33,&lt;/EM&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;EM&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; "routeId": "{GUID}",&lt;/EM&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;EM&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; "geometry": {&lt;/EM&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;EM&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; "x": 225636.17500000005,&lt;/EM&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;EM&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; "y": 995688.0829999996&lt;/EM&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;EM&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; },&lt;/EM&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;EM&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; "fromDate": "1170356400",&lt;/EM&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;EM&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; "measure": 2636.8490000000002,&lt;/EM&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;EM&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; "recalibrateRouteDownstream": false,&lt;/EM&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;EM&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; "retire": false&lt;/EM&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;EM&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; }&lt;/EM&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;EM&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; ]&lt;/EM&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;EM&gt;&amp;nbsp; &amp;nbsp; }&lt;/EM&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;EM&gt;]&lt;/EM&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;/DIV&gt;&lt;P&gt;I'm adding calibration points on newly created routes in newly created version under separate session. I can create routes without any issues but calibration points won't apply.&lt;/P&gt;&lt;P&gt;What may cause such issues? Where can I see extended description of what is happening?&lt;/P&gt;&lt;P&gt;Thank you in advance!&lt;/P&gt;</description>
      <pubDate>Thu, 31 Oct 2024 13:27:36 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pipeline-referencing-questions/error-500-unable-to-complete-operation-on-create/m-p/1554213#M144</guid>
      <dc:creator>Sergio</dc:creator>
      <dc:date>2024-10-31T13:27:36Z</dc:date>
    </item>
    <item>
      <title>Re: Error 500: unable to complete operation on create calibration point via REST API</title>
      <link>https://community.esri.com/t5/arcgis-pipeline-referencing-questions/error-500-unable-to-complete-operation-on-create/m-p/1554222#M145</link>
      <description>&lt;P&gt;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/217291"&gt;@Sergio&lt;/a&gt;&amp;nbsp;Have you tried adding&amp;nbsp;&lt;SPAN&gt;calibration points&amp;nbsp;on this route using 'Add Point' tool in Location Referencing ribbon in ArcGIS Pro? This is the preferred APR tool for adding calibration point to routes interactively. Perhaps, trying in Pro will provide additional details.&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Please state the Enterprise and Pro versions being used. It will help to know your preference for using the LRS REST API for this step - are you trying to develop a programmatic too to automate a process?&amp;nbsp; &amp;nbsp;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 31 Oct 2024 13:49:39 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pipeline-referencing-questions/error-500-unable-to-complete-operation-on-create/m-p/1554222#M145</guid>
      <dc:creator>AyanPalit</dc:creator>
      <dc:date>2024-10-31T13:49:39Z</dc:date>
    </item>
    <item>
      <title>Re: Error 500: unable to complete operation on create calibration point via REST API</title>
      <link>https://community.esri.com/t5/arcgis-pipeline-referencing-questions/error-500-unable-to-complete-operation-on-create/m-p/1554326#M146</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/512"&gt;@AyanPalit&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;&lt;P&gt;Thank you for your input.&lt;/P&gt;&lt;P&gt;The version of Enterprise is 10.9.1 and Pro is 3.2.2. You are right - I'm trying to automate the bulk loading of routes (pipelines) and calibration points. I'm using FME Flow for this and there is no issues with creation of routes using the same applyEdits endpoint. After creation of routes I pass route Ids to create JSON for loading calibration points. Tried just one point as well - same result. Same results I get in Postman with hardcoded JSON. Also I'm using PODS model rather than clean APR.&amp;nbsp;&lt;/P&gt;&lt;P&gt;I'll try to load calibration points via Pro as you suggested and maybe this will give more information on the error. Anyway, maybe it is possible to check some Server or Portal logs?&lt;/P&gt;&lt;P&gt;Thank you!&lt;/P&gt;</description>
      <pubDate>Thu, 31 Oct 2024 15:39:03 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pipeline-referencing-questions/error-500-unable-to-complete-operation-on-create/m-p/1554326#M146</guid>
      <dc:creator>Sergio</dc:creator>
      <dc:date>2024-10-31T15:39:03Z</dc:date>
    </item>
    <item>
      <title>Re: Error 500: unable to complete operation on create calibration point via REST API</title>
      <link>https://community.esri.com/t5/arcgis-pipeline-referencing-questions/error-500-unable-to-complete-operation-on-create/m-p/1554378#M147</link>
      <description>&lt;P&gt;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/217291"&gt;@Sergio&lt;/a&gt;&amp;nbsp; Thanks for specifying the versions. If you must stay at ArcGIS&amp;nbsp;&lt;SPAN&gt;Enterprise 10.9.1, it's recommended to use the compatible version of ArcGIS&amp;nbsp;Pro 2.9.&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;Reference&amp;nbsp;&lt;/SPAN&gt;&lt;A href="https://enterprise.arcgis.com/en/pipeline-referencing/latest/get-started/arcgis-pipeline-referencing-for-server.htm#ESRI_SECTION1_365CDC3C429B4CA1B532767670BDACD9" target="_blank"&gt;Compatibility with&amp;nbsp;ArcGIS Pro&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;Here are some alternate methods for you to bulk load:&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;Use &lt;A class="xref xref" href="https://pro.arcgis.com/en/pro-app/3.3/tool-reference/location-referencing/append-routes.htm" target="_blank"&gt;Append Routes&lt;/A&gt;&amp;nbsp;to&amp;nbsp;&amp;nbsp;&lt;SPAN&gt;bulk load routes (pipelines)&amp;nbsp;&lt;/SPAN&gt;&lt;/LI&gt;
&lt;LI&gt;&lt;SPAN&gt;Use&amp;nbsp;&lt;A class="xref xref" href="https://pro.arcgis.com/en/pro-app/3.3/tool-reference/data-management/append.htm" target="_blank"&gt;Append&lt;/A&gt;&amp;nbsp;&lt;/SPAN&gt;to&amp;nbsp;&amp;nbsp;&lt;SPAN&gt;bulk load calibration points, followed by&amp;nbsp;&lt;A class="xref xref" href="https://pro.arcgis.com/en/pro-app/3.3/tool-reference/location-referencing/generate-routes.htm" target="_blank"&gt;Generate Routes&lt;/A&gt;&lt;/SPAN&gt;&lt;/LI&gt;
&lt;LI&gt;It is expected that you have pre-processed and validated the geometries and attributes of the data to be bulk loaded. Failing to prepare the data, will result in errors. Usually the geoprocessing tool will provide a log with information in such cases.&lt;/LI&gt;
&lt;/UL&gt;</description>
      <pubDate>Thu, 31 Oct 2024 16:44:46 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pipeline-referencing-questions/error-500-unable-to-complete-operation-on-create/m-p/1554378#M147</guid>
      <dc:creator>AyanPalit</dc:creator>
      <dc:date>2024-10-31T16:44:46Z</dc:date>
    </item>
  </channel>
</rss>

