<?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: RequestCredentials not found when using @esri/arcgis-rest-request in ArcGIS REST JS Questions</title>
    <link>https://community.esri.com/t5/arcgis-rest-js-questions/requestcredentials-not-found-when-using-esri/m-p/1512292#M69</link>
    <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/795150"&gt;@Cmeng&lt;/a&gt;, in order to help assist you, could you please post a minimal replication case that demonstrates the issue, so I'm able to run it and see your issue? Then I'll be able to look into it and we can hopefully get it resolved for you. Thank you!&lt;/P&gt;</description>
    <pubDate>Tue, 30 Jul 2024 13:20:10 GMT</pubDate>
    <dc:creator>GavinRehkemper</dc:creator>
    <dc:date>2024-07-30T13:20:10Z</dc:date>
    <item>
      <title>RequestCredentials not found when using @esri/arcgis-rest-request</title>
      <link>https://community.esri.com/t5/arcgis-rest-js-questions/requestcredentials-not-found-when-using-esri/m-p/1429242#M65</link>
      <description>&lt;P&gt;Hi there,&lt;BR /&gt;&lt;BR /&gt;I am building an node js application using typescript 5.4.5 and i am using&amp;nbsp;@esri/arcgis-rest-request to try to get the access token from acrgis.&lt;BR /&gt;&lt;BR /&gt;But i am hit with&amp;nbsp;&lt;/P&gt;&lt;P class=""&gt;&lt;SPAN class=""&gt;node_modules/@esri/arcgis-rest-request/dist/esm/utils/IAuthenticationManager.d.ts&lt;/SPAN&gt;&lt;SPAN class=""&gt;:&lt;/SPAN&gt;&lt;SPAN class=""&gt;36&lt;/SPAN&gt;&lt;SPAN class=""&gt;:&lt;/SPAN&gt;&lt;SPAN class=""&gt;41&lt;/SPAN&gt;&lt;SPAN class=""&gt; - &lt;/SPAN&gt;&lt;SPAN class=""&gt;error&lt;/SPAN&gt;&lt;SPAN class=""&gt; TS2304: &lt;/SPAN&gt;&lt;SPAN class=""&gt;Cannot find name 'RequestCredentials'.&lt;BR /&gt;&lt;BR /&gt;&lt;/SPAN&gt;and also&lt;/P&gt;&lt;P class=""&gt;&lt;SPAN class=""&gt;node_modules/@esri/arcgis-rest-request/dist/esm/utils/ITokenRequestOptions.d.ts&lt;/SPAN&gt;&lt;SPAN class=""&gt;:&lt;/SPAN&gt;&lt;SPAN class=""&gt;7&lt;/SPAN&gt;&lt;SPAN class=""&gt;:&lt;/SPAN&gt;&lt;SPAN class=""&gt;21&lt;/SPAN&gt;&lt;SPAN class=""&gt; - &lt;/SPAN&gt;&lt;SPAN class=""&gt;error&lt;/SPAN&gt;&lt;SPAN class=""&gt; TS2552: &lt;/SPAN&gt;&lt;SPAN class=""&gt;Cannot find name 'RequestInfo'. Did you mean 'RequestInit'?&lt;BR /&gt;&lt;BR /&gt;when i am trying to import 'request' from the module.&lt;BR /&gt;&lt;BR /&gt;I wanted to ask if there is anyway to fix this? I have tried downgrading my typescript version to 4.2.x and 4.5.x but to no avail.&lt;BR /&gt;&lt;BR /&gt;Any help or advice is greatly appreciated.&lt;BR /&gt;&lt;BR /&gt;Thanks in advance.&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 10 May 2024 07:42:23 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-rest-js-questions/requestcredentials-not-found-when-using-esri/m-p/1429242#M65</guid>
      <dc:creator>Cmeng</dc:creator>
      <dc:date>2024-05-10T07:42:23Z</dc:date>
    </item>
    <item>
      <title>Re: RequestCredentials not found when using @esri/arcgis-rest-request</title>
      <link>https://community.esri.com/t5/arcgis-rest-js-questions/requestcredentials-not-found-when-using-esri/m-p/1512292#M69</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/795150"&gt;@Cmeng&lt;/a&gt;, in order to help assist you, could you please post a minimal replication case that demonstrates the issue, so I'm able to run it and see your issue? Then I'll be able to look into it and we can hopefully get it resolved for you. Thank you!&lt;/P&gt;</description>
      <pubDate>Tue, 30 Jul 2024 13:20:10 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-rest-js-questions/requestcredentials-not-found-when-using-esri/m-p/1512292#M69</guid>
      <dc:creator>GavinRehkemper</dc:creator>
      <dc:date>2024-07-30T13:20:10Z</dc:date>
    </item>
  </channel>
</rss>

