Token required error message is returned when array index [0] is not used with the geocoding.get_geocoders() method while batch geocoding addresses using Esri World Batch Geocoder in Portal for ArcGIS using ArcGIS Python API.
The error is not reproducible with batch_geocode referencing the World Batch Geocoding Service. However, it can be reproduced when using the World Geocoder () as the geocoder parameter for batch_geocode.
解决办法
Set Esri World Batch Geocoder as the default first utility geocoder under the Portal for ArcGIS Organization settings.