Códigos de Error
México
Falta AppKey en la solicitud, 400 BAD REQUEST
{
"clientRequestId": "12345",
"responseType": "BadRequest",
"error": {
"code": "400",
"message": "The request is invalid or not properly formed"
}
}
Api Key Inválido, 401 Unauthorized
{
"clientRequestId": "12345",
"responseType": "Unauthorized",
"error": {
"code": "401",
"message": "Invalid API key"
}
}
HMAC Inválido, 403 Forbidden
{
"clientRequestId": "4835065",
"responseType": "Forbidden",
"error": {
"code": "403",
"message": "Message Signature validation error"
}
}
HMAC Caducado, 403 Forbidden
{
"clientRequestId": "551228",
"responseType": "Forbidden",
"error": {
"code": "403",
"message": "Message Signature has expired"
}
}
URL no válida o parámetro de consulta no válido para /payment-url, 404 NotFound
{
"clientRequestId": "2952405",
"responseType": "NotFound",
"error": {
"code": "404",
"message": "The requested operation failed because a resource associated with the request could not be found"
}
}
Token de OAuth no válido o caducado, 401 Unauthorized
{
"clientRequestId": "3091653",
"responseType": "Unauthorized",
"error": {
"code": "401",
"message": "The token is invalid. It may have expired, or is maybe incorrect"
}
}
Falta la firma del mensaje o el encabezado de autorización, 401 Unauthorized
{
"responseType": "Unauthorized",
"error": {
"code": "401",
"message": "Not authorized to access the resource"
}
}
Error predeterminado para excepciones no controladas, 500 ServerError
{
"clientRequestId": "3091653",
"responseType": "ServerError",
"error": {
"code": "500",
"message": "The request failed due to an internal error"
}
}
Updated 7 months ago