English

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

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.

Related Information