diff --git a/pycti/entities/opencti_stix_cyber_observable.py b/pycti/entities/opencti_stix_cyber_observable.py index a2c59b65..ff51a129 100644 --- a/pycti/entities/opencti_stix_cyber_observable.py +++ b/pycti/entities/opencti_stix_cyber_observable.py @@ -1647,7 +1647,7 @@ def create(self, **kwargs): ), } result = self.opencti.query(query, input_variables) - if "payload_bin" in observable_data and "mime/type" in observable_data: + if "payload_bin" in observable_data and "mime_type" in observable_data: self.add_file( id=result["data"]["stixCyberObservableAdd"]["id"], file_name=(