Response Code
HTTP Status Code
| Code | Explanation | Solution |
|---|---|---|
| 200 - OK | Successful Response | N/A |
| 401 - Unauthorized | Unauthorized | Check the AppId, signature timestamp, and other information for errors as prompted. |
| 500 - Server Error | System Error | Retry according to the specific error guidelines of the API. |
General
| Code | Explanation | Solution |
|---|---|---|
| OK | Successful Response | |
| Common.Auth.Authorization_Header_Not_Found | Signature information not found | Check whether the HTTP Authorization Header is set when requesting the gateway interface |
| Common.Auth.Sign_Failed | Signature failed | Check whether the request is a POST request, whether the request address is correct, and whether the appId/appSecret pair is correct |
| Common.Auth.Sign_Timeout | The signature timestamp has expired | Check the server time and platform time difference |
| Common.Auth.Invalid_Sign | Invalid signature | Check that the signature structure is correct |
| Common.Auth.Auth_Failed | AppId permission validation failed | The API request permission is not available |
| Common.Auth.AppId_Not_Found | The AppId does not exist | Check that the signature structure is correct |
| Common.Auth.Invalid_AppId | Invalid AppId | Check that the AppId is correct |
| Common.Http_Request_Error | The request parameters are incorrectly formatted | Refer to the API documentation to modify the format of the request parameters |
| Common.Request_Parameter_Error | The value of the request parameter is incorrect | Refer to errorMessage to modify the value of the request parameter |
| Common.Illegal_Url | Failed to verify the URL of the request parameter | Refer to errorMessage, check the URL format of the request parameter, and register/whitelist the domain name on the Developer - App Secret page of the merchant dashboard |