The card coupon error code is divided into two parts: errcode and errmsg, and the developer can know the error reason by reading the errmsg.
Common return codes for coupons are explained as follows:
Return code | Introductions |
---|---|
-1 | The system is busy, so developers are asked to try again later. |
0 | The request was successful |
40009 | The picture file is very long. |
40013 | For illegal Appid, please check the correctness of the AppID, avoid abnormal characters, and pay attention to the case. |
40053 | Invalid actioninfo, please verify that the parameters are correct. |
40071 | An unlawful type of voucher. |
40072 | An illegal way to encode. |
40078 | Illegal voucher status. |
40079 | It's an illegal time. |
40080 | Illegal CardExt. |
40099 | The voucher has been cancelled. |
40100 | An unlawful time period. |
40116 | Illegal code. |
40122 | Illegal inventory quantity. |
40124 | The membership card sets the custom_field field that has been checked. |
40127 | The coupons were deleted or re-gifted by the user. |
41012 | Missing cardid parameter. |
45030 | The cardid has no interface permissions. |
45031 | The inventory is 0. |
45033 | The number of times the user receives exceeds the limit get_limit |
41011 | Required fields are missing. |
45021 | If fields exceed the length limit, refer to the field explaination for the corresponding interface. |
40056 | Illegal code. |
43009 | No custom SN permissions, please go to the public platform to apply. |
43010 | No stored value permissions, please go to the public platform to apply. |
For more return code errors, refer to Global Return Code Dxplaination
If you encounter a problem, you can use the mailbox. weixin_card@foxmail.com Contact us. You can also join the developer QQ exchange group 205482166, verification, please specify the business and business.