Youverify OS Error Codes

YVOS API errors are usually returned in this format with the HTTP status codes.

CODES

ERROR MESSAGES

WHAT IT MEANS

402

{

"success": false,

"statusCode": 402,

"message": "Insufficient fund",

"name": "PaymentRequiredError",

"data": {}

}

Insufficient fund-The client does not enough funds in their account.

403

{

"success": false,

"statusCode": 403,

"message": "Permission denied",

"name": "UnauthorizedError",

"data": {}

}

Forbidden error -occurs when authorization is incorrect

503

{

"success": false,

"statusCode": 503,

"message": "Third-party provider not reacheable",

"name": "Error",

"data": {}

}

Service Unavailable:The service is currently unavailable from the third party.

500

{

"success": false,

"statusCode": 500,

"message": "Internal Server Error",

"name": "Error",

"data": {}

}

Service Unavailable:The service is currently unavailable.

Last updated