Request errors
General errors
Table 1 C000~C100
| Error code | Symptom | Cause | Resolution |
|---|---|---|---|
| C000 | KNError_Code_C000, Unknown Error | - | - |
| C010 | KNError_Code_C010,Application Context not Initialized, must be called Install() | Displayed when initWithMapKey is called without passing the application context through the install function while initializing the SDK. | Declare the Install function at the top of onCreate(). |
| C100 | KNError_Code_C100, No route data. | - | Add route data. |
Authentication errors
Table 2 C101~C199
| Error code | Symptom | Cause | Resolution |
|---|---|---|---|
| C101 | KNError_Code_C101, API Key Missed | Displayed when the SDK app key was not entered, or an unregistered app key was used. | Use an app key with the correct path. |
| C103 | KNError_Code_C103, SDK Certification Failed | Displayed when SDK authentication failed and the authentication request did not reach the server properly. | Check whether the SDK is using the correct app key. |
| C104 | KNError_Code_C104, SDK Configuration initialize Failed | Displayed when SDK configuration initialization failed and the values required to run the SDK (such as map version information) were not received from the server properly. | Initialize the SDK configuration again. |
| C105 | KNError_Code_C105, SDK GPS initialize Failed | Displayed when SDK GPS initialization fails. | Initialize the SDK GPS again. |
| C106 | KNError_Code_C106, SDK Map initialize Failed | Displayed when SDK Map initialization fails. | Initialize the SDK Map again. |
| C107 | KNError_Code_C107, SDK Reverse Geocoder initialize Failed | Displayed when SDK Reverse Geocoder initialization fails. | Initialize the SDK Reverse Geocoder again. |
| C110 | KNError_Code_C110, Crashed occurred during initialization | Displayed when the Renderer is not initialized properly while initializing MapView for use in the application, or when a crash occurs while reinitializing an already created MapView. | Initialize through makeWithMapView. |
| C112 | KNError_Code_C112, Failed to remove local map data | Displayed when, while calling fun clearDBFile to delete the data used by the map, the file does not exist or is in an access-denied state (in use elsewhere, or without write permission). | Obtain write permission in the application, then remove it. |
| C116 | KNError_Code_C116, SDK has not been initialized | An error that occurs when a route is requested while KNSDK has not been initialized properly. | Request a route only after KNSDK authentication succeeds and initialization completes normally. |
Route errors
Table 3 Errors 20000 and above
| Error code | Symptom | Cause | Resolution |
|---|---|---|---|
| 20010 Legacy code: R240 | KNRouteError_Code_20010 | The current location and the destination are too close, so a route cannot be searched. | The destination is too close for route guidance. Set the destination to a location farther away. |
| 20011 Legacy code: R402 | KNRouteError_Code_20011 | A route cannot be provided due to traffic incident information near the origin. | Remove the KNRouteAvoidOption_RoadEvent setting that avoids traffic incident sections. |
| 20012 Legacy code: R404 | KNRouteError_Code_20012 | A route cannot be provided due to traffic incident information near the destination. | Remove the KNRouteAvoidOption_RoadEvent setting that avoids traffic incident sections. |
| 20013 Legacy code: V001 ~ V999 | KNRouteError_Code_20013 | A route cannot be provided due to traffic incident information near a waypoint. | Remove the KNRouteAvoidOption_RoadEvent setting that avoids traffic incident sections. |
| 20410 Legacy code: R105, R124 | KNRouteError_Code_20410 | There is no road available for guidance near the origin. | Set the origin to a place where a road available for guidance exists. |
| 20411 Legacy code: R106, R125 | KNRouteError_Code_20411 | There is no road available for guidance near the destination. | Set the destination to a place where a road available for guidance exists. |
| 20412 Legacy code: R107, R123 | KNRouteError_Code_20412 | There is no road available for guidance near the waypoint. | Set the waypoint to a place where a road available for guidance exists. |
| 20413 Legacy code: R126, R129 | KNRouteError_Code_20413 | No route exists that excludes motorways. | Add the KNRouteAvoidOption_MotorWay setting that avoids motorways. |
| 20414 Legacy code: R127, R128 | KNRouteError_Code_20414 | No toll-free route exists. | Add the KNRouteAvoidOption_Fare setting that avoids toll road sections. |
| 20415 Legacy code: R130 | KNRouteError_Code_20415 | No route exists that excludes ferries. | Add the KNRouteAvoidOption_Farries setting that avoids ferry route sections. |