Exception Codes
When the returned code is non-zero, the request failed and message carries the corresponding error information. Common error codes and how to resolve them:
| code | message | Cause | Resolution |
|---|---|---|---|
| 1001 | REQUEST_ERROR | Bad request parameters (missing param) | Verify that all required parameters are provided. |
| 1002 | TOKEN_ERROR | Token validation failed | Contact your channel manager to confirm whether RTA is enabled. |
| 1003 | PACKAGE_NOT_EXIST | The package name is not configured in RTA | Verify that RTA is configured for the corresponding geo region. |
| 1004 | CAMPAID_NOT_EXIST | The campaign does not exist in RTA | Verify that campid is valid. Contact your channel manager. If both package_name and geo are supplied, campid may be omitted. |
| 2001 | QPS_LIMIT_ERROR | QPS exceeded | Lower the request rate, or contact your channel manager to raise the QPS limit. |
| 2002 | QUOTA_ERROR | Request quota exceeded | Lower the request rate, or contact your channel manager to raise the QPS limit. |
| 3001 | OTHER_ERROR | Unknown error | Contact your channel manager. |