<?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: Cannot load route service. in ArcGIS JavaScript Maps SDK Questions</title>
    <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/cannot-load-route-service/m-p/1418813#M84502</link>
    <description>&lt;P&gt;The sample works in the sandbox.&lt;/P&gt;&lt;P&gt;&lt;A href="https://developers.arcgis.com/javascript/latest/sample-code/sandbox/?sample=widgets-directions" target="_blank"&gt;https://developers.arcgis.com/javascript/latest/sample-code/sandbox/?sample=widgets-directions&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Are you opening the codepen link? If so, the Route service requires an API Key, so you need to provide a key in your own app.&lt;/P&gt;</description>
    <pubDate>Fri, 03 May 2024 16:29:21 GMT</pubDate>
    <dc:creator>ReneRubalcava</dc:creator>
    <dc:date>2024-05-03T16:29:21Z</dc:date>
    <item>
      <title>Cannot load route service.</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/cannot-load-route-service/m-p/1418799#M84501</link>
      <description>&lt;P&gt;I seem to be unable to use the RouteLayer/Directions to add the Directions widget to an existing project.&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Even the example&amp;nbsp;&lt;A href="https://developers.arcgis.com/javascript/latest/sample-code/widgets-directions/" target="_blank"&gt;https://developers.arcgis.com/javascript/latest/sample-code/widgets-directions/&lt;/A&gt;&amp;nbsp;here doesn't work, I get the same message "Cannot load route service. This may be due to the service not being accessible."&lt;/P&gt;&lt;P&gt;Looking at the service status no outages reported with this service.&lt;/P&gt;&lt;P&gt;Using this example to add Directions widget to my project.&lt;/P&gt;&lt;P&gt;&lt;A href="https://developers.arcgis.com/javascript/latest/api-reference/esri-widgets-Directions.html" target="_blank"&gt;https://developers.arcgis.com/javascript/latest/api-reference/esri-widgets-Directions.html&lt;/A&gt;&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;</description>
      <pubDate>Fri, 03 May 2024 16:13:58 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/cannot-load-route-service/m-p/1418799#M84501</guid>
      <dc:creator>AnthonyDAlessio</dc:creator>
      <dc:date>2024-05-03T16:13:58Z</dc:date>
    </item>
    <item>
      <title>Re: Cannot load route service.</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/cannot-load-route-service/m-p/1418813#M84502</link>
      <description>&lt;P&gt;The sample works in the sandbox.&lt;/P&gt;&lt;P&gt;&lt;A href="https://developers.arcgis.com/javascript/latest/sample-code/sandbox/?sample=widgets-directions" target="_blank"&gt;https://developers.arcgis.com/javascript/latest/sample-code/sandbox/?sample=widgets-directions&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Are you opening the codepen link? If so, the Route service requires an API Key, so you need to provide a key in your own app.&lt;/P&gt;</description>
      <pubDate>Fri, 03 May 2024 16:29:21 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/cannot-load-route-service/m-p/1418813#M84502</guid>
      <dc:creator>ReneRubalcava</dc:creator>
      <dc:date>2024-05-03T16:29:21Z</dc:date>
    </item>
    <item>
      <title>Re: Cannot load route service.</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/cannot-load-route-service/m-p/1418854#M84504</link>
      <description>&lt;P&gt;Odd, I could have sworn I was, but I was using the "View Live" button, not sandbox.&amp;nbsp; Thanks lol it's been a long day...&lt;/P&gt;</description>
      <pubDate>Fri, 03 May 2024 17:05:28 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/cannot-load-route-service/m-p/1418854#M84504</guid>
      <dc:creator>AnthonyDAlessio</dc:creator>
      <dc:date>2024-05-03T17:05:28Z</dc:date>
    </item>
    <item>
      <title>Re: Cannot load route service.</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/cannot-load-route-service/m-p/1418859#M84505</link>
      <description>&lt;P&gt;Ok, I copied the code from the sandbox and added my API key but I'm seeing the same error&amp;nbsp; (attached)&lt;/P&gt;&lt;P&gt;Is there something I need to turn on for my account to be able to use the route service?&lt;/P&gt;</description>
      <pubDate>Fri, 03 May 2024 17:12:33 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/cannot-load-route-service/m-p/1418859#M84505</guid>
      <dc:creator>AnthonyDAlessio</dc:creator>
      <dc:date>2024-05-03T17:12:33Z</dc:date>
    </item>
    <item>
      <title>Re: Cannot load route service.</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/cannot-load-route-service/m-p/1418865#M84506</link>
      <description>&lt;P&gt;As long as you have Routing and probably geocoding enabled for your key, should be fine.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="ReneRubalcava_0-1714756894159.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/103045i473F458364A1ED3C/image-size/medium?v=v2&amp;amp;px=400" role="button" title="ReneRubalcava_0-1714756894159.png" alt="ReneRubalcava_0-1714756894159.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 03 May 2024 17:21:47 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/cannot-load-route-service/m-p/1418865#M84506</guid>
      <dc:creator>ReneRubalcava</dc:creator>
      <dc:date>2024-05-03T17:21:47Z</dc:date>
    </item>
    <item>
      <title>Re: Cannot load route service.</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/cannot-load-route-service/m-p/1418876#M84507</link>
      <description>&lt;P&gt;That was it.&amp;nbsp; I did not realize that these were not enabled by default, had to go in and turn them on for that API key.&lt;/P&gt;</description>
      <pubDate>Fri, 03 May 2024 17:50:12 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/cannot-load-route-service/m-p/1418876#M84507</guid>
      <dc:creator>AnthonyDAlessio</dc:creator>
      <dc:date>2024-05-03T17:50:12Z</dc:date>
    </item>
  </channel>
</rss>

