<?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 KeyError when searching for assignments in ArcGIS API for Python Questions</title>
    <link>https://community.esri.com/t5/arcgis-api-for-python-questions/keyerror-when-searching-for-assignments/m-p/1273779#M8563</link>
    <description>&lt;P&gt;I found this error in a python script that is working, but when accessing one of the Workforce projects and perform the search for it return Keyerror 9&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="RamonBatista_0-1680204060479.png" style="width: 2008px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/66846i0786C9425542A7C5/image-dimensions/2008x321?v=v2" width="2008" height="321" role="button" title="RamonBatista_0-1680204060479.png" alt="RamonBatista_0-1680204060479.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="RamonBatista_1-1680204096221.png" style="width: 1938px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/66847iB54E5DFC34C5780D/image-dimensions/1938x412?v=v2" width="1938" height="412" role="button" title="RamonBatista_1-1680204096221.png" alt="RamonBatista_1-1680204096221.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;The project is from the classic WOrkforce, and what I know they did was delete a dispatcher who had ObjectID 9 the strength of the dispatcher table.&lt;BR /&gt;&lt;BR /&gt;Someone knows how I could solve this one without having to dive deep into the search function.&lt;BR /&gt;&lt;BR /&gt;The script accesses several classic Workforce projects present in the portal and for all others it works normally&lt;/P&gt;</description>
    <pubDate>Thu, 30 Mar 2023 19:26:40 GMT</pubDate>
    <dc:creator>RamonBatista</dc:creator>
    <dc:date>2023-03-30T19:26:40Z</dc:date>
    <item>
      <title>KeyError when searching for assignments</title>
      <link>https://community.esri.com/t5/arcgis-api-for-python-questions/keyerror-when-searching-for-assignments/m-p/1273779#M8563</link>
      <description>&lt;P&gt;I found this error in a python script that is working, but when accessing one of the Workforce projects and perform the search for it return Keyerror 9&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="RamonBatista_0-1680204060479.png" style="width: 2008px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/66846i0786C9425542A7C5/image-dimensions/2008x321?v=v2" width="2008" height="321" role="button" title="RamonBatista_0-1680204060479.png" alt="RamonBatista_0-1680204060479.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="RamonBatista_1-1680204096221.png" style="width: 1938px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/66847iB54E5DFC34C5780D/image-dimensions/1938x412?v=v2" width="1938" height="412" role="button" title="RamonBatista_1-1680204096221.png" alt="RamonBatista_1-1680204096221.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;The project is from the classic WOrkforce, and what I know they did was delete a dispatcher who had ObjectID 9 the strength of the dispatcher table.&lt;BR /&gt;&lt;BR /&gt;Someone knows how I could solve this one without having to dive deep into the search function.&lt;BR /&gt;&lt;BR /&gt;The script accesses several classic Workforce projects present in the portal and for all others it works normally&lt;/P&gt;</description>
      <pubDate>Thu, 30 Mar 2023 19:26:40 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-python-questions/keyerror-when-searching-for-assignments/m-p/1273779#M8563</guid>
      <dc:creator>RamonBatista</dc:creator>
      <dc:date>2023-03-30T19:26:40Z</dc:date>
    </item>
  </channel>
</rss>

