Maps troubleshooting

Prev Next

Available in VPC

You might run into the following problems when using Maps: Find out causes and possible solutions.

Troubleshoot API verification errors in Dynamic Map issues

An API verification error occurs in Dynamic Map.

Cause

  • The service URL includes a port number and a URI.
  • A parameter in the script has been entered incorrectly.

Solution

Check service URL
Service URLs should only register the host domain and exclude the port number and URI. To check the service URL, follow these steps:

  1. In the VPC environment of the NAVER Cloud Platform console, navigate to i_menu > Services > Application Services > Maps in order.
  2. Click the Application menu.
  3. From the list, select Application, then click the [Authentication information] button.
  4. In the Service environment section of the Authentication information window, check the Web Service URL information.
  5. If there is a port number or URI included in the service URL, delete it.
    <Example>:
    • http://localhost:8080 → http://localhost
    • http://127.0.0.1/main → http://127.0.0.1

Check script parameters
Check and edit the parameters in the script.

  • ClientID → ncpClientID
Note

For more information about loading NAVER Maps API v3, see Loading NAVER Maps API v3.

Troubleshoot 429 error when searching an address on Dynamic Map issues

A 429 (too many requests) error occurs when searching an address in Dynamic Map.

Cause

To call the API that converts addresses to coordinates, you must subscribe to the Geocoding service. If you do not subscribe to the Geocoding service, this error may occur.

Solution

To subscribe to the Geocoding service, follow these steps:

  1. In the VPC environment of the NAVER Cloud Platform console, navigate to i_menu > Services > Application Services > Maps in order.
  2. Click the Application menu.
  3. Confirm the name of the Maps app, then click [Edit].
  4. Click to select the checkbox for Geocoding.
  5. Click the [Save] button.

Troubleshoot 500 error when calling Dynamic Map on Android 9 or above issues

A 500 error occurs when calling the Dynamic Map on Android 9 or above.

Cause

This phenomenon is unrelated to the map API and occurs because http plaintext communication is blocked in Android 9 and higher versions.

Solution

  • Rather than using file://, host the HTML with the map screen on a web server with TLS enabled (https).
  • Go to Network security configuration in the app and allow plaintext communication with *.map.naver.com and *.map.naver.net. However, since Android recommends applying TLS to all communications, allowing plaintext communications is not recommended.

Troubleshoot Marker locations are different when searching using coordinates and addresses issues

Marker locations are different when searching using coordinates than when searching using addresses.

Cause and solution

When searching using coordinates, the exact location value on the map is displayed as the marker location, while when searching using an address, the center point of the address range is displayed as the marker. As a result, marker locations may differ between searches using coordinates and searches using an address.

Troubleshoot Reverse Geocoding function issues

Mobile Dynamic Map v3 does not have a Reverse Geocoding function (feature to return coordinate values ​​as addresses).

Cause

Mobile Dynamic Map SDK v2 features Reverse Geocoding functionality, but Mobile Dynamic Map SDK v3 does not.

Solution

To use this function, you have to call the Reverse Geocoding APIs directly. For a detailed description of the Reverse Geocoding APIs, refer to Reverse Geocoding API.

Troubleshoot Korean domain authentication error issues

Korean domains are not authenticated in the Dynamic Map service.

Cause

As each browser handles Korean domains differently, there is a risk of authentication errors occurring.

Solution

If you need to register a Korean domain in the Application Web service URL, convert the value for the Korean domain to Punycode before registering it.

  1. Go to Punycode converter to convert the Korean domain to Punycode.
  2. In the VPC environment of the NAVER Cloud Platform console, navigate to i_menu > Services > Application Services > Maps > Application in order.
  3. Take the value converted by the Punycode converter and register it in the Web service URL of the Maps app.

CORS error

A CORS error occurs when calling the Maps APIs.

Cause

If the Maps APIs does not allow Cross-Origin Resource Sharing (CORS) due to security issues in a JavaScript environment, the following error may occur:
Access to XMLHttpRequest at '' has been blocked by CORS policy: Response to preflight request doesn't pass access control check: It does not have HTTP ok status.

Solution

If you are in a JavaScript environment, try the method of setting up a separate backend server within the same domain and then calling the API from that server.

Learning resources

We offer various materials for you to explore. To learn more about the Maps, check out these helpful links:

Note

If you're still having trouble finding what you need, click on the feedback icon and send us your thoughts and requests. We'll use your feedback to improve this guide.