<?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: Geocoding / Autosuggest not working with restricted API in ArcGIS JavaScript Maps SDK Questions</title>
    <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/geocoding-autosuggest-not-working-with-restricted/m-p/1062792#M73316</link>
    <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/881"&gt;@BjornSvensson&lt;/a&gt;&amp;nbsp;- Thanks for your reply. I checked the network tab. My request referer is&lt;/P&gt;&lt;DIV class="header-value source-code"&gt;&lt;A href="https://example.com/search-results/" target="_blank"&gt;https://example.com/search-results/&lt;/A&gt;&lt;/DIV&gt;&lt;DIV class="header-value source-code"&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV class="header-value source-code"&gt;Now I added the exact same referer to the restriction (without asterisk). But the result is the same, request&amp;nbsp;canceled.&lt;/DIV&gt;&lt;DIV class="header-value source-code"&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV class="header-value source-code"&gt;Do you have any other ideas what the reason could be?&lt;/DIV&gt;</description>
    <pubDate>Fri, 28 May 2021 09:32:08 GMT</pubDate>
    <dc:creator>David_W</dc:creator>
    <dc:date>2021-05-28T09:32:08Z</dc:date>
    <item>
      <title>Geocoding / Autosuggest not working with restricted API</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/geocoding-autosuggest-not-working-with-restricted/m-p/1062359#M73297</link>
      <description>&lt;P&gt;Hi,&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am trying to implement geocoding / autosuggest on my website. When I leave my API Key unrestricted, all works perfectly fine. As soon as I restrict the API to my domain (&lt;A href="https://example.com/*" target="_blank"&gt;https://example.com/*&lt;/A&gt;), its not working anymore.&lt;/P&gt;&lt;P&gt;Doesn't it automatically check from which site the request comes? Do I need to send the referrer as a parameter somehow?&lt;/P&gt;&lt;P&gt;Thanks in advance for any help!&lt;/P&gt;&lt;P&gt;David&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 27 May 2021 15:26:28 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/geocoding-autosuggest-not-working-with-restricted/m-p/1062359#M73297</guid>
      <dc:creator>David_W</dc:creator>
      <dc:date>2021-05-27T15:26:28Z</dc:date>
    </item>
    <item>
      <title>Re: Geocoding / Autosuggest not working with restricted API</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/geocoding-autosuggest-not-working-with-restricted/m-p/1062677#M73309</link>
      <description>&lt;P&gt;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/475167"&gt;@David_W&lt;/a&gt;- Does it work if you remove the * from the end of the referrer?&lt;BR /&gt;Most browsers no longer send the full referrer URL, only the domain.&lt;BR /&gt;&lt;BR /&gt;To further debug, when using the app, look at the network tab, and see what the sent request header "referer" is set to.&lt;/P&gt;</description>
      <pubDate>Thu, 27 May 2021 23:41:28 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/geocoding-autosuggest-not-working-with-restricted/m-p/1062677#M73309</guid>
      <dc:creator>BjornSvensson</dc:creator>
      <dc:date>2021-05-27T23:41:28Z</dc:date>
    </item>
    <item>
      <title>Re: Geocoding / Autosuggest not working with restricted API</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/geocoding-autosuggest-not-working-with-restricted/m-p/1062792#M73316</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/881"&gt;@BjornSvensson&lt;/a&gt;&amp;nbsp;- Thanks for your reply. I checked the network tab. My request referer is&lt;/P&gt;&lt;DIV class="header-value source-code"&gt;&lt;A href="https://example.com/search-results/" target="_blank"&gt;https://example.com/search-results/&lt;/A&gt;&lt;/DIV&gt;&lt;DIV class="header-value source-code"&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV class="header-value source-code"&gt;Now I added the exact same referer to the restriction (without asterisk). But the result is the same, request&amp;nbsp;canceled.&lt;/DIV&gt;&lt;DIV class="header-value source-code"&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV class="header-value source-code"&gt;Do you have any other ideas what the reason could be?&lt;/DIV&gt;</description>
      <pubDate>Fri, 28 May 2021 09:32:08 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/geocoding-autosuggest-not-working-with-restricted/m-p/1062792#M73316</guid>
      <dc:creator>David_W</dc:creator>
      <dc:date>2021-05-28T09:32:08Z</dc:date>
    </item>
    <item>
      <title>Re: Geocoding / Autosuggest not working with restricted API</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/geocoding-autosuggest-not-working-with-restricted/m-p/1063071#M73338</link>
      <description>&lt;P&gt;You could try shorter referrers, like &lt;A href="https://example.com" target="_blank"&gt;https://example.com&lt;/A&gt; .&lt;BR /&gt;You could try different browsers.&lt;BR /&gt;&lt;BR /&gt;If that doesn't work I would suggest contact Esri Support.&lt;/P&gt;</description>
      <pubDate>Fri, 28 May 2021 21:52:56 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/geocoding-autosuggest-not-working-with-restricted/m-p/1063071#M73338</guid>
      <dc:creator>BjornSvensson</dc:creator>
      <dc:date>2021-05-28T21:52:56Z</dc:date>
    </item>
    <item>
      <title>Re: Geocoding / Autosuggest not working with restricted API</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/geocoding-autosuggest-not-working-with-restricted/m-p/1063110#M73341</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/881"&gt;@BjornSvensson&lt;/a&gt;&amp;nbsp;, Thanks for your suggestion, unfortunately it doesn't help.&lt;/P&gt;&lt;P&gt;Could you please tell me how to submit a support request as a developer on pay as you go subscription?&amp;nbsp;&lt;/P&gt;&lt;P&gt;„Request Case“ does not work for me, I get the notice that I’m not connected to any organization. At the same time, I’m admin of my own organization. And if I try to connect to “my organization” and send a request, I never receive it, as the form seams to be not linked to my organization. Somehow everything goes round in circles...&lt;/P&gt;</description>
      <pubDate>Sat, 29 May 2021 11:24:32 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/geocoding-autosuggest-not-working-with-restricted/m-p/1063110#M73341</guid>
      <dc:creator>David_W</dc:creator>
      <dc:date>2021-05-29T11:24:32Z</dc:date>
    </item>
  </channel>
</rss>

