Select to view content in your preferred language

Sample Routing Error

468
4
11-06-2023 08:24 AM
andres13mb
New Contributor

Hello, I am trying the examples that ArcGIS provides, in the 'Routing' scene I am getting the following error:
Error: Invalid or missing input parameters.
The key is perfectly and everything in theory is fine, I am using Unity 2022.3.12f1, could you help me? thank you!

0 Kudos
4 Replies
andres13mb
New Contributor

This is the debug results:
{"error":{"code":400,"extendedCode":-2147024809,"message":"Invalid or missing input parameters.","details":["Invalid input coordinates [-73.9611277175181, 40.7762963192629 ;-73.9710574459653, 40.7883355030653]."]}}

0 Kudos
MasonGaw
New Contributor III

Does it tell you what line and what file this error is being flagged at?

0 Kudos
MasonGaw
New Contributor III

Hi there, 
I just tested the Routing Sample starting from our sample viewer as well as starting from the Routing Sample Scene as well and was not able to reproduce the error you are seeing. Do you mind going into a bit more detail about your workflow and how you are starting the scene? Additionally, can you please ensure the newest version of the ArcGIS Maps SDK for Unity is added to the project? Lastly, can you please provide a screenshot of the console where you are seeing the error. 
Thanks,
Mason

0 Kudos
MstislavSokolov
New Contributor

Greetings.
I have the same problem.
Version 1.4.0 - December, 2023.
Unity 2021.3.35f1.
Unity 2022.3.8f1.
I just select two points and get "Error: Invalid or missing input parameters."

Untitled-1.jpg

0 Kudos