<?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 498 invalid token in ArcGIS REST APIs and Services Questions</title>
    <link>https://community.esri.com/t5/arcgis-rest-apis-and-services-questions/498-invalid-token/m-p/42900#M182</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;This is to describe a frustrating experience that will hopefully save someone time in the future. I was attempting to use the enrichment service following the documentation here:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://resources.arcgis.com/en/help/arcgis-rest-api/index.html#/Accessing_the_Service/02r300000239000000/"&gt;http://resources.arcgis.com/en/help/arcgis-rest-api/index.html#/Accessing_the_Service/02r300000239000000/&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I followed the instructions and successfully generated a token using my login, but every call to the enrichment service led to a 498 invalid token error. I see I'm not the only one with this problem, but nobody bothered posting a solution. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;The first problem is that there are two types of accounts, and I signed up for the ArcGIS online account, which the website guided me to. However, there is also a developer account (or capability) I needed to add. The hint for this was a link in the docs to a developer plan - but the link is broken. But it also said an organization plan (which I believe I signed up for) would work.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;After that, I needed to create an application from within the developer interface.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Finally, I had to generate a token using Oauth 2.0. This is a completely different method of authorization from what the REST API docs state. I had to find this documentation here:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;A href="https://developers.arcgis.com/authentication/app-logins.html"&gt;https://developers.arcgis.com/authentication/app-logins.html&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Using that method generated a token that worked with the enrichment service.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 25 Jun 2014 18:18:11 GMT</pubDate>
    <dc:creator>PhilipYurchuk</dc:creator>
    <dc:date>2014-06-25T18:18:11Z</dc:date>
    <item>
      <title>498 invalid token</title>
      <link>https://community.esri.com/t5/arcgis-rest-apis-and-services-questions/498-invalid-token/m-p/42900#M182</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;This is to describe a frustrating experience that will hopefully save someone time in the future. I was attempting to use the enrichment service following the documentation here:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://resources.arcgis.com/en/help/arcgis-rest-api/index.html#/Accessing_the_Service/02r300000239000000/"&gt;http://resources.arcgis.com/en/help/arcgis-rest-api/index.html#/Accessing_the_Service/02r300000239000000/&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I followed the instructions and successfully generated a token using my login, but every call to the enrichment service led to a 498 invalid token error. I see I'm not the only one with this problem, but nobody bothered posting a solution. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;The first problem is that there are two types of accounts, and I signed up for the ArcGIS online account, which the website guided me to. However, there is also a developer account (or capability) I needed to add. The hint for this was a link in the docs to a developer plan - but the link is broken. But it also said an organization plan (which I believe I signed up for) would work.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;After that, I needed to create an application from within the developer interface.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Finally, I had to generate a token using Oauth 2.0. This is a completely different method of authorization from what the REST API docs state. I had to find this documentation here:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;A href="https://developers.arcgis.com/authentication/app-logins.html"&gt;https://developers.arcgis.com/authentication/app-logins.html&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Using that method generated a token that worked with the enrichment service.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 25 Jun 2014 18:18:11 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-rest-apis-and-services-questions/498-invalid-token/m-p/42900#M182</guid>
      <dc:creator>PhilipYurchuk</dc:creator>
      <dc:date>2014-06-25T18:18:11Z</dc:date>
    </item>
  </channel>
</rss>

