目录

Result Codes

Status Code

Result Code

Value

Description

Solution

200

OK

0

The request is successful.

-

501

UNKNOWN_ERROR

3

The method is not found on the server.

Verify that the method name and parameters match those defined on the server.

404

NOT_FOUND

5

The request URL is invalid.

Verify that the request URL is the same as the released one.

401

REQUEST_DENIED

6

Invalid or expired token.

Refer to FAQs.

406

INVALID_REQUEST

7

Invalid content type.

Modify the Swagger JSON-defined scope and request type of the current service to make them consistent with the requirements.

406

INVALID_REQUEST

8

Invalid Accept type.

Modify the Swagger JSON-defined scope and request type of the current service to make them consistent with the requirements.

503

UNKNOWN_ERROR

110

Internal server error.

Go to Support > Customer Service > Submit ticket online, select the relevant category, and submit your ticket. Huawei will get back to you as soon as possible.

503

UNKNOWN_ERROR

111

The request is discarded because the service is busy.

Try again later.

503

UNKNOWN_ERROR

114

No service is found for the request.

Try again later.

405

REQUEST_DENIED

403

The app ID does not have the service call permission.

Enable Navi Kit in AppGallery Connect. For details, please refer to the development guide.

401

UNKNOWN_ERROR

10001

The authentication service is abnormal.

Refer to FAQs.

401

REQUEST_DENIED

10002

Incorrect certificate fingerprint.

Refer to FAQs.

401

REQUEST_DENIED

10003

Unauthorized API call.

Refer to FAQs.

403

INSUFFICIENT_PRIVILEGES

10005

No permission to access the service.

Access restricted. Try again later.

401

OVER_QUOTA

10006

The request exceeds the quota.

Too many operations. Try again later.

400

INVALID_REQUEST

10007

The start and end points do not have home countries, or a service error occurred.

Verify that the passed points have home countries and try again later.

400

INVALID_REQUEST

10008

Route data does not exist.

No route meeting the search criteria exists.

400

INVALID_REQUEST

10009

Cross-region route planning is not supported.

Ensure that the start point and end point for route planning are in the same region.

400

INVALID_REQUEST

10010

Invalid parameter.

Set parameters properly.

404

SERVICE_NOT_EXIST

10011

The requested service does not exist.

Service error. Try again later.

500

UNKNOWN_ERROR

10012

Unknown error.

Service error. Try again later.

401

REQUEST_DENIED

10017

Invalid request signature.

Check whether the device time was manually changed. If so, change it back and try again. If not, submit a ticket online. Huawei will get back to you as soon as possible.

503

REQUEST_DENIED

10018

The service is degraded because the server is busy.

Try again later.

400

REQUEST_DENIED

10019

The number of start points multiplying the number of end points exceeds 100.

Ensure that neither start points nor end points for route planning exceed 100. (The product of the number of start points and the number of end points cannot exceed 100.)

400

REQUEST_DENIED

10020

The linear distance between the start point and end point exceeds the upper limit.

Refer to the route planning service API reference for distance restrictions.

403

OVER_QUERY_LIMIT

10024

The API is in arrears.

Refer to FAQs.

400

INVALID_REQUEST

10025

The start point, end point, or waypoint does not support navigation.

Ensure that the countries or regions of the start point and end point for planning cycling routes are listed in Supported Countries/Regions (Route Planning).

403

OVER_QUERY_LIMIT

10027

You have not subscribed to any pay-as-you-go plan.

Refer to FAQs.

403

OVER_QUERY_LIMIT

10037

The QPS exceeds the quota.

Control the QPS based on the service quota or submit a ticket online to change the service quota.

400

POSITION_TOO_NEAR

907320001

The request point is mapped to the same point on the road.

Set parameters properly.