diff --git a/source-facebook-marketing/source_facebook_marketing/streams/base_insight_streams.py b/source-facebook-marketing/source_facebook_marketing/streams/base_insight_streams.py index a55e23c8d6..dfc111ccbd 100644 --- a/source-facebook-marketing/source_facebook_marketing/streams/base_insight_streams.py +++ b/source-facebook-marketing/source_facebook_marketing/streams/base_insight_streams.py @@ -300,10 +300,11 @@ def get_json_schema(self) -> Mapping[str, Any]: for k in self.primary_key: if k not in schema["properties"]: continue - + typ = schema["properties"][k]["type"] if "string" in typ or typ == "string": - schema["properties"][k]["default"] = "" + if "format" not in schema["properties"][k]: + schema["properties"][k]["default"] = "" return schema