Skip to content

Response Code

HTTP Status Code

CodeExplanationSolution
200 - OKSuccessful ResponseN/A
401 - UnauthorizedUnauthorizedCheck the AppId, signature timestamp, and other information for errors as prompted.
500 - Server ErrorSystem ErrorRetry according to the specific error guidelines of the API.

General

CodeExplanationSolution
OKSuccessful Response
Common.Auth.Authorization_Header_Not_FoundSignature information not foundCheck whether the HTTP Authorization Header is set when requesting the gateway interface
Common.Auth.Sign_FailedSignature failedCheck whether the request is a POST request, whether the request address is correct, and whether the appId/appSecret pair is correct
Common.Auth.Sign_TimeoutThe signature timestamp has expiredCheck the server time and platform time difference
Common.Auth.Invalid_SignInvalid signatureCheck that the signature structure is correct
Common.Auth.Auth_FailedAppId permission validation failedThe API request permission is not available
Common.Auth.AppId_Not_FoundThe AppId does not existCheck that the signature structure is correct
Common.Auth.Invalid_AppIdInvalid AppIdCheck that the AppId is correct
Common.Http_Request_ErrorThe request parameters are incorrectly formattedRefer to the API documentation to modify the format of the request parameters
Common.Request_Parameter_ErrorThe value of the request parameter is incorrectRefer to errorMessage to modify the value of the request parameter
Common.Illegal_UrlFailed to verify the URL of the request parameterRefer 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