def save_failed_indicators_data_to_checkpoint(self, indicators_data, file_name):
        """Save failed indicators data to checkpoint.

        Args:
            indicators_data (list): Failed indicators data.
        """
        try:
            __method_name = inspect.currentframe().f_code.co_name
            state_manager_obj = StateManager(consts.CONN_STRING, file_path=file_name)
            checkpoint_data = state_manager_obj.get(
                consts.DATAMINR_PULSE_THREAT_INTELLIGENCE
            )
            if checkpoint_data is None or checkpoint_data == "":
                state_manager_obj.post(json.dumps(indicators_data))
                applogger.info(
                    "{}(method={}) : {} : checkpoint file created and {} failed indicators posted successfully.".format(
                        consts.LOGS_STARTS_WITH,
                        __method_name,
                        consts.DATAMINR_PULSE_THREAT_INTELLIGENCE,
                        len(indicators_data),
                    )
                )
            else:
                json_checkpoint = json.loads(checkpoint_data)
                json_checkpoint.extend(indicators_data)
                state_manager_obj.post(json.dumps(json_checkpoint))
                applogger.info(
                    "{}(method={}) : {} : Updated checkpoint with {} failed indicators successfully.".format(
                        consts.LOGS_STARTS_WITH,
                        __method_name,
                        consts.DATAMINR_PULSE_THREAT_INTELLIGENCE,
                        len(indicators_data),
                    )
                )
        except Exception as error:
            applogger.error(
                "{}(method={}) : {} : error while posting checkpoint data for failed indicators :{}.".format(
                    consts.LOGS_STARTS_WITH,
                    __method_name,
                    consts.DATAMINR_PULSE_THREAT_INTELLIGENCE,
                    error,
                )
            )
            raise DataminrPulseException()
Save failed indicators data to checkpoint.

        Args:
            indicators_data (list): Failed indicators data.
        
Solutions/Dataminr Pulse/Data Connectors/DataminrPulseAlerts/DataminrPulseThreatIntelligence/dataminr_pulse_threat_intelligence.py