Status codes

This table contains the status codes that are included in the responses of calls to the Portal and Validator components.

Table 1. Status codes
Code Description

NPR_SUCCESS/SUCCESS

Generic success of an operation.

NPR_FAILED

Generic failure of an operation.

NPR_ACCESS_DENIED

Generic failure when the requestor does not have correct permissions.

NPR_ARGUMENT_INVALID

Generic failure when input argument against an operation is invalid.

NPR_ARGUMENT_MISSING

Generic failure when input argument is missing.

NPR_AUDIT_LOG_NOT_FOUND

Requested audit log item could not be found.

NPR_CERTIFICATE_AUTHORITY_ERROR

Certificate authority returns an error.

NPR_CERTIFICATE_AUTHORITY_NOT_FOUND

Requested certificate authority item could not be found.

NPR_CERTIFICATE_CDP_AIA_MISSING

CDP/AIA X509 extension is missing in a certificate.

NPR_CERTIFICATE_ENROLLMENT_FAILED

Generic failure when certificate enrollment was failed.

NPR_CERTIFICATE_EXPIRED

Validity of a certificate has expired.

NPR_CERTIFICATE_INVALID

Generic failure when a certificate is missing or corrupted.

NPR_CERTIFICATE_NOT_APPROVED

Certificate is not approved against specific regulations.

NPR_CERTIFICATE_NOT_FOUND

Requested certificate item could not be found.

NPR_CERTIFICATE_REVOKED

Certificate is revoked.

NPR_CERTIFICATE_REQUEST_INVALID

Generic failure when a certificate request is missing or corrupted.

NPR_CERTIFICATE_TEMPLATE_NOT_FOUND

Requested certificate template item could not be found.

NPR_CITIZEN_SERVICE_NOT_FOUND

Requested citizen service item could not be found.

NPR_CITIZEN_SERVICE_NOT_FOUND

Requested citizen service item could not be found.

NPR_CONFIG_ERROR

Generic failure when required configuration is missing or corrupted.

NPR_CONTACTLESS_SERVICE_NOT_FOUND

Requested contactless service item could not be found.

NPR_DATA_ALREADY_EXISTS

Generic failure when required data already exists.

NPR_DATABASE_ERROR

Database service returns an error.

NPR_DATA_INVALID

Generic failure when required data is invalid or corrupted.

NPR_DATA_MISSING

Generic failure when required data is missing.

NPR_DECRYPTION_FAILED

Generic failure when a web service call not could be decrypted.

NPR_DESERIALIZATION_FAILED

Generic failure when a web service call not could be deserialized.

NPR_DIAGNOSTIC_LOG_NOT_FOUND

Requested diagnostic log item cound not be found.

NPR_DIRECTORY_SERVICE_NOT_FOUND

Requested directory service item could not be found.

NPR_ENCRYPTION_FAILED

Generic failure when a web service call not could be encrypted.

NPR_END_ENTITY_NOT_FOUND

Requested end entity item could not be found.

NPR_ENTITY_HAS_RELATED_TASKS

Requested end entity has related tasks that must be completed before continuing the operation.

NPR_EXTERNAL_SERVICE_FAILED

Generic failure when an unknown error occured in external service.

NPR_FIELD_IS_NOT_APPROVED

Text agreement in a task must be approved before continuing the operation.

NPR_IMG_INVALID

Generic failure when an image is missing, not approved or has invalid format.

NPR_KEY_INVALID

Generic failure when a key is missing, already exists or not approved for validation of public key possession.

NPR_LICENSE_EXPIRED

Requested license has expired.

NPR_LICENSE_INVALID

Requested license is missing or corrupted.

NPR_LICENSE_MUST_BE_UPDATED

Requested license must be updated because it has been reached its maximum limit.

NPR_LOGIN_FAILED

Generic failure when a login operation fails.

NPR_LOG_FAILED

Generic failure when an audit log not could be processed.

NPR_MAX_AMOUNT_OF_TOKENS_HAS_BEEN_REACHED

Requested enrollment of a new token could not be operated because the user has been reached its maximum limit of available tokens.

NPR_MESSAGE_SERVICE_ERROR

Message service returns an error.

NPR_OBJECT_NOT_FOUND

Requested generic object could not be found.

NPR_OFFICE_NOT_FOUND

Requested office item could not be found.

NPR_OPERATION_IS_RESTRICTED

Requested operation is restricted due to current regulations.

NPR_ORGANIZATION_NOT_FOUND

Requested organization item could not be found.

