<?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 esriLeafletGeocoder app testing in Open Source Mapping Libraries Ques.</title>
    <link>https://community.esri.com/t5/open-source-mapping-libraries-ques/esrileafletgeocoder-app-testing/m-p/1202696#M18</link>
    <description>&lt;P&gt;While testing my app like so:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;LI-CODE lang="javascript"&gt;esriLeafletGeocoder
  .reverseGeocode({
  apikey: process.env.ESRI_API_KEY,
})
.latlng([48.8583, 2.2945])
.run(function (error, results, response) {
  if (error) {
    console.log("error", error);
    return;
  }
console.log("results, response ", results, response);
});&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I suddenly began receiving the following error:&lt;/P&gt;
&lt;BLOCKQUOTE&gt;
&lt;P&gt;&amp;nbsp; error {code: 403, subcode: 2, message: "User does not have permissions to access 'world.geocodeserver'.", details: Array(0)}&lt;/P&gt;
&lt;/BLOCKQUOTE&gt;
&lt;P&gt;Which led me to check ArcGIS Developers developers website, I'm on the free free tier, but what if you are testing something with the same lat/lng?&lt;/P&gt;
&lt;P&gt;Is there a best practice I should be following to cache this result so I don't get rate limited?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Fri, 25 Aug 2023 19:43:26 GMT</pubDate>
    <dc:creator>AntonioPavicevac-Ortiz</dc:creator>
    <dc:date>2023-08-25T19:43:26Z</dc:date>
    <item>
      <title>esriLeafletGeocoder app testing</title>
      <link>https://community.esri.com/t5/open-source-mapping-libraries-ques/esrileafletgeocoder-app-testing/m-p/1202696#M18</link>
      <description>&lt;P&gt;While testing my app like so:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;LI-CODE lang="javascript"&gt;esriLeafletGeocoder
  .reverseGeocode({
  apikey: process.env.ESRI_API_KEY,
})
.latlng([48.8583, 2.2945])
.run(function (error, results, response) {
  if (error) {
    console.log("error", error);
    return;
  }
console.log("results, response ", results, response);
});&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I suddenly began receiving the following error:&lt;/P&gt;
&lt;BLOCKQUOTE&gt;
&lt;P&gt;&amp;nbsp; error {code: 403, subcode: 2, message: "User does not have permissions to access 'world.geocodeserver'.", details: Array(0)}&lt;/P&gt;
&lt;/BLOCKQUOTE&gt;
&lt;P&gt;Which led me to check ArcGIS Developers developers website, I'm on the free free tier, but what if you are testing something with the same lat/lng?&lt;/P&gt;
&lt;P&gt;Is there a best practice I should be following to cache this result so I don't get rate limited?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 25 Aug 2023 19:43:26 GMT</pubDate>
      <guid>https://community.esri.com/t5/open-source-mapping-libraries-ques/esrileafletgeocoder-app-testing/m-p/1202696#M18</guid>
      <dc:creator>AntonioPavicevac-Ortiz</dc:creator>
      <dc:date>2023-08-25T19:43:26Z</dc:date>
    </item>
    <item>
      <title>Re: esriLeafletGeocoder app testing</title>
      <link>https://community.esri.com/t5/open-source-mapping-libraries-ques/esrileafletgeocoder-app-testing/m-p/1224408#M19</link>
      <description>&lt;P&gt;the first question that comes up is what type of ArcGIS account are you using to access the geocode service? See&amp;nbsp;&lt;A href="https://developers.arcgis.com/documentation/mapping-apis-and-services/get-started/" target="_blank"&gt;https://developers.arcgis.com/documentation/mapping-apis-and-services/get-started/&lt;/A&gt;. If you are using an ArcGIS Developer account with an API key then check the API key scope to make sure geocoding (not stored or stored depending how you are using and paying for the service) is set. If you are using an ArcGIS Online account then make sure the user the key is assigned to also has the geocoding privilege (the administration can disable this). Next, verify you have free tier remaining (if using not stored service) or Pay as you go turned on.&lt;/P&gt;&lt;P&gt;Regarding caching, if you are using geocode (not stored) then caching the geocode results is against the &lt;A href="https://www.esri.com/content/dam/esrisites/en-us/media/legal/product-specific-terms-of-use/e300.pdf" target="_self"&gt;Terms of Use&lt;/A&gt;. But if you are using the geocode service with the for storage parameter set then you may cache those results.&lt;/P&gt;</description>
      <pubDate>Fri, 21 Oct 2022 21:28:44 GMT</pubDate>
      <guid>https://community.esri.com/t5/open-source-mapping-libraries-ques/esrileafletgeocoder-app-testing/m-p/1224408#M19</guid>
      <dc:creator>John-Foster</dc:creator>
      <dc:date>2022-10-21T21:28:44Z</dc:date>
    </item>
  </channel>
</rss>

