Skip to content
TREN
Atlıhan Harita

Structured Spatial Modeling User Manual

Error Codes

Chapter 05 / 05Manual version v1.0.0.0English

Error codes have two layers. The outer code reflects the API-layer result, and data.bizCode reflects the business result. A call is successful only when both code == 0 and data.bizCode == 0. See Unified response structure.

API error codes (code)

codeDescriptionSuggestion
0Success—
401Authentication failedFind the specific cause in the table below
429Too Many RequestsLower the call rate and retry; each API allows up to 10 requests / second

Causes of 401

MessageMeaningSuggestion
Missing required headersA required request header is missingCheck that all Common request headers are present
Invalid timestamp formatThe timestamp format is incorrectX-Timestamp must be a timestamp in seconds
Request timestamp expiredThe request timestamp has expiredSynchronize the server clock and send the request again
Invalid nonce formatThe nonce does not meet the format ruleMust match ^[A-Za-z0-9]{16,32}$
Nonce already used or validation failedThe nonce was already used or failed validationUse a new random string for every request; never reuse it
appId not foundThe appId does not existCheck APP-ID
appId is disabledThe appId has been disabledContact technical support
Signature calculation failedSignature calculation failedCheck your signature implementation; see Signature mechanism
Signature verification failedSignature verification failedCheck the concatenation order of the string to sign, that path includes the /open-apis prefix, and that timestamp and nonce match the headers

Business error codes (bizCode)

bizCodeDescription
0Success
10000001Invalid parameters
10000003Too many requests. Please wait and try again
10000103The system service is abnormal, please contact customer service
100027001Invalid credit operation parameters
100027003Insufficient credit balance
100041003Spatial modeling task does not exist
100041004Spatial modeling result not found
100041006Space not found
100041010AppId does not have spatial modeling permission
100041016Task status [modeling], deletion is not allowed
100041017Task cannot be canceled in its current status

Troubleshooting failed modeling

When a task enters Modeling failed (9), call Paginated Task List or Task Details and read errorCode and failedReason to find the cause.

These two fields carry failure information from inside the modeling pipeline and use a different set of values from bizCode above. When an API call succeeds but the task fails to model, bizCode is still 0.

This chapter is from the official XGRIDS user manual. Official source (opens in a new tab) · Updated:

XGRIDS Türkiye

We're With You During Setup and in the Field

Atlıhan Harita provides training and technical support for device setup, firmware updates, software use, and field applications. Send us your question and our specialist will get back to you.

+90 216 546 0804