geocodeAddresses always returns "User does not have permissions to store geocoding results."

1455
4
04-25-2021 09:39 PM
SepehrSobhani
New Contributor

I am trying to make a request to the geocodeAddresses endpoint using the `bulkGeocode` function in the `@esri/arcgis-rest-geocoding` package. No matter what I do it always returns "User does not have permissions to store geocoding results." even when I pass `forStorage=false` into the params. I have verified the correct param is being passed to the service. Is this a bug?

Tags (1)
0 Kudos
4 Replies
ReneRubalcava
Frequent Contributor

You might have better luck making an issue on the github repo for this project.

https://github.com/Esri/arcgis-rest-js

0 Kudos
Noah-Sager
Esri Regular Contributor

Bulk or batch geocoding is always a pay service and requires authentication. The forStorage parameter will only be useful for single geocode requests. Doc for reference:

https://developers.arcgis.com/rest/geocode/api-reference/geocoding-geocode-addresses.htm

 

0 Kudos
SepehrSobhani
New Contributor

Thanks. So the assumption is that bulk geocoding is always stored even when it is not?

0 Kudos
Noah-Sager
Esri Regular Contributor

I think the assumption here is that bulk geocoding is always a pay service.