# Youverify OS Error Codes

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

<table data-header-hidden><thead><tr><th width="229.0570565641312"></th><th></th><th></th></tr></thead><tbody><tr><td><strong>CODES</strong></td><td><strong>ERROR MESSAGES</strong></td><td><strong>WHAT IT MEANS</strong></td></tr><tr><td>402</td><td><p>{</p><p> "success": false,</p><p> "statusCode": 402,</p><p> "message": "Insufficient fund",</p><p> "name": "PaymentRequiredError",</p><p> "data": {}</p><p>}</p></td><td>Insufficient fund-The client does not enough funds in their account.</td></tr><tr><td>403</td><td><p>{</p><p> "success": false,</p><p> "statusCode": 403,</p><p> "message": "Permission denied",</p><p> "name": "UnauthorizedError",</p><p> "data": {}</p><p>}</p></td><td>Forbidden error -occurs when authorization is incorrect</td></tr><tr><td>503</td><td><p>{</p><p> "success": false,</p><p> "statusCode": 503,</p><p> "message": "Third-party provider not reacheable",</p><p> "name": "Error",</p><p> "data": {}</p><p>}</p></td><td>Service Unavailable:The service is currently unavailable from the third party.</td></tr><tr><td>500</td><td><p> </p><p>{</p><p> "success": false,</p><p> "statusCode": 500,</p><p> "message": "Internal Server Error",</p><p> "name": "Error",</p><p> "data": {}</p><p>}</p></td><td>Service Unavailable:The service is currently unavailable.</td></tr></tbody></table>
