<@U04SE163WC8> I am running command : `poetry run ...
# ask-ai
k
@kapa.ai I am running command :
poetry run source-linkedin-leads check --config secrets/config.json
and get the error:
Copy code
Using python3 (3.10.8)
Traceback (most recent call last):
  File "<string>", line 1, in <module>
  File "/Users/xxx/PycharmProjects/airbyte/airbyte-integrations/connectors/source-linkedin-leads/source_linkedin_leads/run.py", line 12, in run
    source = SourceLinkedinLeads()
  File "/Users/xxx/PycharmProjects/airbyte/airbyte-integrations/connectors/source-linkedin-leads/source_linkedin_leads/source.py", line 18, in __init__
    super().__init__(**{"path_to_yaml": "manifest.yaml"})
  File "/Users/xxx/Library/Caches/pypoetry/virtualenvs/source-linkedin-leads-UnfG5w04-py3.10/lib/python3.10/site-packages/airbyte_cdk/sources/declarative/yaml_declarative_source.py", line 22, in __init__
    super().__init__(source_config, debug)
  File "/Users/xxx/Library/Caches/pypoetry/virtualenvs/source-linkedin-leads-UnfG5w04-py3.10/lib/python3.10/site-packages/airbyte_cdk/sources/declarative/manifest_declarative_source.py", line 70, in __init__
    self._validate_source()
  File "/Users/xxx/Library/Caches/pypoetry/virtualenvs/source-linkedin-leads-UnfG5w04-py3.10/lib/python3.10/site-packages/airbyte_cdk/sources/declarative/manifest_declarative_source.py", line 208, in _validate_source
    raise ValidationError(
jsonschema.exceptions.ValidationError: The manifest version 2.0.0 is greater than the airbyte-cdk package version (0.90.0). Your manifest may contain features that are not in the current CDK version.
how to deal with it ?
k
The error message you're seeing indicates that the version of the
airbyte-cdk
package you're using is lower than the version required by the manifest of the LinkedIn Leads source connector. The manifest version is 2.0.0, while your
airbyte-cdk
package version is 0.90.0. This discrepancy could lead to issues as your manifest may contain features that are not in your current CDK version. To resolve this, you should upgrade your
airbyte-cdk
package to a version that is compatible with the manifest version. Unfortunately, the knowledge sources provided do not include specific instructions on how to upgrade the
airbyte-cdk
package. However, you can typically upgrade a Python package using pip, the Python package installer. Please refer to the official Python and Airbyte documentation or relevant forums for more specific instructions.