<?xml version="1.0" encoding="utf-8"?>
<feed xmlns="http://www.w3.org/2005/Atom">
	<title type="html"><![CDATA[Infinity Code Forum — OpenRouteService doesn't work]]></title>
	<link rel="self" href="https://forum.infinity-code.com/extern.php?action=feed&amp;tid=2239&amp;type=atom" />
	<updated>2024-02-26T14:16:37Z</updated>
	<generator>PunBB</generator>
	<id>https://forum.infinity-code.com/viewtopic.php?id=2239</id>
		<entry>
			<title type="html"><![CDATA[Re: OpenRouteService doesn't work]]></title>
			<link rel="alternate" href="https://forum.infinity-code.com/viewtopic.php?pid=9431#p9431" />
			<content type="html"><![CDATA[<p>Just checked the source code, and this should also take the key from Key Manager if it is not present in Params.</p>]]></content>
			<author>
				<name><![CDATA[Alex Vertax]]></name>
				<uri>https://forum.infinity-code.com/profile.php?id=2</uri>
			</author>
			<updated>2024-02-26T14:16:37Z</updated>
			<id>https://forum.infinity-code.com/viewtopic.php?pid=9431#p9431</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: OpenRouteService doesn't work]]></title>
			<link rel="alternate" href="https://forum.infinity-code.com/viewtopic.php?pid=9430#p9430" />
			<content type="html"><![CDATA[<p>OK, I&#039;ve got it now - it needs to be added to OnlineMapsOpenRouteServiceDirections.Params</p>]]></content>
			<author>
				<name><![CDATA[tom]]></name>
				<uri>https://forum.infinity-code.com/profile.php?id=3006</uri>
			</author>
			<updated>2024-02-26T14:12:58Z</updated>
			<id>https://forum.infinity-code.com/viewtopic.php?pid=9430#p9430</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: OpenRouteService doesn't work]]></title>
			<link rel="alternate" href="https://forum.infinity-code.com/viewtopic.php?pid=9429#p9429" />
			<content type="html"><![CDATA[<p>I&#039;ve added that to Open Route Service for a Key Manager</p>]]></content>
			<author>
				<name><![CDATA[tom]]></name>
				<uri>https://forum.infinity-code.com/profile.php?id=3006</uri>
			</author>
			<updated>2024-02-26T14:06:13Z</updated>
			<id>https://forum.infinity-code.com/viewtopic.php?pid=9429#p9429</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: OpenRouteService doesn't work]]></title>
			<link rel="alternate" href="https://forum.infinity-code.com/viewtopic.php?pid=9428#p9428" />
			<content type="html"><![CDATA[<p>Hello.</p><p>HTTP/1.1 401 Unauthorised means that you have not specified your API key for Open Route Service, or you have specified an incorrect one.</p>]]></content>
			<author>
				<name><![CDATA[Alex Vertax]]></name>
				<uri>https://forum.infinity-code.com/profile.php?id=2</uri>
			</author>
			<updated>2024-02-26T13:40:57Z</updated>
			<id>https://forum.infinity-code.com/viewtopic.php?pid=9428#p9428</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[OpenRouteService doesn't work]]></title>
			<link rel="alternate" href="https://forum.infinity-code.com/viewtopic.php?pid=9427#p9427" />
			<content type="html"><![CDATA[<p>When I try to use OpenRouteServiceExample.cs<br />It gives me an error:</p><p>HTTP/1.1 401 Unauthorized<br />UnityEngine.Debug:Log (object)<br />InfinityCode.OnlineMapsExamples.OpenRouteServiceExample:OnRequestComplete (string) (at Assets/Infinity Code/Online maps/Examples (API usage)/OpenRouteServiceExample.cs:47)<br />OnlineMapsTextWebService:OnRequestComplete (OnlineMapsWWW) (at Assets/Infinity Code/Online maps/Scripts/WebServices/Base/OnlineMapsTextWebService.cs:69)<br />OnlineMapsWWW:Finish () (at Assets/Infinity Code/Online maps/Scripts/Core/OnlineMapsWWW.cs:373)<br />OnlineMapsWWW/&lt;WaitResponse&gt;d__61:MoveNext () (at Assets/Infinity Code/Online maps/Scripts/Core/OnlineMapsWWW.cs:526)<br />UnityEngine.SetupCoroutine:InvokeMoveNext (System.Collections.IEnumerator,intptr)</p><p>Exception: Could not find token at index 0<br />OnlineMapsJSON.NextTokenCore () (at Assets/Infinity Code/Online maps/Scripts/JSON/OnlineMapsJSON.cs:289)<br />OnlineMapsJSON.LookAhead () (at Assets/Infinity Code/Online maps/Scripts/JSON/OnlineMapsJSON.cs:178)<br />OnlineMapsJSON.ParseValueDirect () (at Assets/Infinity Code/Online maps/Scripts/JSON/OnlineMapsJSON.cs:628)<br />OnlineMapsJSON.ParseDirect (System.String json) (at Assets/Infinity Code/Online maps/Scripts/JSON/OnlineMapsJSON.cs:311)<br />OnlineMapsJSON.Deserialize[T] (System.String json) (at Assets/Infinity Code/Online maps/Scripts/JSON/OnlineMapsJSON.cs:37)<br />OnlineMapsOpenRouteServiceDirections.GetResults (System.String response) (at Assets/Infinity Code/Online maps/Scripts/WebServices/OnlineMapsOpenRouteServiceDirections.cs:101)<br />InfinityCode.OnlineMapsExamples.OpenRouteServiceExample.OnRequestComplete (System.String response) (at Assets/Infinity Code/Online maps/Examples (API usage)/OpenRouteServiceExample.cs:49)<br />OnlineMapsTextWebService.OnRequestComplete (OnlineMapsWWW www) (at Assets/Infinity Code/Online maps/Scripts/WebServices/Base/OnlineMapsTextWebService.cs:69)<br />OnlineMapsWWW.Finish () (at Assets/Infinity Code/Online maps/Scripts/Core/OnlineMapsWWW.cs:373)<br />OnlineMapsWWW+&lt;WaitResponse&gt;d__61.MoveNext () (at Assets/Infinity Code/Online maps/Scripts/Core/OnlineMapsWWW.cs:526)<br />UnityEngine.SetupCoroutine.InvokeMoveNext (System.Collections.IEnumerator enumerator, System.IntPtr returnValueAddress) (at &lt;f7237cf7abef49bfbb552d7eb076e422&gt;:0)</p>]]></content>
			<author>
				<name><![CDATA[tom]]></name>
				<uri>https://forum.infinity-code.com/profile.php?id=3006</uri>
			</author>
			<updated>2024-02-26T12:51:45Z</updated>
			<id>https://forum.infinity-code.com/viewtopic.php?pid=9427#p9427</id>
		</entry>
</feed>
