<?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 Update Level not working in ArcGIS API for Python Questions</title>
    <link>https://community.esri.com/t5/arcgis-api-for-python-questions/update-level-not-working/m-p/810215#M2432</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Trying to bump down a level 2 user to level 1. I am an administrator in our on-premise Portal. When I apply the "update_level" to a user I get the error below,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;DIV style="box-sizing: border-box; padding: 0px; break-inside: avoid; -webkit-box-orient: horizontal; -webkit-box-align: stretch; display: flex; flex-direction: row; align-items: stretch; color: #000000; font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif; font-size: 14px; font-style: normal; font-variant-ligatures: normal; font-variant-caps: normal; font-weight: 400; letter-spacing: normal; orphans: 2; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; background-color: #ffffff; text-decoration-style: initial; text-decoration-color: initial;"&gt;&lt;DIV style="box-sizing: border-box; overflow-x: auto; padding: 0.4em; -webkit-box-flex: 1; flex: 1 1 0%; max-width: calc(100% - 14ex); text-align: left; color: #000000; line-height: 1.21429em; background: #ffdddd;"&gt;&lt;PRE style="box-sizing: border-box; overflow: auto; font-family: monospace; font-size: inherit; display: block; padding: 1px 0px; margin: 0px; line-height: inherit; word-break: break-all; overflow-wrap: break-word; color: black; background-color: transparent; border: 0px; border-radius: 0px; white-space: pre-wrap; vertical-align: baseline;"&gt;You do not have permissions to access this resource or perform this operation.&lt;/PRE&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;DIV style="box-sizing: border-box; padding: 0px; break-inside: avoid; -webkit-box-orient: horizontal; -webkit-box-align: stretch; display: flex; flex-direction: row; align-items: stretch; color: #000000; font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif; font-size: 14px; font-style: normal; font-variant-ligatures: normal; font-variant-caps: normal; font-weight: 400; letter-spacing: normal; orphans: 2; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; background-color: #ffffff; text-decoration-style: initial; text-decoration-color: initial;"&gt;&lt;DIV style="box-sizing: border-box; visibility: hidden; cursor: pointer; color: #333333; padding: 5px 1ex; width: 1ex;"&gt;&lt;/DIV&gt;&lt;DIV style="box-sizing: border-box; min-width: 14ex; padding: 0px 0.4em; margin: 0px; font-family: monospace; text-align: right; line-height: 1.21429em; user-select: none; cursor: default;"&gt;&lt;/DIV&gt;&lt;DIV style="box-sizing: border-box; overflow-x: auto; padding: 0.4em; -webkit-box-flex: 1; flex: 1 1 0%; max-width: calc(100% - 14ex); text-align: left; color: #000000; line-height: 1.21429em;"&gt;&lt;PRE style="box-sizing: border-box; overflow: auto; font-family: monospace; font-size: inherit; display: block; padding: 1px 0px; margin: 0px; line-height: inherit; word-break: break-all; overflow-wrap: break-word; color: black; background-color: transparent; border: 0px; border-radius: 0px; white-space: pre-wrap; vertical-align: baseline;"&gt;&lt;SPAN style="box-sizing: border-box; color: #b22b31; font-weight: bold;"&gt;---------------------------------------------------------------------------&lt;/SPAN&gt;&lt;SPAN style="box-sizing: border-box; color: #b22b31; font-weight: bold;"&gt;RuntimeError&lt;/SPAN&gt;                              Traceback (most recent call last)&lt;SPAN style="box-sizing: border-box; color: #007427; font-weight: bold;"&gt;&amp;lt;ipython-input-5-be7e1c3f4bdd&amp;gt;&lt;/SPAN&gt; in &lt;SPAN style="box-sizing: border-box; color: #60c6c8;"&gt;&amp;lt;module&amp;gt;&lt;/SPAN&gt;&lt;SPAN style="box-sizing: border-box; color: #0065ca; font-weight: bold;"&gt;()&lt;/SPAN&gt;&lt;SPAN style="box-sizing: border-box; color: #007427; font-weight: bold;"&gt;----&amp;gt; 1&lt;/SPAN&gt;&lt;SPAN style="box-sizing: border-box; color: #b27d12; font-weight: bold;"&gt; &lt;/SPAN&gt;uq&lt;SPAN style="box-sizing: border-box; color: #b27d12; font-weight: bold;"&gt;.&lt;/SPAN&gt;update_level&lt;SPAN style="box-sizing: border-box; color: #b27d12; font-weight: bold;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="box-sizing: border-box; color: #0065ca; font-weight: bold;"&gt;'1'&lt;/SPAN&gt;&lt;SPAN style="box-sizing: border-box; color: #b27d12; font-weight: bold;"&gt;)&lt;/SPAN&gt;&lt;SPAN style="box-sizing: border-box; color: #007427; font-weight: bold;"&gt;C:\Program Files\ArcGIS\Pro\bin\Python\envs\arcgispro-py3\lib\site-packages\arcgis\gis\__init__.py&lt;/SPAN&gt; in &lt;SPAN style="box-sizing: border-box; color: #60c6c8;"&gt;update_level&lt;/SPAN&gt;&lt;SPAN style="box-sizing: border-box; color: #0065ca; font-weight: bold;"&gt;(self, level)&lt;/SPAN&gt;&lt;SPAN style="box-sizing: border-box; color: #00a250;"&gt;   4771&lt;/SPAN&gt;         &lt;SPAN style="box-sizing: border-box; color: #007427; font-weight: bold;"&gt;if&lt;/SPAN&gt; &lt;SPAN style="box-sizing: border-box; color: #0065ca; font-weight: bold;"&gt;'roleId'&lt;/SPAN&gt; &lt;SPAN style="box-sizing: border-box; color: #007427; font-weight: bold;"&gt;in&lt;/SPAN&gt; self &lt;SPAN style="box-sizing: border-box; color: #007427; font-weight: bold;"&gt;and&lt;/SPAN&gt;&lt;SPAN style="box-sizing: border-box; color: #e75c58;"&gt; &lt;/SPAN&gt;&lt;SPAN style="box-sizing: border-box; color: #e75c58;"&gt;\&lt;/SPAN&gt;&lt;SPAN style="box-sizing: border-box; color: #00a250;"&gt;   4772&lt;/SPAN&gt;            self&lt;SPAN style="box-sizing: border-box; color: #b27d12; font-weight: bold;"&gt;[&lt;/SPAN&gt;&lt;SPAN style="box-sizing: border-box; color: #0065ca; font-weight: bold;"&gt;'roleId'&lt;/SPAN&gt;&lt;SPAN style="box-sizing: border-box; color: #b27d12; font-weight: bold;"&gt;]&lt;/SPAN&gt; &lt;SPAN style="box-sizing: border-box; color: #b27d12; font-weight: bold;"&gt;!=&lt;/SPAN&gt; &lt;SPAN style="box-sizing: border-box; color: #0065ca; font-weight: bold;"&gt;'iAAAAAAAAAAAAAAA'&lt;/SPAN&gt;&lt;SPAN style="box-sizing: border-box; color: #b27d12; font-weight: bold;"&gt;:&lt;/SPAN&gt;&lt;SPAN style="box-sizing: border-box; color: #007427; font-weight: bold;"&gt;-&amp;gt; 4773&lt;/SPAN&gt;&lt;SPAN style="box-sizing: border-box; color: #b27d12; font-weight: bold;"&gt;             &lt;/SPAN&gt;self&lt;SPAN style="box-sizing: border-box; color: #b27d12; font-weight: bold;"&gt;.&lt;/SPAN&gt;update_role&lt;SPAN style="box-sizing: border-box; color: #b27d12; font-weight: bold;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="box-sizing: border-box; color: #0065ca; font-weight: bold;"&gt;'iAAAAAAAAAAAAAAA'&lt;/SPAN&gt;&lt;SPAN style="box-sizing: border-box; color: #b27d12; font-weight: bold;"&gt;)&lt;/SPAN&gt;&lt;SPAN style="box-sizing: border-box; color: #00a250;"&gt;   4774&lt;/SPAN&gt;             self&lt;SPAN style="box-sizing: border-box; color: #b27d12; font-weight: bold;"&gt;.&lt;/SPAN&gt;_hydrated &lt;SPAN style="box-sizing: border-box; color: #b27d12; font-weight: bold;"&gt;=&lt;/SPAN&gt; &lt;SPAN style="box-sizing: border-box; color: #007427; font-weight: bold;"&gt;False&lt;/SPAN&gt;&lt;SPAN style="box-sizing: border-box; color: #00a250;"&gt;   4775&lt;/SPAN&gt;             self&lt;SPAN style="box-sizing: border-box; color: #b27d12; font-weight: bold;"&gt;.&lt;/SPAN&gt;_hydrate&lt;SPAN style="box-sizing: border-box; color: #b27d12; font-weight: bold;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="box-sizing: border-box; color: #b27d12; font-weight: bold;"&gt;)&lt;/SPAN&gt;&lt;SPAN style="box-sizing: border-box; color: #007427; font-weight: bold;"&gt;C:\Program Files\ArcGIS\Pro\bin\Python\envs\arcgispro-py3\lib\site-packages\arcgis\gis\__init__.py&lt;/SPAN&gt; in &lt;SPAN style="box-sizing: border-box; color: #60c6c8;"&gt;update_role&lt;/SPAN&gt;&lt;SPAN style="box-sizing: border-box; color: #0065ca; font-weight: bold;"&gt;(self, role)&lt;/SPAN&gt;&lt;SPAN style="box-sizing: border-box; color: #00a250;"&gt;   5156&lt;/SPAN&gt;         &lt;SPAN style="box-sizing: border-box; color: #007427; font-weight: bold;"&gt;if&lt;/SPAN&gt; isinstance&lt;SPAN style="box-sizing: border-box; color: #b27d12; font-weight: bold;"&gt;(&lt;/SPAN&gt;role&lt;SPAN style="box-sizing: border-box; color: #b27d12; font-weight: bold;"&gt;,&lt;/SPAN&gt; Role&lt;SPAN style="box-sizing: border-box; color: #b27d12; font-weight: bold;"&gt;)&lt;/SPAN&gt;&lt;SPAN style="box-sizing: border-box; color: #b27d12; font-weight: bold;"&gt;:&lt;/SPAN&gt;&lt;SPAN style="box-sizing: border-box; color: #00a250;"&gt;   5157&lt;/SPAN&gt;             role &lt;SPAN style="box-sizing: border-box; color: #b27d12; font-weight: bold;"&gt;=&lt;/SPAN&gt; role&lt;SPAN style="box-sizing: border-box; color: #b27d12; font-weight: bold;"&gt;.&lt;/SPAN&gt;role_id&lt;SPAN style="box-sizing: border-box; color: #007427; font-weight: bold;"&gt;-&amp;gt; 5158&lt;/SPAN&gt;&lt;SPAN style="box-sizing: border-box; color: #b27d12; font-weight: bold;"&gt;         &lt;/SPAN&gt;passed &lt;SPAN style="box-sizing: border-box; color: #b27d12; font-weight: bold;"&gt;=&lt;/SPAN&gt; self&lt;SPAN style="box-sizing: border-box; color: #b27d12; font-weight: bold;"&gt;.&lt;/SPAN&gt;_portal&lt;SPAN style="box-sizing: border-box; color: #b27d12; font-weight: bold;"&gt;.&lt;/SPAN&gt;update_user_role&lt;SPAN style="box-sizing: border-box; color: #b27d12; font-weight: bold;"&gt;(&lt;/SPAN&gt;self&lt;SPAN style="box-sizing: border-box; color: #b27d12; font-weight: bold;"&gt;.&lt;/SPAN&gt;_user_id&lt;SPAN style="box-sizing: border-box; color: #b27d12; font-weight: bold;"&gt;,&lt;/SPAN&gt; role&lt;SPAN style="box-sizing: border-box; color: #b27d12; font-weight: bold;"&gt;)&lt;/SPAN&gt;&lt;SPAN style="box-sizing: border-box; color: #00a250;"&gt;   5159&lt;/SPAN&gt;         &lt;SPAN style="box-sizing: border-box; color: #007427; font-weight: bold;"&gt;if&lt;/SPAN&gt; passed&lt;SPAN style="box-sizing: border-box; color: #b27d12; font-weight: bold;"&gt;:&lt;/SPAN&gt;&lt;SPAN style="box-sizing: border-box; color: #00a250;"&gt;   5160&lt;/SPAN&gt;             self&lt;SPAN style="box-sizing: border-box; color: #b27d12; font-weight: bold;"&gt;.&lt;/SPAN&gt;_hydrate&lt;SPAN style="box-sizing: border-box; color: #b27d12; font-weight: bold;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="box-sizing: border-box; color: #b27d12; font-weight: bold;"&gt;)&lt;/SPAN&gt;&lt;SPAN style="box-sizing: border-box; color: #007427; font-weight: bold;"&gt;C:\Program Files\ArcGIS\Pro\bin\Python\envs\arcgispro-py3\lib\site-packages\arcgis\_impl\portalpy.py&lt;/SPAN&gt; in &lt;SPAN style="box-sizing: border-box; color: #60c6c8;"&gt;update_user_role&lt;/SPAN&gt;&lt;SPAN style="box-sizing: border-box; color: #0065ca; font-weight: bold;"&gt;(self, username, role)&lt;/SPAN&gt;&lt;SPAN style="box-sizing: border-box; color: #00a250;"&gt;   1981&lt;/SPAN&gt;         postdata &lt;SPAN style="box-sizing: border-box; color: #b27d12; font-weight: bold;"&gt;=&lt;/SPAN&gt; self&lt;SPAN style="box-sizing: border-box; color: #b27d12; font-weight: bold;"&gt;.&lt;/SPAN&gt;_postdata&lt;SPAN style="box-sizing: border-box; color: #b27d12; font-weight: bold;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="box-sizing: border-box; color: #b27d12; font-weight: bold;"&gt;)&lt;/SPAN&gt;&lt;SPAN style="box-sizing: border-box; color: #00a250;"&gt;   1982&lt;/SPAN&gt;         postdata&lt;SPAN style="box-sizing: border-box; color: #b27d12; font-weight: bold;"&gt;.&lt;/SPAN&gt;update&lt;SPAN style="box-sizing: border-box; color: #b27d12; font-weight: bold;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="box-sizing: border-box; color: #b27d12; font-weight: bold;"&gt;{&lt;/SPAN&gt;&lt;SPAN style="box-sizing: border-box; color: #0065ca; font-weight: bold;"&gt;'user'&lt;/SPAN&gt;&lt;SPAN style="box-sizing: border-box; color: #b27d12; font-weight: bold;"&gt;:&lt;/SPAN&gt; username&lt;SPAN style="box-sizing: border-box; color: #b27d12; font-weight: bold;"&gt;,&lt;/SPAN&gt; &lt;SPAN style="box-sizing: border-box; color: #0065ca; font-weight: bold;"&gt;'role'&lt;/SPAN&gt;&lt;SPAN style="box-sizing: border-box; color: #b27d12; font-weight: bold;"&gt;:&lt;/SPAN&gt; role&lt;SPAN style="box-sizing: border-box; color: #b27d12; font-weight: bold;"&gt;}&lt;/SPAN&gt;&lt;SPAN style="box-sizing: border-box; color: #b27d12; font-weight: bold;"&gt;)&lt;/SPAN&gt;&lt;SPAN style="box-sizing: border-box; color: #007427; font-weight: bold;"&gt;-&amp;gt; 1983&lt;/SPAN&gt;&lt;SPAN style="box-sizing: border-box; color: #b27d12; font-weight: bold;"&gt;         &lt;/SPAN&gt;resp &lt;SPAN style="box-sizing: border-box; color: #b27d12; font-weight: bold;"&gt;=&lt;/SPAN&gt; self&lt;SPAN style="box-sizing: border-box; color: #b27d12; font-weight: bold;"&gt;.&lt;/SPAN&gt;con&lt;SPAN style="box-sizing: border-box; color: #b27d12; font-weight: bold;"&gt;.&lt;/SPAN&gt;post&lt;SPAN style="box-sizing: border-box; color: #b27d12; font-weight: bold;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="box-sizing: border-box; color: #0065ca; font-weight: bold;"&gt;'portals/self/updateuserrole'&lt;/SPAN&gt;&lt;SPAN style="box-sizing: border-box; color: #b27d12; font-weight: bold;"&gt;,&lt;/SPAN&gt; postdata&lt;SPAN style="box-sizing: border-box; color: #b27d12; font-weight: bold;"&gt;,&lt;/SPAN&gt; ssl&lt;SPAN style="box-sizing: border-box; color: #b27d12; font-weight: bold;"&gt;=&lt;/SPAN&gt;&lt;SPAN style="box-sizing: border-box; color: #007427; font-weight: bold;"&gt;True&lt;/SPAN&gt;&lt;SPAN style="box-sizing: border-box; color: #b27d12; font-weight: bold;"&gt;)&lt;/SPAN&gt;&lt;SPAN style="box-sizing: border-box; color: #00a250;"&gt;   1984&lt;/SPAN&gt;         &lt;SPAN style="box-sizing: border-box; color: #007427; font-weight: bold;"&gt;if&lt;/SPAN&gt; resp&lt;SPAN style="box-sizing: border-box; color: #b27d12; font-weight: bold;"&gt;:&lt;/SPAN&gt;&lt;SPAN style="box-sizing: border-box; color: #00a250;"&gt;   1985&lt;/SPAN&gt;             &lt;SPAN style="box-sizing: border-box; color: #007427; font-weight: bold;"&gt;return&lt;/SPAN&gt; resp&lt;SPAN style="box-sizing: border-box; color: #b27d12; font-weight: bold;"&gt;.&lt;/SPAN&gt;get&lt;SPAN style="box-sizing: border-box; color: #b27d12; font-weight: bold;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="box-sizing: border-box; color: #0065ca; font-weight: bold;"&gt;'success'&lt;/SPAN&gt;&lt;SPAN style="box-sizing: border-box; color: #b27d12; font-weight: bold;"&gt;)&lt;/SPAN&gt;&lt;SPAN style="box-sizing: border-box; color: #007427; font-weight: bold;"&gt;C:\Program Files\ArcGIS\Pro\bin\Python\envs\arcgispro-py3\lib\site-packages\arcgis\_impl\connection.py&lt;/SPAN&gt; in &lt;SPAN style="box-sizing: border-box; color: #60c6c8;"&gt;post&lt;/SPAN&gt;&lt;SPAN style="box-sizing: border-box; color: #0065ca; font-weight: bold;"&gt;(self, path, postdata, files, ssl, compress, is_retry, use_ordered_dict, add_token, verify_cert, token, try_json, out_folder, file_name, force_bytes, add_headers)&lt;/SPAN&gt;&lt;SPAN style="box-sizing: border-box; color: #00a250;"&gt;   1157&lt;/SPAN&gt;                                          verify_cert=verify_cert, is_retry=True)&lt;SPAN style="box-sizing: border-box; color: #00a250;"&gt;   1158&lt;/SPAN&gt; &lt;SPAN style="box-sizing: border-box; color: #007427; font-weight: bold;"&gt;-&amp;gt; 1159&lt;/SPAN&gt;&lt;SPAN style="box-sizing: border-box; color: #b27d12; font-weight: bold;"&gt;                 &lt;/SPAN&gt;self&lt;SPAN style="box-sizing: border-box; color: #b27d12; font-weight: bold;"&gt;.&lt;/SPAN&gt;_handle_json_error&lt;SPAN style="box-sizing: border-box; color: #b27d12; font-weight: bold;"&gt;(&lt;/SPAN&gt;resp_json&lt;SPAN style="box-sizing: border-box; color: #b27d12; font-weight: bold;"&gt;[&lt;/SPAN&gt;&lt;SPAN style="box-sizing: border-box; color: #0065ca; font-weight: bold;"&gt;'error'&lt;/SPAN&gt;&lt;SPAN style="box-sizing: border-box; color: #b27d12; font-weight: bold;"&gt;]&lt;/SPAN&gt;&lt;SPAN style="box-sizing: border-box; color: #b27d12; font-weight: bold;"&gt;,&lt;/SPAN&gt; errorcode&lt;SPAN style="box-sizing: border-box; color: #b27d12; font-weight: bold;"&gt;)&lt;/SPAN&gt;&lt;SPAN style="box-sizing: border-box; color: #00a250;"&gt;   1160&lt;/SPAN&gt;                 &lt;SPAN style="box-sizing: border-box; color: #007427; font-weight: bold;"&gt;return&lt;/SPAN&gt; &lt;SPAN style="box-sizing: border-box; color: #007427; font-weight: bold;"&gt;None&lt;/SPAN&gt;&lt;SPAN style="box-sizing: border-box; color: #00a250;"&gt;   1161&lt;/SPAN&gt;  &lt;SPAN style="box-sizing: border-box; color: #007427; font-weight: bold;"&gt;C:\Program Files\ArcGIS\Pro\bin\Python\envs\arcgispro-py3\lib\site-packages\arcgis\_impl\connection.py&lt;/SPAN&gt; in &lt;SPAN style="box-sizing: border-box; color: #60c6c8;"&gt;_handle_json_error&lt;/SPAN&gt;&lt;SPAN style="box-sizing: border-box; color: #0065ca; font-weight: bold;"&gt;(self, error, errorcode)&lt;/SPAN&gt;&lt;SPAN style="box-sizing: border-box; color: #00a250;"&gt;   1178&lt;/SPAN&gt; &lt;SPAN style="box-sizing: border-box; color: #00a250;"&gt;   1179&lt;/SPAN&gt;         errormessage &lt;SPAN style="box-sizing: border-box; color: #b27d12; font-weight: bold;"&gt;=&lt;/SPAN&gt; errormessage &lt;SPAN style="box-sizing: border-box; color: #b27d12; font-weight: bold;"&gt;+&lt;/SPAN&gt; &lt;SPAN style="box-sizing: border-box; color: #0065ca; font-weight: bold;"&gt;"\n(Error Code: "&lt;/SPAN&gt; &lt;SPAN style="box-sizing: border-box; color: #b27d12; font-weight: bold;"&gt;+&lt;/SPAN&gt; str&lt;SPAN style="box-sizing: border-box; color: #b27d12; font-weight: bold;"&gt;(&lt;/SPAN&gt;errorcode&lt;SPAN style="box-sizing: border-box; color: #b27d12; font-weight: bold;"&gt;)&lt;/SPAN&gt; &lt;SPAN style="box-sizing: border-box; color: #b27d12; font-weight: bold;"&gt;+&lt;/SPAN&gt;&lt;SPAN style="box-sizing: border-box; color: #0065ca; font-weight: bold;"&gt;")"&lt;/SPAN&gt;&lt;SPAN style="box-sizing: border-box; color: #007427; font-weight: bold;"&gt;-&amp;gt; 1180&lt;/SPAN&gt;&lt;SPAN style="box-sizing: border-box; color: #b27d12; font-weight: bold;"&gt;         &lt;/SPAN&gt;&lt;SPAN style="box-sizing: border-box; color: #007427; font-weight: bold;"&gt;raise&lt;/SPAN&gt; RuntimeError&lt;SPAN style="box-sizing: border-box; color: #b27d12; font-weight: bold;"&gt;(&lt;/SPAN&gt;errormessage&lt;SPAN style="box-sizing: border-box; color: #b27d12; font-weight: bold;"&gt;)&lt;/SPAN&gt;&lt;SPAN style="box-sizing: border-box; color: #00a250;"&gt;   1181&lt;/SPAN&gt; &lt;SPAN style="box-sizing: border-box; color: #00a250;"&gt;   1182&lt;/SPAN&gt; &lt;SPAN style="box-sizing: border-box; color: #007427; font-weight: bold;"&gt;class&lt;/SPAN&gt; _StrictURLopener&lt;SPAN style="box-sizing: border-box; color: #b27d12; font-weight: bold;"&gt;(&lt;/SPAN&gt;request&lt;SPAN style="box-sizing: border-box; color: #b27d12; font-weight: bold;"&gt;.&lt;/SPAN&gt;FancyURLopener&lt;SPAN style="box-sizing: border-box; color: #b27d12; font-weight: bold;"&gt;)&lt;/SPAN&gt;&lt;SPAN style="box-sizing: border-box; color: #b27d12; font-weight: bold;"&gt;:&lt;/SPAN&gt;&lt;SPAN style="box-sizing: border-box; color: #b22b31; font-weight: bold;"&gt;RuntimeError&lt;/SPAN&gt;: You do not have permissions to access this resource or perform this operation. (Error Code: 403)&lt;/PRE&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Does the API not recognizing my Admin role on Portal?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;BR /&gt;Chris P&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 05 Mar 2020 03:34:03 GMT</pubDate>
    <dc:creator>ChrisPedrezuela1</dc:creator>
    <dc:date>2020-03-05T03:34:03Z</dc:date>
    <item>
      <title>Update Level not working</title>
      <link>https://community.esri.com/t5/arcgis-api-for-python-questions/update-level-not-working/m-p/810215#M2432</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Trying to bump down a level 2 user to level 1. I am an administrator in our on-premise Portal. When I apply the "update_level" to a user I get the error below,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;DIV style="box-sizing: border-box; padding: 0px; break-inside: avoid; -webkit-box-orient: horizontal; -webkit-box-align: stretch; display: flex; flex-direction: row; align-items: stretch; color: #000000; font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif; font-size: 14px; font-style: normal; font-variant-ligatures: normal; font-variant-caps: normal; font-weight: 400; letter-spacing: normal; orphans: 2; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; background-color: #ffffff; text-decoration-style: initial; text-decoration-color: initial;"&gt;&lt;DIV style="box-sizing: border-box; overflow-x: auto; padding: 0.4em; -webkit-box-flex: 1; flex: 1 1 0%; max-width: calc(100% - 14ex); text-align: left; color: #000000; line-height: 1.21429em; background: #ffdddd;"&gt;&lt;PRE style="box-sizing: border-box; overflow: auto; font-family: monospace; font-size: inherit; display: block; padding: 1px 0px; margin: 0px; line-height: inherit; word-break: break-all; overflow-wrap: break-word; color: black; background-color: transparent; border: 0px; border-radius: 0px; white-space: pre-wrap; vertical-align: baseline;"&gt;You do not have permissions to access this resource or perform this operation.&lt;/PRE&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;DIV style="box-sizing: border-box; padding: 0px; break-inside: avoid; -webkit-box-orient: horizontal; -webkit-box-align: stretch; display: flex; flex-direction: row; align-items: stretch; color: #000000; font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif; font-size: 14px; font-style: normal; font-variant-ligatures: normal; font-variant-caps: normal; font-weight: 400; letter-spacing: normal; orphans: 2; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; background-color: #ffffff; text-decoration-style: initial; text-decoration-color: initial;"&gt;&lt;DIV style="box-sizing: border-box; visibility: hidden; cursor: pointer; color: #333333; padding: 5px 1ex; width: 1ex;"&gt;&lt;/DIV&gt;&lt;DIV style="box-sizing: border-box; min-width: 14ex; padding: 0px 0.4em; margin: 0px; font-family: monospace; text-align: right; line-height: 1.21429em; user-select: none; cursor: default;"&gt;&lt;/DIV&gt;&lt;DIV style="box-sizing: border-box; overflow-x: auto; padding: 0.4em; -webkit-box-flex: 1; flex: 1 1 0%; max-width: calc(100% - 14ex); text-align: left; color: #000000; line-height: 1.21429em;"&gt;&lt;PRE style="box-sizing: border-box; overflow: auto; font-family: monospace; font-size: inherit; display: block; padding: 1px 0px; margin: 0px; line-height: inherit; word-break: break-all; overflow-wrap: break-word; color: black; background-color: transparent; border: 0px; border-radius: 0px; white-space: pre-wrap; vertical-align: baseline;"&gt;&lt;SPAN style="box-sizing: border-box; color: #b22b31; font-weight: bold;"&gt;---------------------------------------------------------------------------&lt;/SPAN&gt;&lt;SPAN style="box-sizing: border-box; color: #b22b31; font-weight: bold;"&gt;RuntimeError&lt;/SPAN&gt;                              Traceback (most recent call last)&lt;SPAN style="box-sizing: border-box; color: #007427; font-weight: bold;"&gt;&amp;lt;ipython-input-5-be7e1c3f4bdd&amp;gt;&lt;/SPAN&gt; in &lt;SPAN style="box-sizing: border-box; color: #60c6c8;"&gt;&amp;lt;module&amp;gt;&lt;/SPAN&gt;&lt;SPAN style="box-sizing: border-box; color: #0065ca; font-weight: bold;"&gt;()&lt;/SPAN&gt;&lt;SPAN style="box-sizing: border-box; color: #007427; font-weight: bold;"&gt;----&amp;gt; 1&lt;/SPAN&gt;&lt;SPAN style="box-sizing: border-box; color: #b27d12; font-weight: bold;"&gt; &lt;/SPAN&gt;uq&lt;SPAN style="box-sizing: border-box; color: #b27d12; font-weight: bold;"&gt;.&lt;/SPAN&gt;update_level&lt;SPAN style="box-sizing: border-box; color: #b27d12; font-weight: bold;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="box-sizing: border-box; color: #0065ca; font-weight: bold;"&gt;'1'&lt;/SPAN&gt;&lt;SPAN style="box-sizing: border-box; color: #b27d12; font-weight: bold;"&gt;)&lt;/SPAN&gt;&lt;SPAN style="box-sizing: border-box; color: #007427; font-weight: bold;"&gt;C:\Program Files\ArcGIS\Pro\bin\Python\envs\arcgispro-py3\lib\site-packages\arcgis\gis\__init__.py&lt;/SPAN&gt; in &lt;SPAN style="box-sizing: border-box; color: #60c6c8;"&gt;update_level&lt;/SPAN&gt;&lt;SPAN style="box-sizing: border-box; color: #0065ca; font-weight: bold;"&gt;(self, level)&lt;/SPAN&gt;&lt;SPAN style="box-sizing: border-box; color: #00a250;"&gt;   4771&lt;/SPAN&gt;         &lt;SPAN style="box-sizing: border-box; color: #007427; font-weight: bold;"&gt;if&lt;/SPAN&gt; &lt;SPAN style="box-sizing: border-box; color: #0065ca; font-weight: bold;"&gt;'roleId'&lt;/SPAN&gt; &lt;SPAN style="box-sizing: border-box; color: #007427; font-weight: bold;"&gt;in&lt;/SPAN&gt; self &lt;SPAN style="box-sizing: border-box; color: #007427; font-weight: bold;"&gt;and&lt;/SPAN&gt;&lt;SPAN style="box-sizing: border-box; color: #e75c58;"&gt; &lt;/SPAN&gt;&lt;SPAN style="box-sizing: border-box; color: #e75c58;"&gt;\&lt;/SPAN&gt;&lt;SPAN style="box-sizing: border-box; color: #00a250;"&gt;   4772&lt;/SPAN&gt;            self&lt;SPAN style="box-sizing: border-box; color: #b27d12; font-weight: bold;"&gt;[&lt;/SPAN&gt;&lt;SPAN style="box-sizing: border-box; color: #0065ca; font-weight: bold;"&gt;'roleId'&lt;/SPAN&gt;&lt;SPAN style="box-sizing: border-box; color: #b27d12; font-weight: bold;"&gt;]&lt;/SPAN&gt; &lt;SPAN style="box-sizing: border-box; color: #b27d12; font-weight: bold;"&gt;!=&lt;/SPAN&gt; &lt;SPAN style="box-sizing: border-box; color: #0065ca; font-weight: bold;"&gt;'iAAAAAAAAAAAAAAA'&lt;/SPAN&gt;&lt;SPAN style="box-sizing: border-box; color: #b27d12; font-weight: bold;"&gt;:&lt;/SPAN&gt;&lt;SPAN style="box-sizing: border-box; color: #007427; font-weight: bold;"&gt;-&amp;gt; 4773&lt;/SPAN&gt;&lt;SPAN style="box-sizing: border-box; color: #b27d12; font-weight: bold;"&gt;             &lt;/SPAN&gt;self&lt;SPAN style="box-sizing: border-box; color: #b27d12; font-weight: bold;"&gt;.&lt;/SPAN&gt;update_role&lt;SPAN style="box-sizing: border-box; color: #b27d12; font-weight: bold;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="box-sizing: border-box; color: #0065ca; font-weight: bold;"&gt;'iAAAAAAAAAAAAAAA'&lt;/SPAN&gt;&lt;SPAN style="box-sizing: border-box; color: #b27d12; font-weight: bold;"&gt;)&lt;/SPAN&gt;&lt;SPAN style="box-sizing: border-box; color: #00a250;"&gt;   4774&lt;/SPAN&gt;             self&lt;SPAN style="box-sizing: border-box; color: #b27d12; font-weight: bold;"&gt;.&lt;/SPAN&gt;_hydrated &lt;SPAN style="box-sizing: border-box; color: #b27d12; font-weight: bold;"&gt;=&lt;/SPAN&gt; &lt;SPAN style="box-sizing: border-box; color: #007427; font-weight: bold;"&gt;False&lt;/SPAN&gt;&lt;SPAN style="box-sizing: border-box; color: #00a250;"&gt;   4775&lt;/SPAN&gt;             self&lt;SPAN style="box-sizing: border-box; color: #b27d12; font-weight: bold;"&gt;.&lt;/SPAN&gt;_hydrate&lt;SPAN style="box-sizing: border-box; color: #b27d12; font-weight: bold;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="box-sizing: border-box; color: #b27d12; font-weight: bold;"&gt;)&lt;/SPAN&gt;&lt;SPAN style="box-sizing: border-box; color: #007427; font-weight: bold;"&gt;C:\Program Files\ArcGIS\Pro\bin\Python\envs\arcgispro-py3\lib\site-packages\arcgis\gis\__init__.py&lt;/SPAN&gt; in &lt;SPAN style="box-sizing: border-box; color: #60c6c8;"&gt;update_role&lt;/SPAN&gt;&lt;SPAN style="box-sizing: border-box; color: #0065ca; font-weight: bold;"&gt;(self, role)&lt;/SPAN&gt;&lt;SPAN style="box-sizing: border-box; color: #00a250;"&gt;   5156&lt;/SPAN&gt;         &lt;SPAN style="box-sizing: border-box; color: #007427; font-weight: bold;"&gt;if&lt;/SPAN&gt; isinstance&lt;SPAN style="box-sizing: border-box; color: #b27d12; font-weight: bold;"&gt;(&lt;/SPAN&gt;role&lt;SPAN style="box-sizing: border-box; color: #b27d12; font-weight: bold;"&gt;,&lt;/SPAN&gt; Role&lt;SPAN style="box-sizing: border-box; color: #b27d12; font-weight: bold;"&gt;)&lt;/SPAN&gt;&lt;SPAN style="box-sizing: border-box; color: #b27d12; font-weight: bold;"&gt;:&lt;/SPAN&gt;&lt;SPAN style="box-sizing: border-box; color: #00a250;"&gt;   5157&lt;/SPAN&gt;             role &lt;SPAN style="box-sizing: border-box; color: #b27d12; font-weight: bold;"&gt;=&lt;/SPAN&gt; role&lt;SPAN style="box-sizing: border-box; color: #b27d12; font-weight: bold;"&gt;.&lt;/SPAN&gt;role_id&lt;SPAN style="box-sizing: border-box; color: #007427; font-weight: bold;"&gt;-&amp;gt; 5158&lt;/SPAN&gt;&lt;SPAN style="box-sizing: border-box; color: #b27d12; font-weight: bold;"&gt;         &lt;/SPAN&gt;passed &lt;SPAN style="box-sizing: border-box; color: #b27d12; font-weight: bold;"&gt;=&lt;/SPAN&gt; self&lt;SPAN style="box-sizing: border-box; color: #b27d12; font-weight: bold;"&gt;.&lt;/SPAN&gt;_portal&lt;SPAN style="box-sizing: border-box; color: #b27d12; font-weight: bold;"&gt;.&lt;/SPAN&gt;update_user_role&lt;SPAN style="box-sizing: border-box; color: #b27d12; font-weight: bold;"&gt;(&lt;/SPAN&gt;self&lt;SPAN style="box-sizing: border-box; color: #b27d12; font-weight: bold;"&gt;.&lt;/SPAN&gt;_user_id&lt;SPAN style="box-sizing: border-box; color: #b27d12; font-weight: bold;"&gt;,&lt;/SPAN&gt; role&lt;SPAN style="box-sizing: border-box; color: #b27d12; font-weight: bold;"&gt;)&lt;/SPAN&gt;&lt;SPAN style="box-sizing: border-box; color: #00a250;"&gt;   5159&lt;/SPAN&gt;         &lt;SPAN style="box-sizing: border-box; color: #007427; font-weight: bold;"&gt;if&lt;/SPAN&gt; passed&lt;SPAN style="box-sizing: border-box; color: #b27d12; font-weight: bold;"&gt;:&lt;/SPAN&gt;&lt;SPAN style="box-sizing: border-box; color: #00a250;"&gt;   5160&lt;/SPAN&gt;             self&lt;SPAN style="box-sizing: border-box; color: #b27d12; font-weight: bold;"&gt;.&lt;/SPAN&gt;_hydrate&lt;SPAN style="box-sizing: border-box; color: #b27d12; font-weight: bold;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="box-sizing: border-box; color: #b27d12; font-weight: bold;"&gt;)&lt;/SPAN&gt;&lt;SPAN style="box-sizing: border-box; color: #007427; font-weight: bold;"&gt;C:\Program Files\ArcGIS\Pro\bin\Python\envs\arcgispro-py3\lib\site-packages\arcgis\_impl\portalpy.py&lt;/SPAN&gt; in &lt;SPAN style="box-sizing: border-box; color: #60c6c8;"&gt;update_user_role&lt;/SPAN&gt;&lt;SPAN style="box-sizing: border-box; color: #0065ca; font-weight: bold;"&gt;(self, username, role)&lt;/SPAN&gt;&lt;SPAN style="box-sizing: border-box; color: #00a250;"&gt;   1981&lt;/SPAN&gt;         postdata &lt;SPAN style="box-sizing: border-box; color: #b27d12; font-weight: bold;"&gt;=&lt;/SPAN&gt; self&lt;SPAN style="box-sizing: border-box; color: #b27d12; font-weight: bold;"&gt;.&lt;/SPAN&gt;_postdata&lt;SPAN style="box-sizing: border-box; color: #b27d12; font-weight: bold;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="box-sizing: border-box; color: #b27d12; font-weight: bold;"&gt;)&lt;/SPAN&gt;&lt;SPAN style="box-sizing: border-box; color: #00a250;"&gt;   1982&lt;/SPAN&gt;         postdata&lt;SPAN style="box-sizing: border-box; color: #b27d12; font-weight: bold;"&gt;.&lt;/SPAN&gt;update&lt;SPAN style="box-sizing: border-box; color: #b27d12; font-weight: bold;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="box-sizing: border-box; color: #b27d12; font-weight: bold;"&gt;{&lt;/SPAN&gt;&lt;SPAN style="box-sizing: border-box; color: #0065ca; font-weight: bold;"&gt;'user'&lt;/SPAN&gt;&lt;SPAN style="box-sizing: border-box; color: #b27d12; font-weight: bold;"&gt;:&lt;/SPAN&gt; username&lt;SPAN style="box-sizing: border-box; color: #b27d12; font-weight: bold;"&gt;,&lt;/SPAN&gt; &lt;SPAN style="box-sizing: border-box; color: #0065ca; font-weight: bold;"&gt;'role'&lt;/SPAN&gt;&lt;SPAN style="box-sizing: border-box; color: #b27d12; font-weight: bold;"&gt;:&lt;/SPAN&gt; role&lt;SPAN style="box-sizing: border-box; color: #b27d12; font-weight: bold;"&gt;}&lt;/SPAN&gt;&lt;SPAN style="box-sizing: border-box; color: #b27d12; font-weight: bold;"&gt;)&lt;/SPAN&gt;&lt;SPAN style="box-sizing: border-box; color: #007427; font-weight: bold;"&gt;-&amp;gt; 1983&lt;/SPAN&gt;&lt;SPAN style="box-sizing: border-box; color: #b27d12; font-weight: bold;"&gt;         &lt;/SPAN&gt;resp &lt;SPAN style="box-sizing: border-box; color: #b27d12; font-weight: bold;"&gt;=&lt;/SPAN&gt; self&lt;SPAN style="box-sizing: border-box; color: #b27d12; font-weight: bold;"&gt;.&lt;/SPAN&gt;con&lt;SPAN style="box-sizing: border-box; color: #b27d12; font-weight: bold;"&gt;.&lt;/SPAN&gt;post&lt;SPAN style="box-sizing: border-box; color: #b27d12; font-weight: bold;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="box-sizing: border-box; color: #0065ca; font-weight: bold;"&gt;'portals/self/updateuserrole'&lt;/SPAN&gt;&lt;SPAN style="box-sizing: border-box; color: #b27d12; font-weight: bold;"&gt;,&lt;/SPAN&gt; postdata&lt;SPAN style="box-sizing: border-box; color: #b27d12; font-weight: bold;"&gt;,&lt;/SPAN&gt; ssl&lt;SPAN style="box-sizing: border-box; color: #b27d12; font-weight: bold;"&gt;=&lt;/SPAN&gt;&lt;SPAN style="box-sizing: border-box; color: #007427; font-weight: bold;"&gt;True&lt;/SPAN&gt;&lt;SPAN style="box-sizing: border-box; color: #b27d12; font-weight: bold;"&gt;)&lt;/SPAN&gt;&lt;SPAN style="box-sizing: border-box; color: #00a250;"&gt;   1984&lt;/SPAN&gt;         &lt;SPAN style="box-sizing: border-box; color: #007427; font-weight: bold;"&gt;if&lt;/SPAN&gt; resp&lt;SPAN style="box-sizing: border-box; color: #b27d12; font-weight: bold;"&gt;:&lt;/SPAN&gt;&lt;SPAN style="box-sizing: border-box; color: #00a250;"&gt;   1985&lt;/SPAN&gt;             &lt;SPAN style="box-sizing: border-box; color: #007427; font-weight: bold;"&gt;return&lt;/SPAN&gt; resp&lt;SPAN style="box-sizing: border-box; color: #b27d12; font-weight: bold;"&gt;.&lt;/SPAN&gt;get&lt;SPAN style="box-sizing: border-box; color: #b27d12; font-weight: bold;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="box-sizing: border-box; color: #0065ca; font-weight: bold;"&gt;'success'&lt;/SPAN&gt;&lt;SPAN style="box-sizing: border-box; color: #b27d12; font-weight: bold;"&gt;)&lt;/SPAN&gt;&lt;SPAN style="box-sizing: border-box; color: #007427; font-weight: bold;"&gt;C:\Program Files\ArcGIS\Pro\bin\Python\envs\arcgispro-py3\lib\site-packages\arcgis\_impl\connection.py&lt;/SPAN&gt; in &lt;SPAN style="box-sizing: border-box; color: #60c6c8;"&gt;post&lt;/SPAN&gt;&lt;SPAN style="box-sizing: border-box; color: #0065ca; font-weight: bold;"&gt;(self, path, postdata, files, ssl, compress, is_retry, use_ordered_dict, add_token, verify_cert, token, try_json, out_folder, file_name, force_bytes, add_headers)&lt;/SPAN&gt;&lt;SPAN style="box-sizing: border-box; color: #00a250;"&gt;   1157&lt;/SPAN&gt;                                          verify_cert=verify_cert, is_retry=True)&lt;SPAN style="box-sizing: border-box; color: #00a250;"&gt;   1158&lt;/SPAN&gt; &lt;SPAN style="box-sizing: border-box; color: #007427; font-weight: bold;"&gt;-&amp;gt; 1159&lt;/SPAN&gt;&lt;SPAN style="box-sizing: border-box; color: #b27d12; font-weight: bold;"&gt;                 &lt;/SPAN&gt;self&lt;SPAN style="box-sizing: border-box; color: #b27d12; font-weight: bold;"&gt;.&lt;/SPAN&gt;_handle_json_error&lt;SPAN style="box-sizing: border-box; color: #b27d12; font-weight: bold;"&gt;(&lt;/SPAN&gt;resp_json&lt;SPAN style="box-sizing: border-box; color: #b27d12; font-weight: bold;"&gt;[&lt;/SPAN&gt;&lt;SPAN style="box-sizing: border-box; color: #0065ca; font-weight: bold;"&gt;'error'&lt;/SPAN&gt;&lt;SPAN style="box-sizing: border-box; color: #b27d12; font-weight: bold;"&gt;]&lt;/SPAN&gt;&lt;SPAN style="box-sizing: border-box; color: #b27d12; font-weight: bold;"&gt;,&lt;/SPAN&gt; errorcode&lt;SPAN style="box-sizing: border-box; color: #b27d12; font-weight: bold;"&gt;)&lt;/SPAN&gt;&lt;SPAN style="box-sizing: border-box; color: #00a250;"&gt;   1160&lt;/SPAN&gt;                 &lt;SPAN style="box-sizing: border-box; color: #007427; font-weight: bold;"&gt;return&lt;/SPAN&gt; &lt;SPAN style="box-sizing: border-box; color: #007427; font-weight: bold;"&gt;None&lt;/SPAN&gt;&lt;SPAN style="box-sizing: border-box; color: #00a250;"&gt;   1161&lt;/SPAN&gt;  &lt;SPAN style="box-sizing: border-box; color: #007427; font-weight: bold;"&gt;C:\Program Files\ArcGIS\Pro\bin\Python\envs\arcgispro-py3\lib\site-packages\arcgis\_impl\connection.py&lt;/SPAN&gt; in &lt;SPAN style="box-sizing: border-box; color: #60c6c8;"&gt;_handle_json_error&lt;/SPAN&gt;&lt;SPAN style="box-sizing: border-box; color: #0065ca; font-weight: bold;"&gt;(self, error, errorcode)&lt;/SPAN&gt;&lt;SPAN style="box-sizing: border-box; color: #00a250;"&gt;   1178&lt;/SPAN&gt; &lt;SPAN style="box-sizing: border-box; color: #00a250;"&gt;   1179&lt;/SPAN&gt;         errormessage &lt;SPAN style="box-sizing: border-box; color: #b27d12; font-weight: bold;"&gt;=&lt;/SPAN&gt; errormessage &lt;SPAN style="box-sizing: border-box; color: #b27d12; font-weight: bold;"&gt;+&lt;/SPAN&gt; &lt;SPAN style="box-sizing: border-box; color: #0065ca; font-weight: bold;"&gt;"\n(Error Code: "&lt;/SPAN&gt; &lt;SPAN style="box-sizing: border-box; color: #b27d12; font-weight: bold;"&gt;+&lt;/SPAN&gt; str&lt;SPAN style="box-sizing: border-box; color: #b27d12; font-weight: bold;"&gt;(&lt;/SPAN&gt;errorcode&lt;SPAN style="box-sizing: border-box; color: #b27d12; font-weight: bold;"&gt;)&lt;/SPAN&gt; &lt;SPAN style="box-sizing: border-box; color: #b27d12; font-weight: bold;"&gt;+&lt;/SPAN&gt;&lt;SPAN style="box-sizing: border-box; color: #0065ca; font-weight: bold;"&gt;")"&lt;/SPAN&gt;&lt;SPAN style="box-sizing: border-box; color: #007427; font-weight: bold;"&gt;-&amp;gt; 1180&lt;/SPAN&gt;&lt;SPAN style="box-sizing: border-box; color: #b27d12; font-weight: bold;"&gt;         &lt;/SPAN&gt;&lt;SPAN style="box-sizing: border-box; color: #007427; font-weight: bold;"&gt;raise&lt;/SPAN&gt; RuntimeError&lt;SPAN style="box-sizing: border-box; color: #b27d12; font-weight: bold;"&gt;(&lt;/SPAN&gt;errormessage&lt;SPAN style="box-sizing: border-box; color: #b27d12; font-weight: bold;"&gt;)&lt;/SPAN&gt;&lt;SPAN style="box-sizing: border-box; color: #00a250;"&gt;   1181&lt;/SPAN&gt; &lt;SPAN style="box-sizing: border-box; color: #00a250;"&gt;   1182&lt;/SPAN&gt; &lt;SPAN style="box-sizing: border-box; color: #007427; font-weight: bold;"&gt;class&lt;/SPAN&gt; _StrictURLopener&lt;SPAN style="box-sizing: border-box; color: #b27d12; font-weight: bold;"&gt;(&lt;/SPAN&gt;request&lt;SPAN style="box-sizing: border-box; color: #b27d12; font-weight: bold;"&gt;.&lt;/SPAN&gt;FancyURLopener&lt;SPAN style="box-sizing: border-box; color: #b27d12; font-weight: bold;"&gt;)&lt;/SPAN&gt;&lt;SPAN style="box-sizing: border-box; color: #b27d12; font-weight: bold;"&gt;:&lt;/SPAN&gt;&lt;SPAN style="box-sizing: border-box; color: #b22b31; font-weight: bold;"&gt;RuntimeError&lt;/SPAN&gt;: You do not have permissions to access this resource or perform this operation. (Error Code: 403)&lt;/PRE&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Does the API not recognizing my Admin role on Portal?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;BR /&gt;Chris P&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 05 Mar 2020 03:34:03 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-python-questions/update-level-not-working/m-p/810215#M2432</guid>
      <dc:creator>ChrisPedrezuela1</dc:creator>
      <dc:date>2020-03-05T03:34:03Z</dc:date>
    </item>
    <item>
      <title>Re: Update Level not working</title>
      <link>https://community.esri.com/t5/arcgis-api-for-python-questions/update-level-not-working/m-p/810216#M2433</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Seems it was my python installs that have issues. Worked on a machine with clean install and all works.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 24 Mar 2020 22:03:26 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-python-questions/update-level-not-working/m-p/810216#M2433</guid>
      <dc:creator>ChrisPedrezuela1</dc:creator>
      <dc:date>2020-03-24T22:03:26Z</dc:date>
    </item>
  </channel>
</rss>

