Hello Community!
I have an issue with a notebook script I was hoping you all could help me with. This script uses a custom locator to geocode addresses and we recently uploaded it to our ArcGIS Enterprise portal (we're on 11.2). I changed the script to point to the URL instead of the locator’s local path and it all works as it should, as long as the notebook is running within ArcGIS Pro (I’m on 3.2.2).

When I open the same notebook in a standalone notebook (either via Python terminal or in VSCode), it throws a ValueError and fails to load the locator:

Both programs are running on the same environment.
Does anyone know why this notebook would work from within ArcGIS Pro, but not in another program?
Than you for your help!