Hi everyone,
i working on a project to perform network analysis ( finding closest facility, best route between multiple stops.) using arcGIS api for python in jupyter notebbok. i used all the required packages and modules. i finished most of the code work and got the results. But when i am running this code,
getting error like :
Exception: A general error occurred: 'token'
I checked authentication credentials , account activity. everything is good. can you please help me to figure out this one ? can you give your thought one it ?
Hey Kalpana would it be possible to see the full notebook for this?
It could be worth sharing your layers publicly and testing the notebook again. From the error message it seems to definitely be a problem with authenticating, likely with the Network layer, facilities or incidents layers.
For this the following technical blog from Esri Australia is worth consulting.
Hope that helps,
David
Hi David,
Thanks for your response on it. I figured out and it was about API key.
I appreciate your response. Thank you.