<?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: Update hosted feature layer with 2 web adaptors Python in ArcGIS REST APIs and Services Questions</title>
    <link>https://community.esri.com/t5/arcgis-rest-apis-and-services-questions/update-hosted-feature-layer-with-2-web-adaptors/m-p/464569#M2191</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;duplicate of&amp;nbsp;&lt;A _jive_internal="true" href="https://community.esri.com/thread/207318-update-hosted-feature-layer-with-2-web-adaptors"&gt;https://community.esri.com/thread/207318-update-hosted-feature-layer-with-2-web-adaptors&lt;/A&gt;&lt;/P&gt;&lt;P&gt;use&lt;STRONG&gt; 'Share'&lt;/STRONG&gt; rather than double post&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sat, 30 Dec 2017 12:36:12 GMT</pubDate>
    <dc:creator>DanPatterson_Retired</dc:creator>
    <dc:date>2017-12-30T12:36:12Z</dc:date>
    <item>
      <title>Update hosted feature layer with 2 web adaptors Python</title>
      <link>https://community.esri.com/t5/arcgis-rest-apis-and-services-questions/update-hosted-feature-layer-with-2-web-adaptors/m-p/464568#M2190</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P style="background-color: #ffffff; border: 0px;"&gt;Hello,&lt;/P&gt;&lt;P style="background-color: #ffffff; border: 0px;"&gt;I have a federated server and portal 10.5.1. using 2 web adaptors, one for the portal and the other for the server.&amp;nbsp;they both seat in the same IIS that have a cert in it. This IIS is open to the world and the other server are closed. Everything is working great but I have a one problem.&lt;/P&gt;&lt;P style="background-color: #ffffff; border: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P style="background-color: #ffffff; border: 0px;"&gt;I am a developer that does allot of work the rest API, in this configuration (I didn’t had that problem when I had 1 web adaptor configurated for both server and portal, but ESRI recommended to have 2) I can't update my hosted services. I can update my services the are in my SDE (And was publish directly to the server not to the portal as hosted) but the hosted one doesn't work.&lt;/P&gt;&lt;P style="background-color: #ffffff; border: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P style="background-color: #ffffff; border: 0px;"&gt;When I try to get token from the portal I get:&lt;/P&gt;&lt;P style="background-color: #ffffff; border: 0px;"&gt;"Invalid Token" that I can understand because that I work with the rest api of the server and I need to get a server token (I guess?) .&lt;/P&gt;&lt;P style="background-color: #ffffff; border: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P style="background-color: #ffffff; border: 0px;"&gt;When I try to get a token form the server I get:&lt;/P&gt;&lt;P style="background-color: #ffffff; border: 0px;"&gt;"User does not have the privilege to perform this operation." I know I need to get the server from the token because with this token I can query the service.&lt;/P&gt;&lt;P style="background-color: #ffffff; border: 0px;"&gt;But way I can't update it? I am using the admin (and the owner of the&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;STRONG style="border: 0px; font-weight: bold;"&gt;items&lt;/STRONG&gt;) credentials. The items is open for edit and I even created a group with one user because I thought it will help?&lt;/P&gt;&lt;P style="background-color: #ffffff; border: 0px;"&gt;&lt;SPAN style="border: 0px; font-weight: inherit; font-size: 11pt;"&gt;When I sign in to the rest API with the browser I can update it. The python doesn't work.&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="background-color: #ffffff; border: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P style="background-color: #ffffff; border: 0px;"&gt;Any ideas?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 30 Dec 2017 11:02:14 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-rest-apis-and-services-questions/update-hosted-feature-layer-with-2-web-adaptors/m-p/464568#M2190</guid>
      <dc:creator>roialgavish</dc:creator>
      <dc:date>2017-12-30T11:02:14Z</dc:date>
    </item>
    <item>
      <title>Re: Update hosted feature layer with 2 web adaptors Python</title>
      <link>https://community.esri.com/t5/arcgis-rest-apis-and-services-questions/update-hosted-feature-layer-with-2-web-adaptors/m-p/464569#M2191</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;duplicate of&amp;nbsp;&lt;A _jive_internal="true" href="https://community.esri.com/thread/207318-update-hosted-feature-layer-with-2-web-adaptors"&gt;https://community.esri.com/thread/207318-update-hosted-feature-layer-with-2-web-adaptors&lt;/A&gt;&lt;/P&gt;&lt;P&gt;use&lt;STRONG&gt; 'Share'&lt;/STRONG&gt; rather than double post&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 30 Dec 2017 12:36:12 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-rest-apis-and-services-questions/update-hosted-feature-layer-with-2-web-adaptors/m-p/464569#M2191</guid>
      <dc:creator>DanPatterson_Retired</dc:creator>
      <dc:date>2017-12-30T12:36:12Z</dc:date>
    </item>
  </channel>
</rss>

