Common Error Codes

Note:
Please contact AcuCheck Support if you require more information on specific error codes.

This error response schema ensures that developers can easily identify the cause of failure and take appropriate action to resolve the issue, whether it be related to authentication, data validation, permissions, or server-side issues. When an error occurs in the AcuCheck API, the response will follow the format outlined below:

Error Response Schema

{
  "success": false,
  "message": "Operation failed",
  "data": null,
  "errors": [
    "Specific error message 1",
    "Specific error message 2"
  ]
}

Common Errors

Table 1. Common errors and resolution table
HTTP Code Error Code Message Resolution
400
INVALID_REQUEST
Invalid request data or parameters Check the request payload, query parameters, or headers. Ensure required fields are provided in the correct format.
401
UNAUTHORIZED
Authentication required or invalid credentials Verify authentication method (API key, token, certificate). Re-authenticate or refresh expired tokens.
403
FORBIDDEN
Insufficient permissions Ensure the user/API key has proper roles/permissions. Contact admin if additional access is required.
404
NOT_FOUND
Requested resource not found Check the endpoint URL, resource ID, or path. Ensure the resource exists and is accessible.
500
INTERNAL_ERROR
Server-side error occurred Retry after some time. If persistent, contact support with error details and request ID.