目录

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 URI is invalid.

Verify that the request URI is the same as the released URI.

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.

400

INVALID_REQUEST

105

Parameter error.

Modify relevant parameters according to parameter description and restrictions in the API reference, and try again.

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 Map Kit in AppGallery Connect. For details, please refer to Enabling Services.

401

UNKNOWN_ERROR

010001

The authentication service is abnormal.

Refer to FAQs.

401

REQUEST_DENIED

010002

Incorrect certificate fingerprint.

Refer to FAQs.

401

REQUEST_DENIED

010003

Unauthorized API call.

Refer to FAQs.

200

ZERO_RESULTS

010004

The search is successful but no record is found.

No record meeting the search criteria exists.

403

OVER_QUERY_LIMIT

010006

Paid API calls reach the limit.

400

INVALID_REQUEST

010007

Place search failure.

The place does not exist or the search is restricted. Search for another place.

400

INVALID_REQUEST

010008

Route data does not exist.

No route meeting the search criteria exists.

400

INVALID_REQUEST

010009

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

010010

Invalid parameter.

Refer to FAQs.

500

UNKNOWN_ERROR

010012

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.

401

REQUEST_DENIED

010017

Invalid request signature.

Check whether the device time was manually changed. If so, change it back and try again. If not, 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

REQUEST_DENIED

010018

The service is degraded because the server is busy.

Try again later.

400

REQUEST_DENIED

010019

Start points or end points exceed 5.

Ensure that neither start points nor end points for route planning exceed 5.

400

REQUEST_DENIED

010020

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

010024

The API is in arrears.

Refer to FAQs.

400

INVALID_REQUEST

010025

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

010027

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

Refer to FAQs.

The input parameter of the Matrix API includes multiple groups of departure places and destinations, and routes are calculated between these departure places and destinations independently. Therefore, the result codes of the Matrix API are not affected by single failure in calculating routes between a departure place and a destination. Single failure is only represented in the status parameter in the relevant row. The status parameter also complies with the result code list.

If the error persists, submit a ticket online. Huawei will get back to you as soon as possible.