<?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: Geometry REST Service Token in ArcGIS JavaScript Maps SDK Questions</title>
    <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/geometry-rest-service-token/m-p/582599#M54385</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you Thomas. That makes sense.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So moving&amp;nbsp;away from the cloud test now,&amp;nbsp;is there a way we can tell on our own geometry service if it is accepting a token? All we can see right now is that we get the 403 error in the browser&amp;nbsp;where we cannot get to it or make url posts from the browser.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 29 Aug 2017 13:52:47 GMT</pubDate>
    <dc:creator>ChrisLavoro</dc:creator>
    <dc:date>2017-08-29T13:52:47Z</dc:date>
    <item>
      <title>Geometry REST Service Token</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/geometry-rest-service-token/m-p/582597#M54383</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can anyone provide guidance on how to pass a token to a secured geometry REST&amp;nbsp;service? I am getting error 498 "Invalid Token".&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Here is where I am testing it:&lt;/P&gt;&lt;P&gt;&lt;A href="https://utility.arcgisonline.com/ArcGIS/rest/services/Geometry/GeometryServer?token=MYTOKEN&amp;amp;f=json"&gt;https://utility.arcgisonline.com/ArcGIS/rest/services/Geometry/GeometryServer?token=&lt;SPAN style="color: #0000ff;"&gt;&lt;STRONG&gt;MYTOKEN&lt;/STRONG&gt;&lt;/SPAN&gt;&amp;amp;f=json&lt;/A&gt;&lt;/P&gt;&lt;PRE&gt;{"error":{"code":498,"message":"Invalid Token","details":[]}}&lt;/PRE&gt;&lt;P&gt;I set the token expiration way out, so it is not because it is expired.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 29 Aug 2017 12:27:54 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/geometry-rest-service-token/m-p/582597#M54383</guid>
      <dc:creator>ChrisLavoro</dc:creator>
      <dc:date>2017-08-29T12:27:54Z</dc:date>
    </item>
    <item>
      <title>Re: Geometry REST Service Token</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/geometry-rest-service-token/m-p/582598#M54384</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Your request looks fine to me. &amp;nbsp;I don't think the AGOL geometry service requires a token (ie it's public), so it may not accept tokens at all.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 29 Aug 2017 13:40:43 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/geometry-rest-service-token/m-p/582598#M54384</guid>
      <dc:creator>ThomasSolow</dc:creator>
      <dc:date>2017-08-29T13:40:43Z</dc:date>
    </item>
    <item>
      <title>Re: Geometry REST Service Token</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/geometry-rest-service-token/m-p/582599#M54385</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you Thomas. That makes sense.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So moving&amp;nbsp;away from the cloud test now,&amp;nbsp;is there a way we can tell on our own geometry service if it is accepting a token? All we can see right now is that we get the 403 error in the browser&amp;nbsp;where we cannot get to it or make url posts from the browser.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 29 Aug 2017 13:52:47 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/geometry-rest-service-token/m-p/582599#M54385</guid>
      <dc:creator>ChrisLavoro</dc:creator>
      <dc:date>2017-08-29T13:52:47Z</dc:date>
    </item>
    <item>
      <title>Re: Geometry REST Service Token</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/geometry-rest-service-token/m-p/582600#M54386</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I would try hitting the same route that you posted above with and without a token and see&amp;nbsp;what message the server is responding with.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If the service isn't accepting valid tokens I'm not sure how to troubleshoot that unfortunately.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 29 Aug 2017 15:16:02 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/geometry-rest-service-token/m-p/582600#M54386</guid>
      <dc:creator>ThomasSolow</dc:creator>
      <dc:date>2017-08-29T15:16:02Z</dc:date>
    </item>
  </channel>
</rss>

