How to debug a failing tap/source? #55877
Adiamaan Keerthi (adiamaan92)
started this conversation in
General
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Source-linkedin-ads has been failing for over a week now. You can check the [associated issue](#55870).
I'm trying to debug the issue, but the logging error isn't very clear. I'm a Meltano newbie, so any guidance would be appreciated. Here's what I've tried so far:
Any suggestions or debugging steps you can recommend? Thanks!
Logs
meltano run tap-linkedin-ads-slowly-changing-dimensions target-bigquery-linkedin-ads {"event": "Environment 'base' is active", "level": "info", "timestamp": "2025-03-20T14:44:22.327474Z"} {"event": "Installing extractor 'tap-linkedin-ads-slowly-changing-dimensions'", "level": "info", "timestamp": "2025-03-20T14:44:22.702335Z"} {"event": "Installing loader 'target-bigquery-linkedin-ads'", "level": "info", "timestamp": "2025-03-20T14:44:22.754200Z"} {"event": "Installed extractor 'tap-linkedin-ads-slowly-changing-dimensions'", "level": "info", "timestamp": "2025-03-20T14:44:25.985522Z"} {"event": "Installed loader 'target-bigquery-linkedin-ads'", "level": "info", "timestamp": "2025-03-20T14:44:26.166507Z"} {"event": "Installed 2/2 plugins", "level": "info", "timestamp": "2025-03-20T14:44:26.166685Z"} {"event": "Cannot start plugin tap-linkedin-ads-slowly-changing-dimensions: Catalog discovery failed: command ['/Users/adi/src/github.com/foo/data-warehouse/meltano/data_warehouse/.meltano/extractors/tap-linkedin-ads/venv/bin/tap-airbyte', '--config', '/Users/adi/src/github.com/foo/data-warehouse/meltano/data_warehouse/.meltano/run/tap-linkedin-ads-slowly-changing-dimensions/tap.e85a0fb2-f9c7-4e2e-8c08-bb821076db8b.config.json', '--state', '/Users/adi/src/github.com/foo/data-warehouse/meltano/data_warehouse/.meltano/run/tap-linkedin-ads-slowly-changing-dimensions/state.json', '--discover'] returned 1 with stderr:\n 2025-03-20 09:44:26,974 | INFO | tap-airbyte | Virtual environment for source already exists.\n2025-03-20 09:44:27,235 | INFO | tap-airbyte | pip check results: No broken requirements found.\n\n2025-03-20 09:44:28,875 | CRITICAL | tap-airbyte | Error starting the sync. This could be due to an invalid configuration or catalog. Please contact Support for assistance. Error: Validation against json schema defined in declarative_component_schema.yaml schema failed\ntap_airbyte.tap.AirbyteException: Traceback (most recent call last):\n File \"/Users/adi/src/github.com/foo/data-warehouse/meltano/data_warehouse/.meltano/extractors/tap-linkedin-ads/venv/lib/python3.10/site-packages/tap_airbyte/.venv-airbyte-source-linkedin-ads/lib/python3.10/site-packages/airbyte_cdk/sources/declarative/manifest_declarative_source.py\", line 287, in _validate_source\n validate(self._source_config, declarative_component_schema)\n File \"/Users/adi/src/github.com/foo/data-warehouse/meltano/data_warehouse/.meltano/extractors/tap-linkedin-ads/venv/lib/python3.10/site-packages/tap_airbyte/.venv-airbyte-source-linkedin-ads/lib/python3.10/site-packages/jsonschema/validators.py\", line 1121, in validate\n raise error\njsonschema.exceptions.ValidationError: {'type': 'ConfigComponentsResolver', 'stream_config': {'type': 'StreamConfig', 'configs_pointer': ['ad_analytics_reports']}, 'components_mapping': [{'type': 'ComponentMappingDefinition', 'field_path': ['**', 'name'], 'value': \"custom_{{components_values['name']}}\"}, {'type': 'ComponentMappingDefinition', 'field_path': ['retriever', 'requester', 'request_parameters', 'pivot'], 'value': \"(value:{{components_values['pivot_by']}})\"}, {'type': 'ComponentMappingDefinition', 'field_path': ['retriever', 'requester', 'request_parameters', 'timeGranularity'], 'value': \"(value:{{components_values['time_granularity']}})\"}, {'type': 'ComponentMappingDefinition', 'field_path': ['retriever', 'record_selector', '**', 'transformations', 1, 'fields', 0, 'value'], 'value': \"{{components_values['pivot_by']}}\"}]} is not valid under any of the given schemas\n\nFailed validating 'anyOf' in schema['properties']['dynamic_streams']['items']['properties']['components_resolver']:\n {'anyOf': [{'$ref': '#/definitions/HttpComponentsResolver'},\n {'$ref': '#/definitions/ConfigComponentsResolver'}],\n 'description': 'Component resolve and populates stream templates with '\n 'components values.',\n 'title': 'Components Resolver'}\n\nOn instance['dynamic_streams'][0]['components_resolver']:\n {'components_mapping': [{'field_path': ['**', 'name'],\n 'type': 'ComponentMappingDefinition',\n 'value': \"custom_{{components_values['name']}}\"},\n {'field_path': ['retriever',\n 'requester',\n 'request_parameters',\n 'pivot'],\n 'type': 'ComponentMappingDefinition',\n 'value': \"(value:{{components_values['pivot_by']}})\"},\n {'field_path': ['retriever',\n 'requester',\n 'request_parameters',\n 'timeGranularity'],\n 'type': 'ComponentMappingDefinition',\n 'value': \"(value:{{components_values['time_granularity']}})\"},\n {'field_path': ['retriever',\n 'record_selector',\n '**',\n 'transformations',\n 1,\n 'fields',\n 0,\n 'value'],\n 'type': 'ComponentMappingDefinition',\n 'value': \"{{components_values['pivot_by']}}\"}],\n 'stream_config': {'configs_pointer': ['ad_analytics_reports'],\n 'type': 'StreamConfig'},\n 'type': 'ConfigComponentsResolver'}\n\nThe above exception was the direct cause of the following exception:\n\nTraceback (most recent call last):\n File \"/Users/adi/src/github.com/foo/data-warehouse/meltano/data_warehouse/.meltano/extractors/tap-linkedin-ads/venv/lib/python3.10/site-packages/tap_airbyte/.venv-airbyte-source-linkedin-ads/lib/python3.10/site-packages/source_linkedin_ads/run.py\", line 24, in _get_source\n return SourceLinkedinAds(\n File \"/Users/adi/src/github.com/foo/data-warehouse/meltano/data_warehouse/.meltano/extractors/tap-linkedin-ads/venv/lib/python3.10/site-packages/tap_airbyte/.venv-airbyte-source-linkedin-ads/lib/python3.10/site-packages/source_linkedin_ads/source.py\", line 22, in __init__\n super().__init__(catalog=catalog, config=config, state=state, **{\"path_to_yaml\": \"manifest.yaml\"})\n File \"/Users/adi/src/github.com/foo/data-warehouse/meltano/data_warehouse/.meltano/extractors/tap-linkedin-ads/venv/lib/python3.10/site-packages/tap_airbyte/.venv-airbyte-source-linkedin-ads/lib/python3.10/site-packages/airbyte_cdk/sources/declarative/yaml_declarative_source.py\", line 34, in __init__\n super().__init__(\n File \"/Users/adi/src/github.com/foo/data-warehouse/meltano/data_warehouse/.meltano/extractors/tap-linkedin-ads/venv/lib/python3.10/site-packages/tap_airbyte/.venv-airbyte-source-linkedin-ads/lib/python3.10/site-packages/airbyte_cdk/sources/declarative/concurrent_declarative_source.py\", line 89, in __init__\n super().__init__(\n File \"/Users/adi/src/github.com/foo/data-warehouse/meltano/data_warehouse/.meltano/extractors/tap-linkedin-ads/venv/lib/python3.10/site-packages/tap_airbyte/.venv-airbyte-source-linkedin-ads/lib/python3.10/site-packages/airbyte_cdk/sources/declarative/manifest_declarative_source.py\", line 109, in __init__\n self._validate_source()\n File \"/Users/adi/src/github.com/foo/data-warehouse/meltano/data_warehouse/.meltano/extractors/tap-linkedin-ads/venv/lib/python3.10/site-packages/tap_airbyte/.venv-airbyte-source-linkedin-ads/lib/python3.10/site-packages/airbyte_cdk/sources/declarative/manifest_declarative_source.py\", line 289, in _validate_source\n raise ValidationError(\njsonschema.exceptions.ValidationError: Validation against json schema defined in declarative_component_schema.yaml schema failed\n\nTraceback (most recent call last):\n File \"/Users/adi/src/github.com/foo/data-warehouse/meltano/data_warehouse/.meltano/extractors/tap-linkedin-ads/venv/bin/tap-airbyte\", line 8, in <module>\n sys.exit(TapAirbyte.cli())\n File \"/Users/adi/src/github.com/foo/data-warehouse/meltano/data_warehouse/.meltano/extractors/tap-linkedin-ads/venv/lib/python3.10/site-packages/click/core.py\", line 1161, in __call__\n return self.main(*args, **kwargs)\n File \"/Users/adi/src/github.com/foo/data-warehouse/meltano/data_warehouse/.meltano/extractors/tap-linkedin-ads/venv/lib/python3.10/site-packages/click/core.py\", line 1082, in main\n rv = self.invoke(ctx)\n File \"/Users/adi/src/github.com/foo/data-warehouse/meltano/data_warehouse/.meltano/extractors/tap-linkedin-ads/venv/lib/python3.10/site-packages/click/core.py\", line 1443, in invoke\n return ctx.invoke(self.callback, **ctx.params)\n File \"/Users/adi/src/github.com/foo/data-warehouse/meltano/data_warehouse/.meltano/extractors/tap-linkedin-ads/venv/lib/python3.10/site-packages/click/core.py\", line 788, in invoke\n return __callback(*args, **kwargs)\n File \"/Users/adi/src/github.com/foo/data-warehouse/meltano/data_warehouse/.meltano/extractors/tap-linkedin-ads/venv/lib/python3.10/site-packages/tap_airbyte/tap.py\", line 286, in cli\n tap: TapAirbyte = cls( # type: ignore\n File \"/Users/adi/src/github.com/foo/data-warehouse/meltano/data_warehouse/.meltano/extractors/tap-linkedin-ads/venv/lib/python3.10/site-packages/singer_sdk/tap_base.py\", line 109, in __init__\n self.setup_mapper()\n File \"/Users/adi/src/github.com/foo/data-warehouse/meltano/data_warehouse/.meltano/extractors/tap-linkedin-ads/venv/lib/python3.10/site-packages/singer_sdk/tap_base.py\", line 179, in setup_mapper\n self.mapper.register_raw_streams_from_catalog(self.catalog)\n File \"/Users/adi/src/github.com/foo/data-warehouse/meltano/data_warehouse/.meltano/extractors/tap-linkedin-ads/venv/lib/python3.10/site-packages/singer_sdk/tap_base.py\", line 172, in catalog\n self._catalog = self.input_catalog or self._singer_catalog\n File \"/Users/adi/src/github.com/foo/data-warehouse/meltano/data_warehouse/.meltano/extractors/tap-linkedin-ads/venv/lib/python3.10/site-packages/singer_sdk/tap_base.py\", line 325, in _singer_catalog\n for stream in self.streams.values()\n File \"/Users/adi/src/github.com/foo/data-warehouse/meltano/data_warehouse/.meltano/extractors/tap-linkedin-ads/venv/lib/python3.10/site-packages/singer_sdk/tap_base.py\", line 134, in streams\n for stream in self.load_streams():\n File \"/Users/adi/src/github.com/foo/data-warehouse/meltano/data_warehouse/.meltano/extractors/tap-linkedin-ads/venv/lib/python3.10/site-packages/singer_sdk/tap_base.py\", line 358, in load_streams\n for stream in self.discover_streams():\n File \"/Users/adi/src/github.com/foo/data-warehouse/meltano/data_warehouse/.meltano/extractors/tap-linkedin-ads/venv/lib/python3.10/site-packages/tap_airbyte/tap.py\", line 886, in discover_streams\n for stream in self.airbyte_catalog[\"streams\"]:\n File \"/Users/adi/src/github.com/foo/data-warehouse/meltano/data_warehouse/.meltano/extractors/tap-linkedin-ads/venv/lib/python3.10/site-packages/tap_airbyte/tap.py\", line 715, in airbyte_catalog\n self._process_log_message(message)\n File \"/Users/adi/src/github.com/foo/data-warehouse/meltano/data_warehouse/.meltano/extractors/tap-linkedin-ads/venv/lib/python3.10/site-packages/tap_airbyte/tap.py\", line 637, in _process_log_message\n raise exc\ntap_airbyte.tap.AirbyteException: Traceback (most recent call last):\n File \"/Users/adi/src/github.com/foo/data-warehouse/meltano/data_warehouse/.meltano/extractors/tap-linkedin-ads/venv/lib/python3.10/site-packages/tap_airbyte/.venv-airbyte-source-linkedin-ads/lib/python3.10/site-packages/airbyte_cdk/sources/declarative/manifest_declarative_source.py\", line 287, in _validate_source\n validate(self._source_config, declarative_component_schema)\n File \"/Users/adi/src/github.com/foo/data-warehouse/meltano/data_warehouse/.meltano/extractors/tap-linkedin-ads/venv/lib/python3.10/site-packages/tap_airbyte/.venv-airbyte-source-linkedin-ads/lib/python3.10/site-packages/jsonschema/validators.py\", line 1121, in validate\n raise error\njsonschema.exceptions.ValidationError: {'type': 'ConfigComponentsResolver', 'stream_config': {'type': 'StreamConfig', 'configs_pointer': ['ad_analytics_reports']}, 'components_mapping': [{'type': 'ComponentMappingDefinition', 'field_path': ['**', 'name'], 'value': \"custom_{{components_values['name']}}\"}, {'type': 'ComponentMappingDefinition', 'field_path': ['retriever', 'requester', 'request_parameters', 'pivot'], 'value': \"(value:{{components_values['pivot_by']}})\"}, {'type': 'ComponentMappingDefinition', 'field_path': ['retriever', 'requester', 'request_parameters', 'timeGranularity'], 'value': \"(value:{{components_values['time_granularity']}})\"}, {'type': 'ComponentMappingDefinition', 'field_path': ['retriever', 'record_selector', '**', 'transformations', 1, 'fields', 0, 'value'], 'value': \"{{components_values['pivot_by']}}\"}]} is not valid under any of the given schemas\n\nFailed validating 'anyOf' in schema['properties']['dynamic_streams']['items']['properties']['components_resolver']:\n {'anyOf': [{'$ref': '#/definitions/HttpComponentsResolver'},\n {'$ref': '#/definitions/ConfigComponentsResolver'}],\n 'description': 'Component resolve and populates stream templates with '\n 'components values.',\n 'title': 'Components Resolver'}\n\nOn instance['dynamic_streams'][0]['components_resolver']:\n {'components_mapping': [{'field_path': ['**', 'name'],\n 'type': 'ComponentMappingDefinition',\n 'value': \"custom_{{components_values['name']}}\"},\n {'field_path': ['retriever',\n 'requester',\n 'request_parameters',\n 'pivot'],\n 'type': 'ComponentMappingDefinition',\n 'value': \"(value:{{components_values['pivot_by']}})\"},\n {'field_path': ['retriever',\n 'requester',\n 'request_parameters',\n 'timeGranularity'],\n 'type': 'ComponentMappingDefinition',\n 'value': \"(value:{{components_values['time_granularity']}})\"},\n {'field_path': ['retriever',\n 'record_selector',\n '**',\n 'transformations',\n 1,\n 'fields',\n 0,\n 'value'],\n 'type': 'ComponentMappingDefinition',\n 'value': \"{{components_values['pivot_by']}}\"}],\n 'stream_config': {'configs_pointer': ['ad_analytics_reports'],\n 'type': 'StreamConfig'},\n 'type': 'ConfigComponentsResolver'}\n\nThe above exception was the direct cause of the following exception:\n\nTraceback (most recent call last):\n File \"/Users/adi/src/github.com/foo/data-warehouse/meltano/data_warehouse/.meltano/extractors/tap-linkedin-ads/venv/lib/python3.10/site-packages/tap_airbyte/.venv-airbyte-source-linkedin-ads/lib/python3.10/site-packages/source_linkedin_ads/run.py\", line 24, in _get_source\n return SourceLinkedinAds(\n File \"/Users/adi/src/github.com/foo/data-warehouse/meltano/data_warehouse/.meltano/extractors/tap-linkedin-ads/venv/lib/python3.10/site-packages/tap_airbyte/.venv-airbyte-source-linkedin-ads/lib/python3.10/site-packages/source_linkedin_ads/source.py\", line 22, in __init__\n super().__init__(catalog=catalog, config=config, state=state, **{\"path_to_yaml\": \"manifest.yaml\"})\n File \"/Users/adi/src/github.com/foo/data-warehouse/meltano/data_warehouse/.meltano/extractors/tap-linkedin-ads/venv/lib/python3.10/site-packages/tap_airbyte/.venv-airbyte-source-linkedin-ads/lib/python3.10/site-packages/airbyte_cdk/sources/declarative/yaml_declarative_source.py\", line 34, in __init__\n super().__init__(\n File \"/Users/adi/src/github.com/foo/data-warehouse/meltano/data_warehouse/.meltano/extractors/tap-linkedin-ads/venv/lib/python3.10/site-packages/tap_airbyte/.venv-airbyte-source-linkedin-ads/lib/python3.10/site-packages/airbyte_cdk/sources/declarative/concurrent_declarative_source.py\", line 89, in __init__\n super().__init__(\n File \"/Users/adi/src/github.com/foo/data-warehouse/meltano/data_warehouse/.meltano/extractors/tap-linkedin-ads/venv/lib/python3.10/site-packages/tap_airbyte/.venv-airbyte-source-linkedin-ads/lib/python3.10/site-packages/airbyte_cdk/sources/declarative/manifest_declarative_source.py\", line 109, in __init__\n self._validate_source()\n File \"/Users/adi/src/github.com/foo/data-warehouse/meltano/data_warehouse/.meltano/extractors/tap-linkedin-ads/venv/lib/python3.10/site-packages/tap_airbyte/.venv-airbyte-source-linkedin-ads/lib/python3.10/site-packages/airbyte_cdk/sources/declarative/manifest_declarative_source.py\", line 289, in _validate_source\n raise ValidationError(\njsonschema.exceptions.ValidationError: Validation against json schema defined in declarative_component_schema.yaml schema failed\n\n", "level": "error", "timestamp": "2025-03-20T14:44:28.945830Z"} {"set_number": 0, "block_type": "ExtractLoadBlocks", "success": false, "err": "RunnerError('Cannot start plugin tap-linkedin-ads-slowly-changing-dimensions: Catalog discovery failed: command [\\'/Users/adi/src/github.com/foo/data-warehouse/meltano/data_warehouse/.meltano/extractors/tap-linkedin-ads/venv/bin/tap-airbyte\\', \\'--config\\', \\'/Users/adi/src/github.com/foo/data-warehouse/meltano/data_warehouse/.meltano/run/tap-linkedin-ads-slowly-changing-dimensions/tap.e85a0fb2-f9c7-4e2e-8c08-bb821076db8b.config.json\\', \\'--state\\', \\'/Users/adi/src/github.com/foo/data-warehouse/meltano/data_warehouse/.meltano/run/tap-linkedin-ads-slowly-changing-dimensions/state.json\\', \\'--discover\\'] returned 1 with stderr:\\n 2025-03-20 09:44:26,974 | INFO | tap-airbyte | Virtual environment for source already exists.\\n2025-03-20 09:44:27,235 | INFO | tap-airbyte | pip check results: No broken requirements found.\\n\\n2025-03-20 09:44:28,875 | CRITICAL | tap-airbyte | Error starting the sync. This could be due to an invalid configuration or catalog. Please contact Support for assistance. Error: Validation against json schema defined in declarative_component_schema.yaml schema failed\\ntap_airbyte.tap.AirbyteException: Traceback (most recent call last):\\n File \"/Users/adi/src/github.com/foo/data-warehouse/meltano/data_warehouse/.meltano/extractors/tap-linkedin-ads/venv/lib/python3.10/site-packages/tap_airbyte/.venv-airbyte-source-linkedin-ads/lib/python3.10/site-packages/airbyte_cdk/sources/declarative/manifest_declarative_source.py\", line 287, in _validate_source\\n validate(self._source_config, declarative_component_schema)\\n File \"/Users/adi/src/github.com/foo/data-warehouse/meltano/data_warehouse/.meltano/extractors/tap-linkedin-ads/venv/lib/python3.10/site-packages/tap_airbyte/.venv-airbyte-source-linkedin-ads/lib/python3.10/site-packages/jsonschema/validators.py\", line 1121, in validate\\n raise error\\njsonschema.exceptions.ValidationError: {\\'type\\': \\'ConfigComponentsResolver\\', \\'stream_config\\': {\\'type\\': \\'StreamConfig\\', \\'configs_pointer\\': [\\'ad_analytics_reports\\']}, \\'components_mapping\\': [{\\'type\\': \\'ComponentMappingDefinition\\', \\'field_path\\': [\\'**\\', \\'name\\'], \\'value\\': \"custom_{{components_values[\\'name\\']}}\"}, {\\'type\\': \\'ComponentMappingDefinition\\', \\'field_path\\': [\\'retriever\\', \\'requester\\', \\'request_parameters\\', \\'pivot\\'], \\'value\\': \"(value:{{components_values[\\'pivot_by\\']}})\"}, {\\'type\\': \\'ComponentMappingDefinition\\', \\'field_path\\': [\\'retriever\\', \\'requester\\', \\'request_parameters\\', \\'timeGranularity\\'], \\'value\\': \"(value:{{components_values[\\'time_granularity\\']}})\"}, {\\'type\\': \\'ComponentMappingDefinition\\', \\'field_path\\': [\\'retriever\\', \\'record_selector\\', \\'**\\', \\'transformations\\', 1, \\'fields\\', 0, \\'value\\'], \\'value\\': \"{{components_values[\\'pivot_by\\']}}\"}]} is not valid under any of the given schemas\\n\\nFailed validating \\'anyOf\\' in schema[\\'properties\\'][\\'dynamic_streams\\'][\\'items\\'][\\'properties\\'][\\'components_resolver\\']:\\n {\\'anyOf\\': [{\\'$ref\\': \\'#/definitions/HttpComponentsResolver\\'},\\n {\\'$ref\\': \\'#/definitions/ConfigComponentsResolver\\'}],\\n \\'description\\': \\'Component resolve and populates stream templates with \\'\\n \\'components values.\\',\\n \\'title\\': \\'Components Resolver\\'}\\n\\nOn instance[\\'dynamic_streams\\'][0][\\'components_resolver\\']:\\n {\\'components_mapping\\': [{\\'field_path\\': [\\'**\\', \\'name\\'],\\n \\'type\\': \\'ComponentMappingDefinition\\',\\n \\'value\\': \"custom_{{components_values[\\'name\\']}}\"},\\n {\\'field_path\\': [\\'retriever\\',\\n \\'requester\\',\\n \\'request_parameters\\',\\n \\'pivot\\'],\\n \\'type\\': \\'ComponentMappingDefinition\\',\\n \\'value\\': \"(value:{{components_values[\\'pivot_by\\']}})\"},\\n {\\'field_path\\': [\\'retriever\\',\\n \\'requester\\',\\n \\'request_parameters\\',\\n \\'timeGranularity\\'],\\n \\'type\\': \\'ComponentMappingDefinition\\',\\n \\'value\\': \"(value:{{components_values[\\'time_granularity\\']}})\"},\\n {\\'field_path\\': [\\'retriever\\',\\n \\'record_selector\\',\\n \\'**\\',\\n \\'transformations\\',\\n 1,\\n \\'fields\\',\\n 0,\\n \\'value\\'],\\n \\'type\\': \\'ComponentMappingDefinition\\',\\n \\'value\\': \"{{components_values[\\'pivot_by\\']}}\"}],\\n \\'stream_config\\': {\\'configs_pointer\\': [\\'ad_analytics_reports\\'],\\n \\'type\\': \\'StreamConfig\\'},\\n \\'type\\': \\'ConfigComponentsResolver\\'}\\n\\nThe above exception was the direct cause of the following exception:\\n\\nTraceback (most recent call last):\\n File \"/Users/adi/src/github.com/foo/data-warehouse/meltano/data_warehouse/.meltano/extractors/tap-linkedin-ads/venv/lib/python3.10/site-packages/tap_airbyte/.venv-airbyte-source-linkedin-ads/lib/python3.10/site-packages/source_linkedin_ads/run.py\", line 24, in _get_source\\n return SourceLinkedinAds(\\n File \"/Users/adi/src/github.com/foo/data-warehouse/meltano/data_warehouse/.meltano/extractors/tap-linkedin-ads/venv/lib/python3.10/site-packages/tap_airbyte/.venv-airbyte-source-linkedin-ads/lib/python3.10/site-packages/source_linkedin_ads/source.py\", line 22, in __init__\\n super().__init__(catalog=catalog, config=config, state=state, **{\"path_to_yaml\": \"manifest.yaml\"})\\n File \"/Users/adi/src/github.com/foo/data-warehouse/meltano/data_warehouse/.meltano/extractors/tap-linkedin-ads/venv/lib/python3.10/site-packages/tap_airbyte/.venv-airbyte-source-linkedin-ads/lib/python3.10/site-packages/airbyte_cdk/sources/declarative/yaml_declarative_source.py\", line 34, in __init__\\n super().__init__(\\n File \"/Users/adi/src/github.com/foo/data-warehouse/meltano/data_warehouse/.meltano/extractors/tap-linkedin-ads/venv/lib/python3.10/site-packages/tap_airbyte/.venv-airbyte-source-linkedin-ads/lib/python3.10/site-packages/airbyte_cdk/sources/declarative/concurrent_declarative_source.py\", line 89, in __init__\\n super().__init__(\\n File \"/Users/adi/src/github.com/foo/data-warehouse/meltano/data_warehouse/.meltano/extractors/tap-linkedin-ads/venv/lib/python3.10/site-packages/tap_airbyte/.venv-airbyte-source-linkedin-ads/lib/python3.10/site-packages/airbyte_cdk/sources/declarative/manifest_declarative_source.py\", line 109, in __init__\\n self._validate_source()\\n File \"/Users/adi/src/github.com/foo/data-warehouse/meltano/data_warehouse/.meltano/extractors/tap-linkedin-ads/venv/lib/python3.10/site-packages/tap_airbyte/.venv-airbyte-source-linkedin-ads/lib/python3.10/site-packages/airbyte_cdk/sources/declarative/manifest_declarative_source.py\", line 289, in _validate_source\\n raise ValidationError(\\njsonschema.exceptions.ValidationError: Validation against json schema defined in declarative_component_schema.yaml schema failed\\n\\nTraceback (most recent call last):\\n File \"/Users/adi/src/github.com/foo/data-warehouse/meltano/data_warehouse/.meltano/extractors/tap-linkedin-ads/venv/bin/tap-airbyte\", line 8, in <module>\\n sys.exit(TapAirbyte.cli())\\n File \"/Users/adi/src/github.com/foo/data-warehouse/meltano/data_warehouse/.meltano/extractors/tap-linkedin-ads/venv/lib/python3.10/site-packages/click/core.py\", line 1161, in __call__\\n return self.main(*args, **kwargs)\\n File \"/Users/adi/src/github.com/foo/data-warehouse/meltano/data_warehouse/.meltano/extractors/tap-linkedin-ads/venv/lib/python3.10/site-packages/click/core.py\", line 1082, in main\\n rv = self.invoke(ctx)\\n File \"/Users/adi/src/github.com/foo/data-warehouse/meltano/data_warehouse/.meltano/extractors/tap-linkedin-ads/venv/lib/python3.10/site-packages/click/core.py\", line 1443, in invoke\\n return ctx.invoke(self.callback, **ctx.params)\\n File \"/Users/adi/src/github.com/foo/data-warehouse/meltano/data_warehouse/.meltano/extractors/tap-linkedin-ads/venv/lib/python3.10/site-packages/click/core.py\", line 788, in invoke\\n return __callback(*args, **kwargs)\\n File \"/Users/adi/src/github.com/foo/data-warehouse/meltano/data_warehouse/.meltano/extractors/tap-linkedin-ads/venv/lib/python3.10/site-packages/tap_airbyte/tap.py\", line 286, in cli\\n tap: TapAirbyte = cls( # type: ignore\\n File \"/Users/adi/src/github.com/foo/data-warehouse/meltano/data_warehouse/.meltano/extractors/tap-linkedin-ads/venv/lib/python3.10/site-packages/singer_sdk/tap_base.py\", line 109, in __init__\\n self.setup_mapper()\\n File \"/Users/adi/src/github.com/foo/data-warehouse/meltano/data_warehouse/.meltano/extractors/tap-linkedin-ads/venv/lib/python3.10/site-packages/singer_sdk/tap_base.py\", line 179, in setup_mapper\\n self.mapper.register_raw_streams_from_catalog(self.catalog)\\n File \"/Users/adi/src/github.com/foo/data-warehouse/meltano/data_warehouse/.meltano/extractors/tap-linkedin-ads/venv/lib/python3.10/site-packages/singer_sdk/tap_base.py\", line 172, in catalog\\n self._catalog = self.input_catalog or self._singer_catalog\\n File \"/Users/adi/src/github.com/foo/data-warehouse/meltano/data_warehouse/.meltano/extractors/tap-linkedin-ads/venv/lib/python3.10/site-packages/singer_sdk/tap_base.py\", line 325, in _singer_catalog\\n for stream in self.streams.values()\\n File \"/Users/adi/src/github.com/foo/data-warehouse/meltano/data_warehouse/.meltano/extractors/tap-linkedin-ads/venv/lib/python3.10/site-packages/singer_sdk/tap_base.py\", line 134, in streams\\n for stream in self.load_streams():\\n File \"/Users/adi/src/github.com/foo/data-warehouse/meltano/data_warehouse/.meltano/extractors/tap-linkedin-ads/venv/lib/python3.10/site-packages/singer_sdk/tap_base.py\", line 358, in load_streams\\n for stream in self.discover_streams():\\n File \"/Users/adi/src/github.com/foo/data-warehouse/meltano/data_warehouse/.meltano/extractors/tap-linkedin-ads/venv/lib/python3.10/site-packages/tap_airbyte/tap.py\", line 886, in discover_streams\\n for stream in self.airbyte_catalog[\"streams\"]:\\n File \"/Users/adi/src/github.com/foo/data-warehouse/meltano/data_warehouse/.meltano/extractors/tap-linkedin-ads/venv/lib/python3.10/site-packages/tap_airbyte/tap.py\", line 715, in airbyte_catalog\\n self._process_log_message(message)\\n File \"/Users/adi/src/github.com/foo/data-warehouse/meltano/data_warehouse/.meltano/extractors/tap-linkedin-ads/venv/lib/python3.10/site-packages/tap_airbyte/tap.py\", line 637, in _process_log_message\\n raise exc\\ntap_airbyte.tap.AirbyteException: Traceback (most recent call last):\\n File \"/Users/adi/src/github.com/foo/data-warehouse/meltano/data_warehouse/.meltano/extractors/tap-linkedin-ads/venv/lib/python3.10/site-packages/tap_airbyte/.venv-airbyte-source-linkedin-ads/lib/python3.10/site-packages/airbyte_cdk/sources/declarative/manifest_declarative_source.py\", line 287, in _validate_source\\n validate(self._source_config, declarative_component_schema)\\n File \"/Users/adi/src/github.com/foo/data-warehouse/meltano/data_warehouse/.meltano/extractors/tap-linkedin-ads/venv/lib/python3.10/site-packages/tap_airbyte/.venv-airbyte-source-linkedin-ads/lib/python3.10/site-packages/jsonschema/validators.py\", line 1121, in validate\\n raise error\\njsonschema.exceptions.ValidationError: {\\'type\\': \\'ConfigComponentsResolver\\', \\'stream_config\\': {\\'type\\': \\'StreamConfig\\', \\'configs_pointer\\': [\\'ad_analytics_reports\\']}, \\'components_mapping\\': [{\\'type\\': \\'ComponentMappingDefinition\\', \\'field_path\\': [\\'**\\', \\'name\\'], \\'value\\': \"custom_{{components_values[\\'name\\']}}\"}, {\\'type\\': \\'ComponentMappingDefinition\\', \\'field_path\\': [\\'retriever\\', \\'requester\\', \\'request_parameters\\', \\'pivot\\'], \\'value\\': \"(value:{{components_values[\\'pivot_by\\']}})\"}, {\\'type\\': \\'ComponentMappingDefinition\\', \\'field_path\\': [\\'retriever\\', \\'requester\\', \\'request_parameters\\', \\'timeGranularity\\'], \\'value\\': \"(value:{{components_values[\\'time_granularity\\']}})\"}, {\\'type\\': \\'ComponentMappingDefinition\\', \\'field_path\\': [\\'retriever\\', \\'record_selector\\', \\'**\\', \\'transformations\\', 1, \\'fields\\', 0, \\'value\\'], \\'value\\': \"{{components_values[\\'pivot_by\\']}}\"}]} is not valid under any of the given schemas\\n\\nFailed validating \\'anyOf\\' in schema[\\'properties\\'][\\'dynamic_streams\\'][\\'items\\'][\\'properties\\'][\\'components_resolver\\']:\\n {\\'anyOf\\': [{\\'$ref\\': \\'#/definitions/HttpComponentsResolver\\'},\\n {\\'$ref\\': \\'#/definitions/ConfigComponentsResolver\\'}],\\n \\'description\\': \\'Component resolve and populates stream templates with \\'\\n \\'components values.\\',\\n \\'title\\': \\'Components Resolver\\'}\\n\\nOn instance[\\'dynamic_streams\\'][0][\\'components_resolver\\']:\\n {\\'components_mapping\\': [{\\'field_path\\': [\\'**\\', \\'name\\'],\\n \\'type\\': \\'ComponentMappingDefinition\\',\\n \\'value\\': \"custom_{{components_values[\\'name\\']}}\"},\\n {\\'field_path\\': [\\'retriever\\',\\n \\'requester\\',\\n \\'request_parameters\\',\\n \\'pivot\\'],\\n \\'type\\': \\'ComponentMappingDefinition\\',\\n \\'value\\': \"(value:{{components_values[\\'pivot_by\\']}})\"},\\n {\\'field_path\\': [\\'retriever\\',\\n \\'requester\\',\\n \\'request_parameters\\',\\n \\'timeGranularity\\'],\\n \\'type\\': \\'ComponentMappingDefinition\\',\\n \\'value\\': \"(value:{{components_values[\\'time_granularity\\']}})\"},\\n {\\'field_path\\': [\\'retriever\\',\\n \\'record_selector\\',\\n \\'**\\',\\n \\'transformations\\',\\n 1,\\n \\'fields\\',\\n 0,\\n \\'value\\'],\\n \\'type\\': \\'ComponentMappingDefinition\\',\\n \\'value\\': \"{{components_values[\\'pivot_by\\']}}\"}],\\n \\'stream_config\\': {\\'configs_pointer\\': [\\'ad_analytics_reports\\'],\\n \\'type\\': \\'StreamConfig\\'},\\n \\'type\\': \\'ConfigComponentsResolver\\'}\\n\\nThe above exception was the direct cause of the following exception:\\n\\nTraceback (most recent call last):\\n File \"/Users/adi/src/github.com/foo/data-warehouse/meltano/data_warehouse/.meltano/extractors/tap-linkedin-ads/venv/lib/python3.10/site-packages/tap_airbyte/.venv-airbyte-source-linkedin-ads/lib/python3.10/site-packages/source_linkedin_ads/run.py\", line 24, in _get_source\\n return SourceLinkedinAds(\\n File \"/Users/adi/src/github.com/foo/data-warehouse/meltano/data_warehouse/.meltano/extractors/tap-linkedin-ads/venv/lib/python3.10/site-packages/tap_airbyte/.venv-airbyte-source-linkedin-ads/lib/python3.10/site-packages/source_linkedin_ads/source.py\", line 22, in __init__\\n super().__init__(catalog=catalog, config=config, state=state, **{\"path_to_yaml\": \"manifest.yaml\"})\\n File \"/Users/adi/src/github.com/foo/data-warehouse/meltano/data_warehouse/.meltano/extractors/tap-linkedin-ads/venv/lib/python3.10/site-packages/tap_airbyte/.venv-airbyte-source-linkedin-ads/lib/python3.10/site-packages/airbyte_cdk/sources/declarative/yaml_declarative_source.py\", line 34, in __init__\\n super().__init__(\\n File \"/Users/adi/src/github.com/foo/data-warehouse/meltano/data_warehouse/.meltano/extractors/tap-linkedin-ads/venv/lib/python3.10/site-packages/tap_airbyte/.venv-airbyte-source-linkedin-ads/lib/python3.10/site-packages/airbyte_cdk/sources/declarative/concurrent_declarative_source.py\", line 89, in __init__\\n super().__init__(\\n File \"/Users/adi/src/github.com/foo/data-warehouse/meltano/data_warehouse/.meltano/extractors/tap-linkedin-ads/venv/lib/python3.10/site-packages/tap_airbyte/.venv-airbyte-source-linkedin-ads/lib/python3.10/site-packages/airbyte_cdk/sources/declarative/manifest_declarative_source.py\", line 109, in __init__\\n self._validate_source()\\n File \"/Users/adi/src/github.com/foo/data-warehouse/meltano/data_warehouse/.meltano/extractors/tap-linkedin-ads/venv/lib/python3.10/site-packages/tap_airbyte/.venv-airbyte-source-linkedin-ads/lib/python3.10/site-packages/airbyte_cdk/sources/declarative/manifest_declarative_source.py\", line 289, in _validate_source\\n raise ValidationError(\\njsonschema.exceptions.ValidationError: Validation against json schema defined in declarative_component_schema.yaml schema failed\\n\\n')", "exit_codes": {}, "event": "Block run completed.", "level": "error", "timestamp": "2025-03-20T14:44:28.946487Z"} Need help fixing this problem? Visit http://melta.no/ for troubleshooting steps, or to join our friendly Slack community. Run invocation could not be completed as block failed: Cannot start plugin tap-linkedin-ads-slowly-changing-dimensions: Catalog discovery failed: command ['/Users/adi/src/github.com/foo/data-warehouse/meltano/data_warehouse/.meltano/extractors/tap-linkedin-ads/venv/bin/tap-airbyte', '--config', '/Users/adi/src/github.com/foo/data-warehouse/meltano/data_warehouse/.meltano/run/tap-linkedin-ads-slowly-changing-dimensions/tap.e85a0fb2-f9c7-4e2e-8c08-bb821076db8b.config.json', '--state', '/Users/adi/src/github.com/foo/data-warehouse/meltano/data_warehouse/.meltano/run/tap-linkedin-ads-slowly-changing-dimensions/state.json', '--discover'] returned 1 with stderr: 2025-03-20 09:44:26,974 | INFO | tap-airbyte | Virtual environment for source already exists. 2025-03-20 09:44:27,235 | INFO | tap-airbyte | pip check results: No broken requirements found. 2025-03-20 09:44:28,875 | CRITICAL | tap-airbyte | Error starting the sync. This could be due to an invalid configuration or catalog. Please contact Support for assistance. Error: Validation against json schema defined in declarative_component_schema.yaml schema failed tap_airbyte.tap.AirbyteException: Traceback (most recent call last): File "/Users/adi/src/github.com/foo/data-warehouse/meltano/data_warehouse/.meltano/extractors/tap-linkedin-ads/venv/lib/python3.10/site-packages/tap_airbyte/.venv-airbyte-source-linkedin-ads/lib/python3.10/site-packages/airbyte_cdk/sources/declarative/manifest_declarative_source.py", line 287, in _validate_source validate(self._source_config, declarative_component_schema) File "/Users/adi/src/github.com/foo/data-warehouse/meltano/data_warehouse/.meltano/extractors/tap-linkedin-ads/venv/lib/python3.10/site-packages/tap_airbyte/.venv-airbyte-source-linkedin-ads/lib/python3.10/site-packages/jsonschema/validators.py", line 1121, in validate raise error jsonschema.exceptions.ValidationError: {'type': 'ConfigComponentsResolver', 'stream_config': {'type': 'StreamConfig', 'configs_pointer': ['ad_analytics_reports']}, 'components_mapping': [{'type': 'ComponentMappingDefinition', 'field_path': ['**', 'name'], 'value': "custom_{{components_values['name']}}"}, {'type': 'ComponentMappingDefinition', 'field_path': ['retriever', 'requester', 'request_parameters', 'pivot'], 'value': "(value:{{components_values['pivot_by']}})"}, {'type': 'ComponentMappingDefinition', 'field_path': ['retriever', 'requester', 'request_parameters', 'timeGranularity'], 'value': "(value:{{components_values['time_granularity']}})"}, {'type': 'ComponentMappingDefinition', 'field_path': ['retriever', 'record_selector', '**', 'transformations', 1, 'fields', 0, 'value'], 'value': "{{components_values['pivot_by']}}"}]} is not valid under any of the given schemas Failed validating 'anyOf' in schema['properties']['dynamic_streams']['items']['properties']['components_resolver']: {'anyOf': [{'$ref': '#/definitions/HttpComponentsResolver'}, {'$ref': '#/definitions/ConfigComponentsResolver'}], 'description': 'Component resolve and populates stream templates with ' 'components values.', 'title': 'Components Resolver'} On instance['dynamic_streams'][0]['components_resolver']: {'components_mapping': [{'field_path': ['**', 'name'], 'type': 'ComponentMappingDefinition', 'value': "custom_{{components_values['name']}}"}, {'field_path': ['retriever', 'requester', 'request_parameters', 'pivot'], 'type': 'ComponentMappingDefinition', 'value': "(value:{{components_values['pivot_by']}})"}, {'field_path': ['retriever', 'requester', 'request_parameters', 'timeGranularity'], 'type': 'ComponentMappingDefinition', 'value': "(value:{{components_values['time_granularity']}})"}, {'field_path': ['retriever', 'record_selector', '**', 'transformations', 1, 'fields', 0, 'value'], 'type': 'ComponentMappingDefinition', 'value': "{{components_values['pivot_by']}}"}], 'stream_config': {'configs_pointer': ['ad_analytics_reports'], 'type': 'StreamConfig'}, 'type': 'ConfigComponentsResolver'} The above exception was the direct cause of the following exception: Traceback (most recent call last): File "/Users/adi/src/github.com/foo/data-warehouse/meltano/data_warehouse/.meltano/extractors/tap-linkedin-ads/venv/lib/python3.10/site-packages/tap_airbyte/.venv-airbyte-source-linkedin-ads/lib/python3.10/site-packages/source_linkedin_ads/run.py", line 24, in _get_source return SourceLinkedinAds( File "/Users/adi/src/github.com/foo/data-warehouse/meltano/data_warehouse/.meltano/extractors/tap-linkedin-ads/venv/lib/python3.10/site-packages/tap_airbyte/.venv-airbyte-source-linkedin-ads/lib/python3.10/site-packages/source_linkedin_ads/source.py", line 22, in __init__ super().__init__(catalog=catalog, config=config, state=state, **{"path_to_yaml": "manifest.yaml"}) File "/Users/adi/src/github.com/foo/data-warehouse/meltano/data_warehouse/.meltano/extractors/tap-linkedin-ads/venv/lib/python3.10/site-packages/tap_airbyte/.venv-airbyte-source-linkedin-ads/lib/python3.10/site-packages/airbyte_cdk/sources/declarative/yaml_declarative_source.py", line 34, in __init__ super().__init__( File "/Users/adi/src/github.com/foo/data-warehouse/meltano/data_warehouse/.meltano/extractors/tap-linkedin-ads/venv/lib/python3.10/site-packages/tap_airbyte/.venv-airbyte-source-linkedin-ads/lib/python3.10/site-packages/airbyte_cdk/sources/declarative/concurrent_declarative_source.py", line 89, in __init__ super().__init__( File "/Users/adi/src/github.com/foo/data-warehouse/meltano/data_warehouse/.meltano/extractors/tap-linkedin-ads/venv/lib/python3.10/site-packages/tap_airbyte/.venv-airbyte-source-linkedin-ads/lib/python3.10/site-packages/airbyte_cdk/sources/declarative/manifest_declarative_source.py", line 109, in __init__ self._validate_source() File "/Users/adi/src/github.com/foo/data-warehouse/meltano/data_warehouse/.meltano/extractors/tap-linkedin-ads/venv/lib/python3.10/site-packages/tap_airbyte/.venv-airbyte-source-linkedin-ads/lib/python3.10/site-packages/airbyte_cdk/sources/declarative/manifest_declarative_source.py", line 289, in _validate_source raise ValidationError( jsonschema.exceptions.ValidationError: Validation against json schema defined in declarative_component_schema.yaml schema failed Traceback (most recent call last): File "/Users/adi/src/github.com/foo/data-warehouse/meltano/data_warehouse/.meltano/extractors/tap-linkedin-ads/venv/bin/tap-airbyte", line 8, in <module> sys.exit(TapAirbyte.cli()) File "/Users/adi/src/github.com/foo/data-warehouse/meltano/data_warehouse/.meltano/extractors/tap-linkedin-ads/venv/lib/python3.10/site-packages/click/core.py", line 1161, in __call__ return self.main(*args, **kwargs) File "/Users/adi/src/github.com/foo/data-warehouse/meltano/data_warehouse/.meltano/extractors/tap-linkedin-ads/venv/lib/python3.10/site-packages/click/core.py", line 1082, in main rv = self.invoke(ctx) File "/Users/adi/src/github.com/foo/data-warehouse/meltano/data_warehouse/.meltano/extractors/tap-linkedin-ads/venv/lib/python3.10/site-packages/click/core.py", line 1443, in invoke return ctx.invoke(self.callback, **ctx.params) File "/Users/adi/src/github.com/foo/data-warehouse/meltano/data_warehouse/.meltano/extractors/tap-linkedin-ads/venv/lib/python3.10/site-packages/click/core.py", line 788, in invoke return __callback(*args, **kwargs) File "/Users/adi/src/github.com/foo/data-warehouse/meltano/data_warehouse/.meltano/extractors/tap-linkedin-ads/venv/lib/python3.10/site-packages/tap_airbyte/tap.py", line 286, in cli tap: TapAirbyte = cls( # type: ignore File "/Users/adi/src/github.com/foo/data-warehouse/meltano/data_warehouse/.meltano/extractors/tap-linkedin-ads/venv/lib/python3.10/site-packages/singer_sdk/tap_base.py", line 109, in __init__ self.setup_mapper() File "/Users/adi/src/github.com/foo/data-warehouse/meltano/data_warehouse/.meltano/extractors/tap-linkedin-ads/venv/lib/python3.10/site-packages/singer_sdk/tap_base.py", line 179, in setup_mapper self.mapper.register_raw_streams_from_catalog(self.catalog) File "/Users/adi/src/github.com/foo/data-warehouse/meltano/data_warehouse/.meltano/extractors/tap-linkedin-ads/venv/lib/python3.10/site-packages/singer_sdk/tap_base.py", line 172, in catalog self._catalog = self.input_catalog or self._singer_catalog File "/Users/adi/src/github.com/foo/data-warehouse/meltano/data_warehouse/.meltano/extractors/tap-linkedin-ads/venv/lib/python3.10/site-packages/singer_sdk/tap_base.py", line 325, in _singer_catalog for stream in self.streams.values() File "/Users/adi/src/github.com/foo/data-warehouse/meltano/data_warehouse/.meltano/extractors/tap-linkedin-ads/venv/lib/python3.10/site-packages/singer_sdk/tap_base.py", line 134, in streams for stream in self.load_streams(): File "/Users/adi/src/github.com/foo/data-warehouse/meltano/data_warehouse/.meltano/extractors/tap-linkedin-ads/venv/lib/python3.10/site-packages/singer_sdk/tap_base.py", line 358, in load_streams for stream in self.discover_streams(): File "/Users/adi/src/github.com/foo/data-warehouse/meltano/data_warehouse/.meltano/extractors/tap-linkedin-ads/venv/lib/python3.10/site-packages/tap_airbyte/tap.py", line 886, in discover_streams for stream in self.airbyte_catalog["streams"]: File "/Users/adi/src/github.com/foo/data-warehouse/meltano/data_warehouse/.meltano/extractors/tap-linkedin-ads/venv/lib/python3.10/site-packages/tap_airbyte/tap.py", line 715, in airbyte_catalog self._process_log_message(message) File "/Users/adi/src/github.com/foo/data-warehouse/meltano/data_warehouse/.meltano/extractors/tap-linkedin-ads/venv/lib/python3.10/site-packages/tap_airbyte/tap.py", line 637, in _process_log_message raise exc tap_airbyte.tap.AirbyteException: Traceback (most recent call last): File "/Users/adi/src/github.com/foo/data-warehouse/meltano/data_warehouse/.meltano/extractors/tap-linkedin-ads/venv/lib/python3.10/site-packages/tap_airbyte/.venv-airbyte-source-linkedin-ads/lib/python3.10/site-packages/airbyte_cdk/sources/declarative/manifest_declarative_source.py", line 287, in _validate_source validate(self._source_config, declarative_component_schema) File "/Users/adi/src/github.com/foo/data-warehouse/meltano/data_warehouse/.meltano/extractors/tap-linkedin-ads/venv/lib/python3.10/site-packages/tap_airbyte/.venv-airbyte-source-linkedin-ads/lib/python3.10/site-packages/jsonschema/validators.py", line 1121, in validate raise error jsonschema.exceptions.ValidationError: {'type': 'ConfigComponentsResolver', 'stream_config': {'type': 'StreamConfig', 'configs_pointer': ['ad_analytics_reports']}, 'components_mapping': [{'type': 'ComponentMappingDefinition', 'field_path': ['**', 'name'], 'value': "custom_{{components_values['name']}}"}, {'type': 'ComponentMappingDefinition', 'field_path': ['retriever', 'requester', 'request_parameters', 'pivot'], 'value': "(value:{{components_values['pivot_by']}})"}, {'type': 'ComponentMappingDefinition', 'field_path': ['retriever', 'requester', 'request_parameters', 'timeGranularity'], 'value': "(value:{{components_values['time_granularity']}})"}, {'type': 'ComponentMappingDefinition', 'field_path': ['retriever', 'record_selector', '**', 'transformations', 1, 'fields', 0, 'value'], 'value': "{{components_values['pivot_by']}}"}]} is not valid under any of the given schemas Failed validating 'anyOf' in schema['properties']['dynamic_streams']['items']['properties']['components_resolver']: {'anyOf': [{'$ref': '#/definitions/HttpComponentsResolver'}, {'$ref': '#/definitions/ConfigComponentsResolver'}], 'description': 'Component resolve and populates stream templates with ' 'components values.', 'title': 'Components Resolver'} On instance['dynamic_streams'][0]['components_resolver']: {'components_mapping': [{'field_path': ['**', 'name'], 'type': 'ComponentMappingDefinition', 'value': "custom_{{components_values['name']}}"}, {'field_path': ['retriever', 'requester', 'request_parameters', 'pivot'], 'type': 'ComponentMappingDefinition', 'value': "(value:{{components_values['pivot_by']}})"}, {'field_path': ['retriever', 'requester', 'request_parameters', 'timeGranularity'], 'type': 'ComponentMappingDefinition', 'value': "(value:{{components_values['time_granularity']}})"}, {'field_path': ['retriever', 'record_selector', '**', 'transformations', 1, 'fields', 0, 'value'], 'type': 'ComponentMappingDefinition', 'value': "{{components_values['pivot_by']}}"}], 'stream_config': {'configs_pointer': ['ad_analytics_reports'], 'type': 'StreamConfig'}, 'type': 'ConfigComponentsResolver'} The above exception was the direct cause of the following exception: Traceback (most recent call last): File "/Users/adi/src/github.com/foo/data-warehouse/meltano/data_warehouse/.meltano/extractors/tap-linkedin-ads/venv/lib/python3.10/site-packages/tap_airbyte/.venv-airbyte-source-linkedin-ads/lib/python3.10/site-packages/source_linkedin_ads/run.py", line 24, in _get_source return SourceLinkedinAds( File "/Users/adi/src/github.com/foo/data-warehouse/meltano/data_warehouse/.meltano/extractors/tap-linkedin-ads/venv/lib/python3.10/site-packages/tap_airbyte/.venv-airbyte-source-linkedin-ads/lib/python3.10/site-packages/source_linkedin_ads/source.py", line 22, in __init__ super().__init__(catalog=catalog, config=config, state=state, **{"path_to_yaml": "manifest.yaml"}) File "/Users/adi/src/github.com/foo/data-warehouse/meltano/data_warehouse/.meltano/extractors/tap-linkedin-ads/venv/lib/python3.10/site-packages/tap_airbyte/.venv-airbyte-source-linkedin-ads/lib/python3.10/site-packages/airbyte_cdk/sources/declarative/yaml_declarative_source.py", line 34, in __init__ super().__init__( File "/Users/adi/src/github.com/foo/data-warehouse/meltano/data_warehouse/.meltano/extractors/tap-linkedin-ads/venv/lib/python3.10/site-packages/tap_airbyte/.venv-airbyte-source-linkedin-ads/lib/python3.10/site-packages/airbyte_cdk/sources/declarative/concurrent_declarative_source.py", line 89, in __init__ super().__init__( File "/Users/adi/src/github.com/foo/data-warehouse/meltano/data_warehouse/.meltano/extractors/tap-linkedin-ads/venv/lib/python3.10/site-packages/tap_airbyte/.venv-airbyte-source-linkedin-ads/lib/python3.10/site-packages/airbyte_cdk/sources/declarative/manifest_declarative_source.py", line 109, in __init__ self._validate_source() File "/Users/adi/src/github.com/foo/data-warehouse/meltano/data_warehouse/.meltano/extractors/tap-linkedin-ads/venv/lib/python3.10/site-packages/tap_airbyte/.venv-airbyte-source-linkedin-ads/lib/python3.10/site-packages/airbyte_cdk/sources/declarative/manifest_declarative_source.py", line 289, in _validate_source raise ValidationError( jsonschema.exceptions.ValidationError: Validation against json schema defined in declarative_component_schema.yaml schema failed </details>Beta Was this translation helpful? Give feedback.
All reactions