HarmonyOS SDK Error Codes
Last updated:2024-04-25
HarmonyOS SDK Error Codes
JPush channel error codes
| Code | Description | Details |
|---|---|---|
| 1005 | Package name does not match AppKey | Verify the client package name matches the package configured for this AppKey in the console |
| 1008 | Invalid AppKey | Check the appkey in the console application details |
| 1009 | ||
| 6001 | Invalid setting | tag/alias APIs return this when tag/alias parameters are empty |
| 6002 | Setting timeout | Retry; common when network is poor or initialization is incomplete |
| 6003 | Invalid alias string | Valid alias/tag: letters (case-sensitive), digits, underscore, Chinese, special chars @!#$&*+=.| |
| 6004 | Alias too long, max 40 bytes | Chinese UTF-8 uses 3 bytes per character |
| 6005 | Invalid tag string | Valid alias/tag: letters (case-sensitive), digits, underscore, Chinese, special chars @!#$&*+=.| |
| 6006 | Tag too long, max 40 bytes per tag | Chinese UTF-8 uses 3 bytes per character |
| 6007 | Too many tags, max 1000 | Per-device limit; no global limit per app |
| 6008 | Total tag length exceeded | tag/alias APIs max total length 5000 bytes |
| 6009 | Unknown error | PushService start failure due to permissions; see client logs |
| 6011 | Too frequent operations | More than 10 tag/alias/property or 3 phone number sets within 10s |
| 6014 | Server busy, retry later | Server busy, retry later |
| 6015 | appkey on blacklist | Contact support to remove from blacklist |
| 6016 | Invalid user | Invalid user |
| 6017 | Invalid request | Alias bound to more than 10 devices; contact sales for higher limit |
| 6018 | Too many tags | Device has more than 1000 tags; clear some first |
| 6019 | Query expired | Query request expired |
| 6020 | tag/alias operation paused | Try again later |
| 6021 | tags operation in progress | Wait for previous tag API callback before the next; or wait 20s without callback |
| 6022 | alias operation in progress | Wait for previous alias API callback before the next; or wait 20s without callback |
| 6024 | Internal server error | Retry later |
| 6027 | Alias device binding limit exceeded | Alias may bind up to 10 devices; contact sales for higher limit |
| 6036 | Property operation not permitted | User properties not enabled for this appkey; contact sales |
| 6037 | Invalid property parameters | Property name must be string; value supports string, number, bool, datetime |
| 6038 | Previous property request pending | Wait for previous property API callback; or wait 20s before next request |
Was this document helpful?