Select to view content in your preferred language

Problem with API Geocoding - Hana XSJS

3065
10
Jump to solution
05-13-2022 03:22 AM
LeonardoRomanato
Emerging Contributor

Hi all,

I'm trying to geocode some addresses with API Geocoding, in Hana XSJS. 

I made a GET request to geocode-api.arcgis.com/arcgis/rest/services/World/GeocodeServer/findAddressCandidates?<parameters>, where in the paremeters I inserted

  • Token: the access token
  • address: an example address ('1600 Pennsylvania Ave NW, DC')
  • pjson as output format
    but it seems that the request doesn't return anything. Can someone help me?

Tags (1)
0 Kudos
10 Replies
LeonardoRomanato
Emerging Contributor

I solved by myself because the problem was in the Hana Trust Score, I had to create a new trust score and link the configuration file .xshttpdest to make the request.

Thanks to everyone!