Skip to main content

Return Code

The meaning of the return codes is shown below. To search your return code, press Ctrl+F.

CodeDescription
BS_SDK_SUCCESSSuccess.
BS_SDK_DURESS_SUCCESSAuthenticated as duress fingerprint.
BS_SDK_FIRST_AUTH_SUCCESSFirst user has been authenticated.
BS_SDK_SECOND_AUTH_SUCCESSSecond user has been authenticated.
BS_SDK_DUAL_AUTH_SUCCESSSuccess on dual authentication.
BS_SDK_WIEGAND_BYPASS_SUCCESSSuccess on Wiegand bypass. (Only FaceStation 2)
BS_SDK_ERROR_FROM_DEVICE_DRIVERDevice driver error.
BS_SDK_ERROR_CANNOT_OPEN_SOCKETCannot create a socket.
BS_SDK_ERROR_CANNOT_CONNECT_SOCKETCannot connect to socket.
BS_SDK_ERROR_CANNOT_LISTEN_SOCKETCannot set socket to listen for connections.
BS_SDK_ERROR_CANNOT_ACCEPT_SOCKETCannot accept socket.
BS_SDK_ERROR_CANNOT_READ_SOCKETCannot read from socket.
BS_SDK_ERROR_CANNOT_WRITE_SOCKETCannot write on socket.
BS_SDK_ERROR_SOCKET_IS_NOT_CONNECTEDNot connected to socket.
BS_SDK_ERROR_SOCKET_IS_NOT_OPENCannot use socket.
BS_SDK_ERROR_SOCKET_IS_NOT_LISTENEDSocket not set to listen.
BS_SDK_ERROR_SOCKET_IN_PROGRESSAlready in progress.
BS_SDK_ERROR_INVALID_PARAMInvalid parameter.
BS_SDK_ERROR_INVALID_PACKETInvalid packet.
BS_SDK_ERROR_INVALID_DEVICE_IDInvalid device ID.
BS_SDK_ERROR_INVALID_DEVICE_TYPEInvalid device type.
BS_SDK_ERROR_PACKET_CHECKSUMPacket data's checksum is not correct.
BS_SDK_ERROR_PACKET_INDEXPacket data may be lost.
BS_SDK_ERROR_PACKET_COMMANDInvalid command.
BS_SDK_ERROR_PACKET_SEQUENCEPacket sequence error due to unstable network connection.
BS_SDK_ERROR_NO_PACKETInvalid packet.
BS_SDK_ERROR_EXTRACTION_FAILCannot extract template data.
BS_SDK_ERROR_VERIFY_FAILFailed on 1:1 verification.
BS_SDK_ERROR_IDENTIFY_FAILFailed on 1:N identification.
BS_SDK_ERROR_IDENTIFY_TIMEOUTIdentification timeout.
BS_SDK_ERROR_FINGERPRINT_CAPTURE_FAILCannot capture the fingerprint image.
BS_SDK_ERROR_FINGERPRINT_SCAN_TIMEOUTFingerprint scan timeout.
BS_SDK_ERROR_FINGERPRINT_SCAN_CANCELLEDFingerprint can canceled.
BS_SDK_ERROR_NOT_SAME_FINGERPRINTNot identical fingerprints.
BS_SDK_ERROR_EXTRACTION_LOW_QUALITYNeed more information of fingerprint minutiae.
BS_SDK_ERROR_CAPTURE_LOW_QUALITYLow quality of captured fingerprint image.
BS_SDK_ERROR_CANNOT_FIND_FINGERPRINTFingerprint not registered.
​BS_SDK_ERROR_FAKE_FINGER_DETECTED​Fake finger detected.
BS_SDK_ERROR_FAKE_FINGER_TRY_AGAINFake finger try again.
BS_SDK_ERROR_FAKE_FINGER_SENSOR_ERRORFake finger sensor error.
BS_SDK_ERROR_CANNOT_FIND_FACECannot find face.
BS_SDK_ERROR_FACE_CAPTURE_FAILFace capture failed.
BS_SDK_ERROR_FACE_SCAN_TIMEOUTFace scan timeout error.
BS_SDK_ERROR_FACE_SCAN_CANCELLEDFace scan cancelled.
BS_SDK_ERROR_FACE_SCAN_FAILEDFailed to face scan. (FaceStation 2, FaceLite only)
BS_SDK_ERROR_CANNOT_OPEN_DIRCannot open directory.
BS_SDK_ERROR_CANNOT_OPEN_FILECannot open file.
BS_SDK_ERROR_CANNOT_WRITE_FILECannot write on file.
BS_SDK_ERROR_CANNOT_SEEK_FILECannot seek file.
BS_SDK_ERROR_CANNOT_READ_FILECannot read file.
BS_SDK_ERROR_CANNOT_GET_STATCannot get file status.
BS_SDK_ERROR_CANNOT_GET_SYSINFOCannot get system information.
BS_SDK_ERROR_DATA_MISMATCHFailed on data redundancy check.
​BS_SDK_ERROR_INVALID_RELAY​Invalid Relay.
​BS_SDK_ERROR_CANNOT_WRITE_IO_PACKET​Failed to write I/O packet.
​BS_SDK_ERROR_CANNOT_READ_IO_PACKET​Failed to read I/O packet.
​BS_SDK_ERROR_CANNOT_READ_INPUT​Cannot read input device.
​BS_SDK_ERROR_READ_INPUT_TIMEOUT​Timeout during reading the input device.
​BS_SDK_ERROR_CANNOT_ENABLE_INPUT​Cannot enable the input device.
​BS_SDK_ERROR_CANNOT_SET_INPUT_DURATION​Cannot set the duration of the input device.
​BS_SDK_ERROR_INVALID_PORT​Invalid port.
​BS_SDK_ERROR_INVALID_INTERPHONE_TYPE​Invalid intercom type.
​BS_SDK_ERROR_INVALID_LCD_PARAM​Invalid LCD parameter.
​BS_SDK_ERROR_CANNOT_WRITE_LCD_PACKET​Failed to write LCD packet.
​BS_SDK_ERROR_CANNOT_READ_LCD_PACKET​Failed to read LCD packet.
​BS_SDK_ERROR_INVALID_LCD_PACKET​Invalid LCD packet.
​BS_SDK_ERROR_INPUT_QUEUE_FULL​Not enough buffer space on input device.
​BS_SDK_ERROR_WIEGAND_QUEUE_FULL​Not enough input buffer space on wiegand device.
​BS_SDK_ERROR_MISC_INPUT_QUEUE_FULL​Not enough buffer space on miscellaneous device.
​BS_SDK_ERROR_WIEGAND_DATA_QUEUE_FULL​Not enough output buffer space on wiegand device.
​BS_SDK_ERROR_WIEGAND_DATA_QUEUE_EMPTY​Empty output data of wiegand device.
BS_SDK_ERROR_NOT_SUPPORTEDNot supported.
BS_SDK_ERROR_TIMEOUTTimeout.
BS_SDK_ERROR_INVALID_DATA_FILEInvalid data file.
​BS_SDK_ERROR_TOO_LARGE_DATA_FOR_SLOT​The data is larger than the slot.
BS_SDK_ERROR_INVALID_SLOT_NOInvalid slot number.
BS_SDK_ERROR_INVALID_SLOT_DATAInvalid slot data.
BS_SDK_ERROR_CANNOT_INIT_DBCannot initialize Database.
BS_SDK_ERROR_DUPLICATE_IDDuplicated ID.
BS_SDK_ERROR_USER_FULLNo more users can be added.
​BS_SDK_ERROR_DUPLICATE_TEMPLATE​Fingerprint already enrolled.
BS_SDK_ERROR_FINGERPRINT_FULLNo more fingerprints can be added.
BS_SDK_ERROR_DUPLICATE_CARDDuplicated Card.
BS_SDK_ERROR_CARD_FULLNo more cards can be added.
BS_SDK_ERROR_NO_VALID_HDR_FILEInvalid file header.
​BS_SDK_ERROR_INVALID_LOG_FILE​Invalid log file.
BS_SDK_ERROR_CANNOT_FIND_USERCannot find user.
BS_SDK_ERROR_ACCESS_LEVEL_FULLNo more access levels can be added.
BS_SDK_ERROR_INVALID_USER_IDInvalid user ID.
BS_SDK_ERROR_BLACKLIST_FULLNo more cards can be added to blacklist.
BS_SDK_ERROR_USER_NAME_FULLNo more user names can be added.
BS_SDK_ERROR_USER_IMAGE_FULLNo more profile pictures can be added.
BS_SDK_ERROR_USER_IMAGE_SIZE_TOO_BIGUser profile picture's size is to big.
BS_SDK_ERROR_SLOT_DATA_CHECKSUMInvalid sector data.
BS_SDK_ERROR_CANNOT_UPDATE_FINGERPRINTCannot update fingerprint template.
​BS_SDK_ERROR_TEMPLATE_FORMAT_MISMATCH​Template format does not match the type of the server.
​BS_SDK_ERROR_NO_ADMIN_USER​There is no administrator.
​BS_SDK_ERROR_CANNOT_FIND_LOG​Cannot find log.
BS_SDK_ERROR_DOOR_SCHEDULE_FULLNo more door schedules can be added.
BS_SDK_ERROR_DB_SLOT_FULLNot enough space in database.
BS_SDK_ERROR_ACCESS_GROUP_FULLNo more access groups can be added.
​BS_SDK_ERROR_ACCESS_SCHEDULE_FULL​No more access schedule can be added.
BS_SDK_ERROR_HOLIDAY_GROUP_FULLNo more holiday groups can be added.
BS_SDK_ERROR_HOLIDAY_FULLNo more holidays can be added.
BS_SDK_ERROR_TIME_PERIOD_FULLNo more time periods can be added for one day.
​BS_SDK_ERROR_NO_CREDENTIAL​No credentials.
BS_SDK_ERROR_NO_BIOMETRIC_CREDENTIALNo registered fingerprint.
​BS_SDK_ERROR_NO_CARD_CREDENTIAL​Card not registered.
BS_SDK_ERROR_NO_PIN_CREDENTIALNo registered PIN.
BS_SDK_ERROR_NO_BIOMETRIC_PIN_CREDENTIALNo registered PIN or fingerprint.
​BS_SDK_ERROR_NO_USER_NAME​User name not registered.
BS_SDK_ERROR_NO_USER_IMAGENo user profile picture.
​BS_SDK_ERROR_READER_FULL​Unable to add more devices.
​BS_SDK_ERROR_CACHE_MISSED​Cannot find cache data.
BS_SDK_ERROR_OPERATOR_FULLNo more operators can be added.
​BS_SDK_ERROR_INVALID_LINK_ID​Invalid link ID.
​BS_SDK_ERROR_TIMER_CANCELED​Timer has been canceled.
​BS_SDK_ERROR_USER_JOB_FULL​Cannot add more job codes.
BS_SDK_ERROR_CANNOT_UPDATE_FACECannot update face.
BS_SDK_ERROR_FACE_FULLNo more face template can be added.
BS_SDK_ERROR_FLOOR_SCHEDULE_FULLNo more floor schedule can be added.
BS_SDK_ERROR_CANNOT_FIND_AUTH_GROUPCannot find auth group.
BS_SDK_ERROR_AUTH_GROUP_FULLNo more auth group can be added.
BS_SDK_ERROR_USER_PHRASE_FULLNo more User phrase can be added.
BS_SDK_ERROR_DST_SCHEDULE_FULLNo more DST schedule can be added..
BS_SDK_ERROR_CANNOT_FIND_DST_SCHEDULECannot find DST schedule.
BS_SDK_ERROR_INVALID_SCHEDULEInvalid schedule.
BS_SDK_ERROR_CANNOT_FIND_OPERATORCannot find operator.
BS_SDK_ERROR_DUPLICATE_FINGERPRINTDuplicated fingerprint.
BS_SDK_ERROR_DUPLICATE_FACEDuplicated face.
​BS_SDK_ERROR_INVALID_CONFIG​Invalid system configuration.
​BS_SDK_ERROR_CANNOT_OPEN_CONFIG_FILE​Cannot open system configuration file.
​BS_SDK_ERROR_CANNOT_READ_CONFIG_FILE​Cannot read system configuration file.
BS_SDK_ERROR_INVALID_CONFIG_FILEInvalid system configuration header information.
BS_SDK_ERROR_INVALID_CONFIG_DATAInvalid system configuration.
​BS_SDK_ERROR_CANNOT_WRITE_CONFIG_FILE​Cannot write system configuration file.
BS_SDK_ERROR_INVALID_CONFIG_INDEXInvalid configuration sector index.
BS_SDK_ERROR_CANNOT_SCAN_FINGERCannot scan finger.
BS_SDK_ERROR_CANNOT_SCAN_CARDCannot scan card.
​BS_SDK_ERROR_CANNOT_OPEN_RTC​No RTC device.
​BS_SDK_ERROR_CANNOT_SET_RTC​Unable to set time on RTC device.
​BS_SDK_ERROR_CANNOT_GET_RTC​Unable to get time of RTC device.
​BS_SDK_ERROR_CANNOT_SET_LED​Cannot set LCD pattern.
​BS_SDK_ERROR_CANNOT_OPEN_DEVICE_DRIVER​Device driver missing.
BS_SDK_ERROR_CANNOT_FIND_DEVICECannot find device.
BS_SDK_ERROR_CANNOT_SCAN_FACECannot scan face.
BS_SDK_ERROR_SLAVE_FULLNo more Slave device can be added.
BS_SDK_ERROR_CANNOT_ADD_DEVICECannot add device.
BS_SDK_ERROR_CANNOT_FIND_DOORCannot find door.
BS_SDK_ERROR_DOOR_FULLNo more doors can be added.
BS_SDK_ERROR_CANNOT_LOCK_DOORCannot lock door.
BS_SDK_ERROR_CANNOT_UNLOCK_DOORCannot unlock door.
​BS_SDK_ERROR_CANNOT_RELEASE_DOOR​Failed to release door.
BS_SDK_ERROR_CANNOT_FIND_LIFTCannot find lift.
BS_SDK_ERROR_LIFT_FULLNo more Lift device can be added.
BS_SDK_ERROR_ACCESS_RULE_VIOLATIONAccess rules violated.
BS_SDK_ERROR_DISABLEDDisabled user.
BS_SDK_ERROR_NOT_YET_VALIDNot valid yet.
BS_SDK_ERROR_EXPIREDTime expired.
BS_SDK_ERROR_BLACKLISTCard registered to blacklist.
BS_SDK_ERROR_CANNOT_FIND_ACCESS_GROUPCannot find access group.
BS_SDK_ERROR_CANNOT_FIND_ACCESS_LEVELCannot find access level.
BS_SDK_ERROR_CANNOT_FIND_ACCESS_SCHEDULECannot find access schedule.
BS_SDK_ERROR_CANNOT_FIND_HOLIDAY_GROUPCannot find holiday group.
​BS_SDK_ERROR_CANNOT_FIND_BLACKLIST​Blacklist doesn't exist.
BS_SDK_ERROR_AUTH_TIMEOUTAuthentication timeout.
BS_SDK_ERROR_DUAL_AUTH_TIMEOUTDual authentication timeout.
BS_SDK_ERROR_INVALID_AUTH_MODEInvalid authentication mode.
BS_SDK_ERROR_AUTH_UNEXPECTED_USERUser information is not matched with the credentials.
BS_SDK_ERROR_AUTH_UNEXPECTED_CREDENTIALInvalid credentials in current schedule.
BS_SDK_ERROR_DUAL_AUTH_FAILFailed on dual authentication.
BS_SDK_ERROR_BIOMETRIC_AUTH_REQUIREDFingerprint is required.
BS_SDK_ERROR_PIN_AUTH_REQUIREDPIN is required.
BS_SDK_ERROR_BIOMETRIC_OR_PIN_AUTH_REQUIREDFingerprint or PIN required.
BS_SDK_ERROR_TNA_CODE_REQUIREDT&A code required.
​BS_SDK_ERROR_AUTH_SERVER_MATCH_REFUSAL​Server matching refused.
BS_SDK_ERROR_CANNOT_FIND_FLOOR_LEVELCannot find floor level.
BS_SDK_ERROR_AUTH_FAILAuth failed.
BS_SDK_ERROR_AUTH_GROUP_REQUIREDAuth group is required.
BS_SDK_ERROR_IDENTIFICATION_REQUIREDIdentification is required.
BS_SDK_ERROR_ANTI_TAILGATE_VIOLATIONAnti tailgating rules violated.
BS_SDK_ERROR_CANNOT_FIND_ZONEUnregistered zone.
BS_SDK_ERROR_SET_ZONENo more zone can be added.
BS_SDK_ERROR_HARD_APB_VIOLATIONHard APB rules violated.
BS_SDK_ERROR_SOFT_APB_VIOLATIONSoft APB rules violated.
BS_SDK_ERROR_HARD_TIMED_APB_VIOLATIONTimed Hard APB rules violated.
BS_SDK_ERROR_SOFT_TIMED_APB_VIOLATIONTimed Soft APB rules violated.
BS_SDK_ERROR_SCHEDULED_LOCK_VIOLATIONInvalid user attempted access in the lock schedule.
​BS_SDK_ERROR_SCHEDULED_UNLOCK_VIOLATION​Invalid user attempted access in the unlock schedule.
BS_SDK_ERROR_SET_FIRE_ALARMCannot set fire alarm.
​BS_SDK_ERROR_TIMED_APB_ZONE_FULL​Cannot add more Timed APB zone.
​BS_SDK_ERROR_FIRE_ALARM_ZONE_FULL​Cannot add more fire alarm zone.
​BS_SDK_ERROR_SCHEDULED_LOCK_UNLOCK_ZONE_FULL​Cannot add more scheduled lock/unlock zone.
​BS_SDK_ERROR_INACTIVE_ZONE​Inactive zone.
BS_SDK_ERROR_INTRUSION_ALARM_ZONE_FULLNo more intrusion alarm zone can be added.
BS_SDK_ERROR_CANNOT_ARMCannot switch to alarm mode.
BS_SDK_ERROR_CANNOT_DISARMCannot switch to disalarm mode.
BS_SDK_ERROR_CANNOT_FIND_ARM_CARDCannot find alarm mode switch card.
BS_SDK_ERROR_HARD_ENTRANCE_LIMIT_COUNT_VIOLATIONThe number of Entrance limit area(Hard) exceeds the allowable number.
BS_SDK_ERROR_SOFT_ENTRANCE_LIMIT_COUNT_VIOLATIONThe number of Entrance limit area(Soft) exceeds the allowable number.
BS_SDK_ERROR_HARD_ENTRANCE_LIMIT_TIME_VIOLATIONEntrance time limit (hard) time violation.
BS_SDK_ERROR_SOFT_ENTRANCE_LIMIT_TIME_VIOLATIONEntrance time limit (hard) time violation.
BS_SDK_ERROR_INTERLOCK_ZONE_DOOR_VIOLATIONInterlock zone door rule violation.
BS_SDK_ERROR_INTERLOCK_ZONE_INPUT_VIOLATIONInterlock zone input rule violation.
BS_SDK_ERROR_INTERLOCK_ZONE_FULLNo more interlock zone can be added.
BS_SDK_ERROR_AUTH_LIMIT_SCHEDULE_VIOLATIONAuth limit rule(schedule) violation.
BS_SDK_ERROR_AUTH_LIMIT_COUNT_VIOLATIONAuth limit rule(count) violation
BS_SDK_ERROR_AUTH_LIMIT_USER_VIOLATIONAuth limit rule(user) violation.
BS_SDK_ERROR_SOFT_AUTH_LIMIT_VIOLATIONAuth limit rule(network disconnected or soft auth limit) violation.
BS_SDK_ERROR_HARD_AUTH_LIMIT_VIOLATIONAuth limit rule(network disconnected or hard auth limit) violation.
BS_SDK_ERROR_CARD_IOUnsupported Card I/O.
​BS_SDK_ERROR_CARD_INIT_FAIL​Failed to initialize card.
​BS_SDK_ERROR_CARD_NOT_ACTIVATED​Card has not been activated.
BS_SDK_ERROR_CARD_CANNOT_READ_DATACannot read data from card.
​BS_SDK_ERROR_CARD_CIS_CRC​CIS checksum error.
BS_SDK_ERROR_CARD_CANNOT_WRITE_DATACannot write data on card.
BS_SDK_ERROR_CARD_READ_TIMEOUTCard read timeout.
BS_SDK_ERROR_CARD_READ_CANCELLEDCard read canceled.
​BS_SDK_ERROR_CARD_CANNOT_SEND_DATA​Failed to send card data.
BS_SDK_ERROR_CANNOT_FIND_CARDCannot find card.
​BS_SDK_ERROR_INVALID_PASSWORD​Invalid password.
​BS_SDK_ERROR_CAMERA_INIT_FAIL​Failed to initialize the camera.
​BS_SDK_ERROR_JPEG_ENCODER_INIT_FAIL​Failed to initialize the JPEG encoder.
​BS_SDK_ERROR_CANNOT_ENCODE_JPEG​Cannot encode to JPEG.
​BS_SDK_ERROR_JPEG_ENCODER_NOT_INITIALIZED​Failed to initialize Jpeg encoder.
​BS_SDK_ERROR_JPEG_ENCODER_DEINIT_FAIL​Unable to remove the Jpeg encoder.
​BS_SDK_ERROR_CAMERA_CAPTURE_FAIL​Failed to capture image with the camera.
​BS_SDK_ERROR_CANNOT_DETECT_FACE​Cannot detect face.
​BS_SDK_ERROR_FILE_IO​Failed on file I/O operation.
​BS_SDK_ERROR_ALLOC_MEM​Failed to allocate memory.
BS_SDK_ERROR_CANNOT_UPGRADEFailed on upgrade.
​BS_SDK_ERROR_DEVICE_LOCKED​Device is locked.
​BS_SDK_ERROR_CANNOT_SEND_TO_SERVER​Cannot send data to server.
BS_SDK_ERROR_CANNOT_UPGRADE_MEMOEYCannot upgrade memory.
BS_SDK_ERROR_NULL_POINTERWrong pointer.
BS_SDK_ERROR_UNINITIALIZEDSDK not initialized.
BS_SDK_ERROR_CANNOT_RUN_SERVICECannot run SDK service.
BS_SDK_ERROR_CANCELEDCanceled.
BS_SDK_ERROR_EXISTAlready exists.
BS_SDK_ERROR_ENCRYPTFailed on encryption.
BS_SDK_ERROR_DECRYPTFailed on decryption.
BS_SDK_ERROR_DEVICE_BUSYDevice cannot response.
​BS_SDK_ERROR_INTERNAL​Internal SDK error.
​BS_SDK_ERROR_INVALID_FILE_FORMAT​Invalid file format.
BS_SDK_ERROR_INVALID_SCHEDULE_IDInvalid schedule ID.
BS_SDK_ERROR_UNKNOWN_FINGER_TEMPLATENot supported fingerprint template. (Template type is not Suprema, ANSI or ISO)
Was this page helpful?