def get_failed_indicators(file_name):
    """Get Failed indicators list from checkpoint."""
    __method_name = inspect.currentframe().f_code.co_name
    try:
        state_manager_obj = StateManager(consts.CONNECTION_STRING, file_path=file_name)
        checkpoint_data = state_manager_obj.get(consts.RETRY_FAILED_INDICATORS)
        if checkpoint_data is None or checkpoint_data == "":
            return None
        else:
            json_checkpoint = json.loads(checkpoint_data)
            return json_checkpoint
    except Exception as error:
        applogger.error(
            "{}(method={}) : {} : error while getting checkpoint data for failed indicators, Error : {}.".format(
                consts.LOGS_STARTS_WITH,
                __method_name,
                consts.RETRY_FAILED_INDICATORS,
                error,
            )
        )
        raise CofenseIntelligenceException()
Get Failed indicators list from checkpoint.
Solutions/CofenseIntelligence/Data Connectors/CofenseIntelligenceDataConnector/RetryFailedIndicators/retry_failed_indicators.py