<?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: 498 Invalid Token in ArcGIS JavaScript Maps SDK Questions</title>
    <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/498-invalid-token/m-p/90570#M8242</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;My Esri contact solved this mystery.&amp;nbsp; So the online documentation's example used 'logisticsdev.arcgis.com' (an internal server) whereas it should have read 'logistics.arcgis.com' (sans 'dev').&amp;nbsp; They assured me that they'd edit the documentation but this was the source of the issue.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 21 Feb 2013 21:15:51 GMT</pubDate>
    <dc:creator>GregWietholter</dc:creator>
    <dc:date>2013-02-21T21:15:51Z</dc:date>
    <item>
      <title>498 Invalid Token</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/498-invalid-token/m-p/90567#M8239</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I'm attempting to utilize the vrp ('Vehicle Routing Problem Service') within the Network Analysis Services. I am successfully able to generate a token. However, when I attempt to call to the vrp service and use that token, I get a '498 - Invalid Token' message. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I'm certain the token was created with proper credentials, and is not expired as it is newly generated. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Therefore, my guess is that the 'referer' property might be the issue. For the token request I issue a referer value (let's say MyRefererValue) in both the generated url and also in the request's 'referer' property. Then in the vrp call I of course use the token and I also set the request's referer property to the same value (let's say MyRefererValue).&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Do you feel this is indeed related to the referer or could there be another cause of this 498? Any help or guidance would be greatly appreciated.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;-Greg&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 20 Feb 2013 18:53:56 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/498-invalid-token/m-p/90567#M8239</guid>
      <dc:creator>GregWietholter</dc:creator>
      <dc:date>2013-02-20T18:53:56Z</dc:date>
    </item>
    <item>
      <title>Re: 498 Invalid Token</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/498-invalid-token/m-p/90568#M8240</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Greg,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Yes, it could be the refer causing invalid token issue. Why don't you use the identity manager if you are using the ArcGIS JavaScript API? Here is the sample link for your reference:&lt;/SPAN&gt;&lt;BR /&gt;&lt;A href="http://help.arcgis.com/en/webapi/javascript/arcgis/jssamples/#sample/widget_identitymanager"&gt;http://help.arcgis.com/en/webapi/javascript/arcgis/jssamples/#sample/widget_identitymanager&lt;/A&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 21 Feb 2013 06:48:29 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/498-invalid-token/m-p/90568#M8240</guid>
      <dc:creator>RahulMetangale1</dc:creator>
      <dc:date>2013-02-21T06:48:29Z</dc:date>
    </item>
    <item>
      <title>Re: 498 Invalid Token</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/498-invalid-token/m-p/90569#M8241</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I need to step back and speak about this at a higher level.&amp;nbsp; &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;The other calls work, &lt;/SPAN&gt;&lt;SPAN style="text-decoration:underline;"&gt;only&lt;/SPAN&gt;&lt;SPAN&gt; the VRP call fails.&amp;nbsp; So for instance, I can generate a token and use that token to call a single-route optimization.&amp;nbsp; However, when I try the VRP call, I get the 498 Invalid Token.&amp;nbsp; So it's not as if I have an invalid token in reality since that same token works for other calls.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I'm not sure of the best forum area in which to seek help.&amp;nbsp; I tried the 'ArcGIS Online' forum and they told me to seek a developer forum, which is why I'm here.&amp;nbsp; But really it's an authentication issue, not so much language specific probably.&amp;nbsp; Is this the correct place for me to have posted or is there a better place to re-post again?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 21 Feb 2013 12:46:10 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/498-invalid-token/m-p/90569#M8241</guid>
      <dc:creator>GregWietholter</dc:creator>
      <dc:date>2013-02-21T12:46:10Z</dc:date>
    </item>
    <item>
      <title>Re: 498 Invalid Token</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/498-invalid-token/m-p/90570#M8242</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;My Esri contact solved this mystery.&amp;nbsp; So the online documentation's example used 'logisticsdev.arcgis.com' (an internal server) whereas it should have read 'logistics.arcgis.com' (sans 'dev').&amp;nbsp; They assured me that they'd edit the documentation but this was the source of the issue.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 21 Feb 2013 21:15:51 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/498-invalid-token/m-p/90570#M8242</guid>
      <dc:creator>GregWietholter</dc:creator>
      <dc:date>2013-02-21T21:15:51Z</dc:date>
    </item>
  </channel>
</rss>

