Status code definition
status code | definition | Notes |
---|---|---|
0 | normal | |
1 | Internal server error | The service response timed out or there is an internal system error, please leave your contact information |
10 | Upload more than 8M content | Post upload data cannot exceed 8M |
101 | AK parameter does not exist | The request message does not carry the AK parameter |
102 | The MCODE parameter does not exist, the mobile type mcode parameter is required | For Mobile type application requests, the mcode parameter needs to be carried. This error code means that the server does not resolve the mcode. |
200 | APP does not exist, AK is wrong, please check and try again | According to the requested ak, the corresponding APP cannot be found |
201 | The APP is disabled by the user, please unblock it in the console | |
202 | APP was deleted by administrator | Malicious app deleted by administrator |
203 | wrong app type | The current API console supports Server (type 1), Mobile (type 2, the new console is divided into Mobile_Android (type 21) and Mobile_IPhone (type 22)) and Browser (type 3), other types are considered as APP types mistake |
210 | APP IP verification failed | When you select IP verification when applying for a SERVER type application, you need to fill in the IP whitelist. If the currently requested IP address is not in the IP whitelist or is not 0.0.0.0/0, the IP verification is considered to have failed. |
211 | APP SN verification failed | SERVER type APP has two verification methods: IP verification and SN verification. When the SN requested by the user is not equal to the SN calculated by the server, it will prompt the SN verification failure. |
220 | APP Referer verification failed | The browser-type APP will check whether the referer field exists and is in the referer whitelist, otherwise it will return the error code |
230 | APP Mcode verification failed | The server can parse the mcode, but it is inconsistent with the database, please bring the correct mcode |
240 | APP service is disabled | A user disables a service when creating or setting an app in the API console |
250 | User does not exist | According to the requested user_id, the user's information cannot be found in the database, please bring the correct user_id |
251 | User deleted by himself | The user is inactive |
252 | User deleted by administrator | Malicious users are blacklisted |
260 | service does not exist | The server cannot resolve the service name requested by the user |
261 | service is disabled | The service is offline |
301 | Permanent quota overrun, restricted access | 配额超限,如果想增加配额请联系我们 |
302 | 天配额超限,限制访问 | 配额超限,如果想增加配额请联系我们 |
401 | 当前并发量已经超过约定并发配额,限制访问 | 并发控制超限,请控制并发量或联系我们 |
402 | 当前并发量已经超过约定并发配额,并且服务总并发量也已经超过设定的总并发配额,限制访问 | 并发控制超限,请控制并发量或联系我们 |
注意:2017,百度地图高精度IP定位接口已经停止运行,导致github上部分工具已经失效;