IREX
EN

Error Codes

Example of an Error Message

{
    "status": 400,
    "backend_details": "MethodArgumentNotValidException: Validation failed for argument [0] in public org.springframework.data.domain.Page<io.kx.facemanager.dto.FaceWithPermissions> io.kx.facemanager.controller.FaceController.search(io.kx.dto.face.filter.FaceSearchFilter): [Field error in object 'faceSearchFilter' on field 'sortField': rejected value [-sadf]; codes [Pattern.faceSearchFilter.sortField,Pattern.sortField,Pattern.java.lang.String,Pattern]; arguments [org.springframework.context.support.DefaultMessageSourceResolvable: codes [faceSearchFilter.sortField,sortField]; arguments []; default message [sortField],[Ljakarta.validation.constraints.Pattern$Flag;@7a42e5,id|name]; default message [must match \"id|name\"]] ",
    "request_path": "/face-manager/api/v1/faces/search",
    "timestamp": "2024-03-29T15:54:21.498605137Z",
    "errors": [
        {
            "code": "PATTERN",
            "message": "must match \"id|name\"",
            "field": "sort_field",
            "field_path": "sort_field"
        }
    ],
    "type": "CONTRACT_ERROR"
}

Authentication Errors

Status
Type
Error code
Error message
401COMMON_SERVER_ERRORUNAUTHORIZEDUnauthorized error
401COMMON_SERVER_ERRORINVALID_CREDENTIALSInvalid credentials
401COMMON_SERVER_ERRORONE_TIME_PASSWORD_REQUIREDOne-time password required
404COMMON_SERVER_ERROROTP_SECRET_NOT_PRESENTOTP secret not present
500COMMON_SERVER_ERRORUNEXPECTED_SERVER_ERRORUnexpected internal error
429COMMON_SERVER_ERRORLOGIN_LIMIT_ATTEMPTS_ERRORLogin attempts exceeded. User with email {0} has been temporarily blocked
403COMMON_SERVER_ERRORPERMISSION_DENIEDUser ‘{0}’ lack permissions to access object(s) ‘{1}’: {2}