NPR_ORGANIZATION_CERTIFICATE_NOT_FOUND

Requested organization certificate item could not be found. ////

NPR_PASSKEY_NOT_FOUND

Requested passkey item cound not be found. ////

NPR_PERSON_AGE_INVALID

Age of a person is invalid due to current regulations.

NPR_PERSON_IDENTITY_INVALID

Identity level, or type, is invalid due to current regulations.

NPR_PRIVILEGE_ALREADY_EXISTS

Privilege with same purpose already exists.

NPR_PRIVILEGE_MISSING

Generic failure when a privilege is missing.

NPR_PRIVILEGE_MISSING_FOR_OPERATION

Privilege is missing for specific operation.

NPR_PRIVILEGE_NOT_FOUND

Requested privilege item could not be found.

NPR_RECEIPT_NOT_FOUND

Requested receipt item cound not be found.

NPR_RECLAIM_FAILED_DUE_TO_EXPIRATION

Reclaim of a token could not be processed due to expiration process.

NPR_REPORT_NOT_FOUND

Requested report item could not be found.

NPR_ROLE_INVALID

Generic failure when a role is mismathed, missing or already exists.

NPR_ROLE_NOT_FOUND

Requested role item could not be found.

NPR_SESSION_EXPIRED

Current session has been expired or removed.

NPR_SHORT_MESSAGE_SERVICE_NOT_FOUND

Requested short message service item could not be found.

NPR_SIGNATURE_FAILED

Generic failure when a signature fails.

NPR_SMTP_SERVICE_NOT_FOUND

Requested SMTP service item could not be found.

NPR_SYSTEM_CONFIGURATION_NOT_FOUND

Requested system configuration item could not be found.

NPR_SYSTEM_MESSAGE_NOT_FOUND

Requested system message item could not be found.

NPR_TASK_ALREADY_COMPLETED

Requested task is already completed when execute.

NPR_TASK_ALREADY_EXISTS

Requested task is already exists when create.

NPR_TASK_CANCELLED

Requested task is cancelled.

NPR_TASK_CORRUPT

Requested task is corrupted.

NPR_TASK_DELEGATED

Requested task is delegated to another user.

NPR_TASK_FIELD_INVALID

Field in a task contains an invalid value.

NPR_TASK_FIELD_MISSING

Field in a task is missing.

NPR_TASK_INVALID

Generic failure when a task is invalid.

NPR_TASK_PROCESSING

Requested task is already processing by another user.

NPR_TASK_TYPE_NOT_FOUND

Generic failure when requested task type could not be established.

NPR_TASK_NOT_FOUND

Requested task item could be found.

NPR_TASK_RELEASED

Requested task has been released.

NPR_TASK_SAVED

Requested task has been saved.

NPR_TASK_TYPE_ALREADY_EXISTS

Requested task type already exists when create.

NPR_TASK_TYPE_DISABLED

Requested task or task type is disabled.

NPR_TASK_WAITING

Requested task is waiting for another process.

NPR_TEXT_NOT_FOUND

Requested text item could not be found.

NPR_TEXT_AGREEMENT_NOT_FOUND

Requested text agreement item could not be found.

NPR_TOKEN_ALREADY_EXISTS

Token already exists when create or initialize.

NPR_TOKEN_HAS_RELATED_OBJECTS

Token has related objects that need to be unrelated before continuing the operation.

NPR_TOKEN_IS_RELATED_TO_ANOTHER_USER

Token is related to another user and cannot be processed in current state.

NPR_TOKEN_MANUFACTURER_NOT_FOUND

Requested token manufacturer item could not be found.

NPR_TOKEN_MANUFACTURER_ARTICLE_NOT_FOUND

Requested token manufacturer article item could not be found.

NPR_TOKEN_NOT_FOUND

Requested token item could not be found.

NPR_TOKEN_NOT_SUPPORTED

Token is not supported due to missing profile.

NPR_TOKEN_PROFILE_NOT_FOUND

Requested token profile item could not be found.

NPR_TOKEN_TEMPLATE_NOT_FOUND

Requested token template item could not be found.

NPR_UNSUPPORTED_CLIENT_VERSION

Requested feature requires a newer version of the client.

NPR_USER_ALREADY_EXISTS

User already exists when create.

NPR_USER_GROUP_ALREADY_EXISTS

User group already exists when create.

NPR_USER_GROUP_NOT_FOUND

Requested user group item could not be found.

NPR_USER_NOT_FOUND

Requested user item could not be found.

NPR_VALIDITY_INVALID

Generic failure when validation of certificate expiration fails.