diff --git a/thingsboard_gateway/tb_utility/tb_gateway_remote_configurator.py b/thingsboard_gateway/tb_utility/tb_gateway_remote_configurator.py index 56c3e27aa..aed0fbbf7 100644 --- a/thingsboard_gateway/tb_utility/tb_gateway_remote_configurator.py +++ b/thingsboard_gateway/tb_utility/tb_gateway_remote_configurator.py @@ -701,4 +701,7 @@ def create_configuration_file_backup(self, config_data, config_file_name): def _create_connectors_backup(self): for connector in self.connectors_configuration: - self.create_configuration_file_backup(connector['configurationJson'], connector['configuration']) + if connector.get('configurationJson'): + self.create_configuration_file_backup(connector['configurationJson'], connector['configuration']) + else: + LOG.debug(f"Configuration for {connector['name']} connector is not found, backup wasn't created")