arcgis-rest-geocoding: ARCGIS_ONLINE_GEOCODING_URL refers to endpoint that forwards to homepage
See original GitHub issuehttps://github.com/Esri/arcgis-rest-js/commit/613837ddaa0638f826aa75d11c00ee1007cb6e72 changes the endpoint URL for geocoding requests. At least for me, that endpoint returns a 301 Moved Permanently
and redirects to https://www.arcgis.com
. This in turn causes requests to that endpoint to return an HTML file instead of a JSON, leading to a parsing error and generally unpleasant behaviour.
Issue Analytics
- State:
- Created 3 years ago
- Comments:6 (4 by maintainers)
Top Results From Across the Web
No results found
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
I see now, https://geocode-api.arcgis.com/arcgis/rest/services/World/GeocodeServer/geocodeAddresses?f=json specifically is redirecting incorrectly. I am looking into this. For now, you may pass the
endpoint
property as a workaround:Could you please post a code example that causes the issue for you? (Using JSBin, etc)