<?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 ArcGIS GeoEnrichment createReport Error in ArcGIS JavaScript Maps SDK Questions</title>
    <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/arcgis-geoenrichment-createreport-error/m-p/1689623#M88274</link>
    <description>&lt;P&gt;We are using &lt;STRONG&gt;ArcGIS JavaScript API 4.32.0 with a React (Vite) application&lt;/STRONG&gt; and the &lt;STRONG&gt;GeoEnrichment createReport service&lt;/STRONG&gt; to generate Demographic Reports.&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;Previously, the report generation and download worked using a &lt;STRONG&gt;static API Key&lt;/STRONG&gt;, but recently (Last Week) we observed that the service now requires &lt;STRONG&gt;token-based authentication with expiration&lt;/STRONG&gt;, meaning a new token must be generated periodically instead of using the API key directly.&lt;/LI&gt;&lt;LI&gt;&lt;STRONG&gt;Below is the error message . we have confirm that token is still valid, beacuse we are able to&amp;nbsp; featch the aviablable demographic list using the&amp;nbsp; status API key&amp;nbsp; :&amp;nbsp;&lt;/STRONG&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;LI-CODE lang="c"&gt;{
  "error" : {
    "code" : 498,
    "message" : "Invalid token. (code = 498). [].",
    "details" : [ ]
  }
}&lt;/LI-CODE&gt;&lt;UL&gt;&lt;LI&gt;Additionally, we noticed some &lt;STRONG&gt;changes in the report response/PDF format&lt;/STRONG&gt;, which initially caused issues opening the downloaded report in different PDF clients.&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;Could you please confirm:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;&lt;P&gt;If there has been a &lt;STRONG&gt;recent change in authentication requirements for the GeoEnrichment service&lt;/STRONG&gt;?&lt;/P&gt;&lt;/LI&gt;&lt;LI&gt;&lt;P&gt;Whether &lt;STRONG&gt;API keys are no longer supported for report downloads&lt;/STRONG&gt; and &lt;STRONG&gt;OAuth/token authentication is now required&lt;/STRONG&gt;?&lt;/P&gt;&lt;/LI&gt;&lt;LI&gt;&lt;P&gt;If there were &lt;STRONG&gt;recent updates to the report generation or response format&lt;/STRONG&gt;?&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;We are currently running this with &lt;STRONG&gt;ArcGIS JS API 4.32.0 in a React (Vite) environment&lt;/STRONG&gt;.&lt;/P&gt;&lt;P&gt;Any clarification or documentation on these changes would be appreciated.&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;</description>
    <pubDate>Tue, 10 Mar 2026 11:20:05 GMT</pubDate>
    <dc:creator>Pramod_bahir</dc:creator>
    <dc:date>2026-03-10T11:20:05Z</dc:date>
    <item>
      <title>ArcGIS GeoEnrichment createReport Error</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/arcgis-geoenrichment-createreport-error/m-p/1689623#M88274</link>
      <description>&lt;P&gt;We are using &lt;STRONG&gt;ArcGIS JavaScript API 4.32.0 with a React (Vite) application&lt;/STRONG&gt; and the &lt;STRONG&gt;GeoEnrichment createReport service&lt;/STRONG&gt; to generate Demographic Reports.&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;Previously, the report generation and download worked using a &lt;STRONG&gt;static API Key&lt;/STRONG&gt;, but recently (Last Week) we observed that the service now requires &lt;STRONG&gt;token-based authentication with expiration&lt;/STRONG&gt;, meaning a new token must be generated periodically instead of using the API key directly.&lt;/LI&gt;&lt;LI&gt;&lt;STRONG&gt;Below is the error message . we have confirm that token is still valid, beacuse we are able to&amp;nbsp; featch the aviablable demographic list using the&amp;nbsp; status API key&amp;nbsp; :&amp;nbsp;&lt;/STRONG&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;LI-CODE lang="c"&gt;{
  "error" : {
    "code" : 498,
    "message" : "Invalid token. (code = 498). [].",
    "details" : [ ]
  }
}&lt;/LI-CODE&gt;&lt;UL&gt;&lt;LI&gt;Additionally, we noticed some &lt;STRONG&gt;changes in the report response/PDF format&lt;/STRONG&gt;, which initially caused issues opening the downloaded report in different PDF clients.&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;Could you please confirm:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;&lt;P&gt;If there has been a &lt;STRONG&gt;recent change in authentication requirements for the GeoEnrichment service&lt;/STRONG&gt;?&lt;/P&gt;&lt;/LI&gt;&lt;LI&gt;&lt;P&gt;Whether &lt;STRONG&gt;API keys are no longer supported for report downloads&lt;/STRONG&gt; and &lt;STRONG&gt;OAuth/token authentication is now required&lt;/STRONG&gt;?&lt;/P&gt;&lt;/LI&gt;&lt;LI&gt;&lt;P&gt;If there were &lt;STRONG&gt;recent updates to the report generation or response format&lt;/STRONG&gt;?&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;We are currently running this with &lt;STRONG&gt;ArcGIS JS API 4.32.0 in a React (Vite) environment&lt;/STRONG&gt;.&lt;/P&gt;&lt;P&gt;Any clarification or documentation on these changes would be appreciated.&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 10 Mar 2026 11:20:05 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/arcgis-geoenrichment-createreport-error/m-p/1689623#M88274</guid>
      <dc:creator>Pramod_bahir</dc:creator>
      <dc:date>2026-03-10T11:20:05Z</dc:date>
    </item>
  </channel>
</rss>

