<?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: Unable to update / delete user in ArcGIS Python API - HTTP 404 error in ArcGIS API for Python Questions</title>
    <link>https://community.esri.com/t5/arcgis-api-for-python-questions/unable-to-update-delete-user-in-arcgis-python-api/m-p/763859#M444</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I would focus on upgrading to version 1.7 of the API.&amp;nbsp; If it's still an issue, then it could be related to the release of Portal for ArcGIS.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 05 Feb 2020 12:47:30 GMT</pubDate>
    <dc:creator>JakeSkinner</dc:creator>
    <dc:date>2020-02-05T12:47:30Z</dc:date>
    <item>
      <title>Unable to update / delete user in ArcGIS Python API - HTTP 404 error</title>
      <link>https://community.esri.com/t5/arcgis-api-for-python-questions/unable-to-update-delete-user-in-arcgis-python-api/m-p/763853#M438</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I am trying to update a user's description in our ArcGIS Portal instance but the below code is giving me an HTTP 404 error:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;BLOCKQUOTE class="jive_macro_quote jive-quote jive_text_macro"&gt;&lt;P&gt;from arcgis.gis import GIS&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;gis = GIS("my_portal_url", "my_user", "my_password")&lt;BR /&gt;user = gis.users.get(username="chris.buckmaster")&lt;BR /&gt;user.update(description="Chris's Bio")&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;The error I receive is as follows:&lt;/P&gt;&lt;BLOCKQUOTE class="jive_macro_quote jive-quote jive_text_macro"&gt;&lt;P&gt;Traceback (most recent call last):&lt;BR /&gt; File "test.py", line 5, in &amp;lt;module&amp;gt;&lt;BR /&gt; user.update(description="Chris's Bio")&lt;BR /&gt; File "C:\ProgramData\Anaconda3\lib\site-packages\arcgis\gis\__init__.py", line 5700, in update&lt;BR /&gt; files=files)&lt;BR /&gt; File "C:\ProgramData\Anaconda3\lib\site-packages\arcgis\_impl\connection.py", line 1107, in post&lt;BR /&gt; resp = opener.open(url, data=encoded_postdata.encode())&lt;BR /&gt; File "C:\ProgramData\Anaconda3\lib\urllib\request.py", line 531, in open&lt;BR /&gt; response = meth(req, response)&lt;BR /&gt; File "C:\ProgramData\Anaconda3\lib\urllib\request.py", line 641, in http_response&lt;BR /&gt; 'http', request, response, code, msg, hdrs)&lt;BR /&gt; File "C:\ProgramData\Anaconda3\lib\urllib\request.py", line 569, in error&lt;BR /&gt; return self._call_chain(*args)&lt;BR /&gt; File "C:\ProgramData\Anaconda3\lib\urllib\request.py", line 503, in _call_chain&lt;BR /&gt; result = func(*args)&lt;BR /&gt; File "C:\ProgramData\Anaconda3\lib\urllib\request.py", line 649, in http_error_default&lt;BR /&gt; raise HTTPError(req.full_url, code, msg, hdrs, fp)&lt;BR /&gt;urllib.error.HTTPError: HTTP Error 404:&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I can connect fine to the Portal and have been able to extract data out and produce reports etc so I am wondering why I might be receiving this error? I am using v1.6 of the ArcGIS Python API and Portal v10.6.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am connecting as an administrator account so have full privileges.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 03 Feb 2020 13:20:15 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-python-questions/unable-to-update-delete-user-in-arcgis-python-api/m-p/763853#M438</guid>
      <dc:creator>PhillipGiraud</dc:creator>
      <dc:date>2020-02-03T13:20:15Z</dc:date>
    </item>
    <item>
      <title>Re: Unable to update / delete user in ArcGIS Python API - HTTP 404 error</title>
      <link>https://community.esri.com/t5/arcgis-api-for-python-questions/unable-to-update-delete-user-in-arcgis-python-api/m-p/763854#M439</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Phillip,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I was able to run this code using v1.7 of the ArcGIS for Python API and Portal 10.7.1.&amp;nbsp; I would try upgrading the API:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;OL&gt;&lt;LI&gt;Start &amp;gt; ArcGIS &amp;gt; right-click Python Command Prompt &amp;gt; Run As Administrator&lt;/LI&gt;&lt;LI&gt;Execute the following:&amp;nbsp; &lt;STRONG&gt;conda upgrade -c esri --no-pin arcgis&lt;/STRONG&gt;&lt;/LI&gt;&lt;/OL&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 03 Feb 2020 14:14:35 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-python-questions/unable-to-update-delete-user-in-arcgis-python-api/m-p/763854#M439</guid>
      <dc:creator>JakeSkinner</dc:creator>
      <dc:date>2020-02-03T14:14:35Z</dc:date>
    </item>
    <item>
      <title>Re: Unable to update / delete user in ArcGIS Python API - HTTP 404 error</title>
      <link>https://community.esri.com/t5/arcgis-api-for-python-questions/unable-to-update-delete-user-in-arcgis-python-api/m-p/763855#M440</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Jake&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have tried to upgrade to version 1.7 in the past but it just doesn't seem to be an option (have tried using the --no-pin command as well which I hadn't done before but it still doesn't give me the option to upgrade to 1.7).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have checked the differences between 1.6 and 1.7 for this function and it is exactly the same so I am not sure whether&amp;nbsp;an upgrade would help, but wouldn't have thought it is an issue with the API seeing as I can perform the other operations?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 03 Feb 2020 15:19:07 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-python-questions/unable-to-update-delete-user-in-arcgis-python-api/m-p/763855#M440</guid>
      <dc:creator>PhillipGiraud</dc:creator>
      <dc:date>2020-02-03T15:19:07Z</dc:date>
    </item>
    <item>
      <title>Re: Unable to update / delete user in ArcGIS Python API - HTTP 404 error</title>
      <link>https://community.esri.com/t5/arcgis-api-for-python-questions/unable-to-update-delete-user-in-arcgis-python-api/m-p/763856#M441</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;What version of ArcGIS Pro do you have installed (i.e. 2.4.3)?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 03 Feb 2020 15:28:22 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-python-questions/unable-to-update-delete-user-in-arcgis-python-api/m-p/763856#M441</guid>
      <dc:creator>JakeSkinner</dc:creator>
      <dc:date>2020-02-03T15:28:22Z</dc:date>
    </item>
    <item>
      <title>Re: Unable to update / delete user in ArcGIS Python API - HTTP 404 error</title>
      <link>https://community.esri.com/t5/arcgis-api-for-python-questions/unable-to-update-delete-user-in-arcgis-python-api/m-p/763857#M442</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Version 2.2.0 but I don't use the software.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 03 Feb 2020 15:55:07 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-python-questions/unable-to-update-delete-user-in-arcgis-python-api/m-p/763857#M442</guid>
      <dc:creator>PhillipGiraud</dc:creator>
      <dc:date>2020-02-03T15:55:07Z</dc:date>
    </item>
    <item>
      <title>Re: Unable to update / delete user in ArcGIS Python API - HTTP 404 error</title>
      <link>https://community.esri.com/t5/arcgis-api-for-python-questions/unable-to-update-delete-user-in-arcgis-python-api/m-p/763858#M443</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Any further ideas?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 05 Feb 2020 09:01:42 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-python-questions/unable-to-update-delete-user-in-arcgis-python-api/m-p/763858#M443</guid>
      <dc:creator>ChrisBuckmaster2</dc:creator>
      <dc:date>2020-02-05T09:01:42Z</dc:date>
    </item>
    <item>
      <title>Re: Unable to update / delete user in ArcGIS Python API - HTTP 404 error</title>
      <link>https://community.esri.com/t5/arcgis-api-for-python-questions/unable-to-update-delete-user-in-arcgis-python-api/m-p/763859#M444</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I would focus on upgrading to version 1.7 of the API.&amp;nbsp; If it's still an issue, then it could be related to the release of Portal for ArcGIS.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 05 Feb 2020 12:47:30 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-python-questions/unable-to-update-delete-user-in-arcgis-python-api/m-p/763859#M444</guid>
      <dc:creator>JakeSkinner</dc:creator>
      <dc:date>2020-02-05T12:47:30Z</dc:date>
    </item>
    <item>
      <title>Re: Unable to update / delete user in ArcGIS Python API - HTTP 404 error</title>
      <link>https://community.esri.com/t5/arcgis-api-for-python-questions/unable-to-update-delete-user-in-arcgis-python-api/m-p/763860#M445</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Jake&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I get the below message when trying to upgrade, it seems to not recognise there being an option to upgrade to a newer release.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG class="image-1 jive-image" src="https://community.esri.com/legacyfs/online/480318_pastedImage_1.png" /&gt;&lt;/P&gt;&lt;P&gt;I'm not sure why it would be related to the release of ArcGIS Portal, as doesn't it get installed independent from any Portal environment?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 05 Feb 2020 13:01:24 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-python-questions/unable-to-update-delete-user-in-arcgis-python-api/m-p/763860#M445</guid>
      <dc:creator>ChrisBuckmaster2</dc:creator>
      <dc:date>2020-02-05T13:01:24Z</dc:date>
    </item>
    <item>
      <title>Re: Unable to update / delete user in ArcGIS Python API - HTTP 404 error</title>
      <link>https://community.esri.com/t5/arcgis-api-for-python-questions/unable-to-update-delete-user-in-arcgis-python-api/m-p/763861#M446</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Do you receive the same error when you run the above from &lt;STRONG&gt;C:\Program Files\ArcGIS\Pro\bin\Python\envs\arcgispro-py3&lt;/STRONG&gt;?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 05 Feb 2020 13:14:44 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-python-questions/unable-to-update-delete-user-in-arcgis-python-api/m-p/763861#M446</guid>
      <dc:creator>JakeSkinner</dc:creator>
      <dc:date>2020-02-05T13:14:44Z</dc:date>
    </item>
    <item>
      <title>Re: Unable to update / delete user in ArcGIS Python API - HTTP 404 error</title>
      <link>https://community.esri.com/t5/arcgis-api-for-python-questions/unable-to-update-delete-user-in-arcgis-python-api/m-p/763862#M447</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Yes...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG class="image-1 jive-image" src="https://community.esri.com/legacyfs/online/480319_pastedImage_1.png" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 05 Feb 2020 13:18:01 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-python-questions/unable-to-update-delete-user-in-arcgis-python-api/m-p/763862#M447</guid>
      <dc:creator>ChrisBuckmaster2</dc:creator>
      <dc:date>2020-02-05T13:18:01Z</dc:date>
    </item>
    <item>
      <title>Re: Unable to update / delete user in ArcGIS Python API - HTTP 404 error</title>
      <link>https://community.esri.com/t5/arcgis-api-for-python-questions/unable-to-update-delete-user-in-arcgis-python-api/m-p/763863#M448</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;A href="https://community.esri.com/migrated-users/8586"&gt;Jake Skinner&lt;/A&gt;‌ should I not be receiving the above when trying to install v1.7?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 07 Feb 2020 09:38:54 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-python-questions/unable-to-update-delete-user-in-arcgis-python-api/m-p/763863#M448</guid>
      <dc:creator>ChrisBuckmaster2</dc:creator>
      <dc:date>2020-02-07T09:38:54Z</dc:date>
    </item>
    <item>
      <title>Re: Unable to update / delete user in ArcGIS Python API - HTTP 404 error</title>
      <link>https://community.esri.com/t5/arcgis-api-for-python-questions/unable-to-update-delete-user-in-arcgis-python-api/m-p/763864#M449</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Try upgrading to the latest version of ArcGIS Pro (2.5), and this should upgrade your API to 1.7.1.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 07 Feb 2020 19:32:25 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-python-questions/unable-to-update-delete-user-in-arcgis-python-api/m-p/763864#M449</guid>
      <dc:creator>JakeSkinner</dc:creator>
      <dc:date>2020-02-07T19:32:25Z</dc:date>
    </item>
    <item>
      <title>Re: Unable to update / delete user in ArcGIS Python API - HTTP 404 error</title>
      <link>https://community.esri.com/t5/arcgis-api-for-python-questions/unable-to-update-delete-user-in-arcgis-python-api/m-p/763865#M450</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;A href="https://community.esri.com/migrated-users/8586"&gt;Jake Skinner&lt;/A&gt;‌ I have upgraded ArcGIS Pro to version 2.5 and using version 1.7 of the ArcGIS Python API it is still giving me the same error message?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am connecting with an administrator account and have been able to update item descriptions so I should have the necessary permissions, is there anything else I can try / suggestions on how to troubleshoot the issue?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 10 Feb 2020 10:09:31 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-python-questions/unable-to-update-delete-user-in-arcgis-python-api/m-p/763865#M450</guid>
      <dc:creator>ChrisBuckmaster2</dc:creator>
      <dc:date>2020-02-10T10:09:31Z</dc:date>
    </item>
    <item>
      <title>Re: Unable to update / delete user in ArcGIS Python API - HTTP 404 error</title>
      <link>https://community.esri.com/t5/arcgis-api-for-python-questions/unable-to-update-delete-user-in-arcgis-python-api/m-p/763866#M451</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;What version of Portal are you using?&amp;nbsp; I tested this with 10.7.1.&amp;nbsp; If you are using a previous version, I would recommend upgrading.&amp;nbsp; &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 10 Feb 2020 15:02:05 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-python-questions/unable-to-update-delete-user-in-arcgis-python-api/m-p/763866#M451</guid>
      <dc:creator>JakeSkinner</dc:creator>
      <dc:date>2020-02-10T15:02:05Z</dc:date>
    </item>
    <item>
      <title>Re: Unable to update / delete user in ArcGIS Python API - HTTP 404 error</title>
      <link>https://community.esri.com/t5/arcgis-api-for-python-questions/unable-to-update-delete-user-in-arcgis-python-api/m-p/763867#M452</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I am using Portal 10.6 and am hesitant to upgrade as it will impact upon users.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;We are on fairly recent versions for all software so I would have thought something this simple shouldn't be an issue with the version?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 10 Feb 2020 15:42:32 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-python-questions/unable-to-update-delete-user-in-arcgis-python-api/m-p/763867#M452</guid>
      <dc:creator>ChrisBuckmaster2</dc:creator>
      <dc:date>2020-02-10T15:42:32Z</dc:date>
    </item>
    <item>
      <title>Re: Unable to update / delete user in ArcGIS Python API - HTTP 404 error</title>
      <link>https://community.esri.com/t5/arcgis-api-for-python-questions/unable-to-update-delete-user-in-arcgis-python-api/m-p/763868#M453</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I've only tested this with 10.7.1, and, unfortunately, I don't have access to 10.6 to test.&amp;nbsp; Yes, there will be some down-time when you perform the upgrade.&amp;nbsp; ArcGIS Enterprise 10.8 is slated for release later this month.&amp;nbsp; If you are planning to upgrade, you may want to wait for the 10.8 release so you can be at the latest version.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 10 Feb 2020 15:47:06 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-python-questions/unable-to-update-delete-user-in-arcgis-python-api/m-p/763868#M453</guid>
      <dc:creator>JakeSkinner</dc:creator>
      <dc:date>2020-02-10T15:47:06Z</dc:date>
    </item>
  </channel>
</rss>

