PROBLEM

"Invalid URL" error returned when using 'suggest' on a geocode service from a REST endpoint

Last Published: April 25, 2020

Description

The 'suggest' operation is a geocode service operation that produces auto-completed suggestions for the input text to a specific place or address. 

When using 'suggest' from the REST endpoint, an invalid URL error is returned. The image below shows the suggest operation with the "Invalid URL" error.


Screenshot of the suggest operation with the invalid URL error.

Cause

The 'suggest' operation in the address locator of the geocode service is not enabled.

Solution or Workaround

The following instructions describe how to enable the 'suggest' operation for a geocode service.

  1. Create a new address locator.
  2. In the Create Address Locator tool window, check the box to Enable suggestions before publishing the locator as a geocode service. Click OK.

    Screenshot of Create Address Locator with Enable suggestions highlighted.
     
Note:
Suggestions are only supported by address locators created using ArcGIS Desktop 10.3 and later.

Article ID:000018471

Software:
  • ArcGIS Server

Get help from ArcGIS experts

Contact technical support

Download the Esri Support App

Go to download options

Related Information

Discover more on this topic