Hi All, I am using the Linkedin Pages tap(airbyte-...
# troubleshooting
c
Hi All, I am using the Linkedin Pages tap(airbyte-variant) and getting the following error when I test the tap or want to the streams available.
Copy code
Need help fixing this problem? Visit <http://melta.no/> for troubleshooting steps, or to
join our friendly Slack community.

Plugin configuration is invalid
Catalog discovery failed: command ['C:\\INI8_LABS\\Datacooks-TDI\\data-collection\\.meltano\\extractors\\tap-linkedin-pages\\venv\\Scripts\\tap-airbyte.exe', '--config', 'C:\\INI8_LABS\\Datacooks-TDI\\data-collection\\.meltano\\run\\tap-linkedin-pages\\tap.bf4c2262-f437-4dc3-b863-9d524cb0114e.config.json', '--discover'] returned 1 with stderr:
 C:\INI8_LABS\Datacooks-TDI\data-collection\.meltano\extractors\tap-linkedin-pages\venv\lib\site-packages\fs\__init__.py:4: UserWarning: pkg_resources is deprecated as an API. See <https://setuptools.pypa.io/en/latest/pkg_resources.html>. The pkg_resources package is slated for removal as early as 2025-11-30. Refrain from using this package or pin to Setuptools<81.
  __import__("pkg_resources").declare_namespace(__name__)  # type: ignore
Checking for docker on PATH.
Found docker on PATH.
Checking docker version.
Successfully executed docker version.
{'level': 'FATAL', 'message': '**** is not of type \'string\'\nTraceback (most recent call last):\n  File "/airbyte/integration_code/main.py", line 4, in <module>\n    run()\n  File "/airbyte/integration_code/source_declarative_manifest/run.py", line 303, in run\n    handle_command(args)\n  File "/airbyte/integration_code/source_declarative_manifest/run.py", line 91, in handle_command\n    handle_local_manifest_command(args)\n  File "/airbyte/integration_code/source_declarative_manifest/run.py", line 129, in handle_local_manifest_command\n    launch(\n  File "/usr/local/lib/python3.11/site-packages/airbyte_cdk/entrypoint.py", line 377, in launch\n    for message in source_entrypoint.run(parsed_args):\n  File "/usr/local/lib/python3.11/site-packages/airbyte_cdk/entrypoint.py", line 199, in run\n    yield from map(\n  File "/usr/local/lib/python3.11/site-packages/airbyte_cdk/entrypoint.py", line 265, in discover\n    self.validate_connection(source_spec, config)\n  File "/usr/local/lib/python3.11/site-packages/airbyte_cdk/entrypoint.py", line 321, in validate_connection\n    check_config_against_spec_or_exit(connector_config, source_spec)\n  File "/usr/local/lib/python3.11/site-packages/airbyte_cdk/sources/utils/schema_helpers.py", line 182, in check_config_against_spec_or_exit\n    raise AirbyteTracedException(\nairbyte_cdk.utils.traced_exception.AirbyteTracedException: **** is not of type \'string\''}
Config validation error: **** is not of type 'string'
tap_airbyte.tap.AirbyteException: Traceback (most recent call last):
  File "/airbyte/integration_code/main.py", line 4, in <module>
    run()
  File "/airbyte/integration_code/source_declarative_manifest/run.py", line 303, in run
    handle_command(args)
  File "/airbyte/integration_code/source_declarative_manifest/run.py", line 91, in handle_command
    handle_local_manifest_command(args)
  File "/airbyte/integration_code/source_declarative_manifest/run.py", line 129, in handle_local_manifest_command
    launch(
  File "/usr/local/lib/python3.11/site-packages/airbyte_cdk/entrypoint.py", line 377, in launch
    for message in source_entrypoint.run(parsed_args):
  File "/usr/local/lib/python3.11/site-packages/airbyte_cdk/entrypoint.py", line 199, in run
    yield from map(
  File "/usr/local/lib/python3.11/site-packages/airbyte_cdk/entrypoint.py", line 265, in discover
    self.validate_connection(source_spec, config)
  File "/usr/local/lib/python3.11/site-packages/airbyte_cdk/entrypoint.py", line 321, in validate_connection
    check_config_against_spec_or_exit(connector_config, source_spec)
  File "/usr/local/lib/python3.11/site-packages/airbyte_cdk/sources/utils/schema_helpers.py", line 182, in check_config_against_spec_or_exit
    raise AirbyteTracedException(
airbyte_cdk.utils.traced_exception.AirbyteTracedException: **** is not of type 'string'

Traceback (most recent call last):
  File "C:\Users\chand\AppData\Local\Programs\Python\Python310\lib\runpy.py", line 196, in _run_module_as_main
    return _run_code(code, main_globals, None,
  File "C:\Users\chand\AppData\Local\Programs\Python\Python310\lib\runpy.py", line 86, in _run_code
    exec(code, run_globals)
  File "C:\INI8_LABS\Datacooks-TDI\data-collection\.meltano\extractors\tap-linkedin-pages\venv\Scripts\tap-airbyte.exe\__main__.py", line 7, in <module>
  File "C:\INI8_LABS\Datacooks-TDI\data-collection\.meltano\extractors\tap-linkedin-pages\venv\lib\site-packages\click\core.py", line 1442, in __call__
    return self.main(*args, **kwargs)
  File "C:\INI8_LABS\Datacooks-TDI\data-collection\.meltano\extractors\tap-linkedin-pages\venv\lib\site-packages\click\core.py", line 1363, in main
    rv = self.invoke(ctx)
  File "C:\INI8_LABS\Datacooks-TDI\data-collection\.meltano\extractors\tap-linkedin-pages\venv\lib\site-packages\click\core.py", line 1226, in invoke
    return ctx.invoke(self.callback, **ctx.params)
  File "C:\INI8_LABS\Datacooks-TDI\data-collection\.meltano\extractors\tap-linkedin-pages\venv\lib\site-packages\click\core.py", line 794, in invoke
    return callback(*args, **kwargs)
  File "C:\INI8_LABS\Datacooks-TDI\data-collection\.meltano\extractors\tap-linkedin-pages\venv\lib\site-packages\tap_airbyte\tap.py", line 295, in cli
    tap: TapAirbyte = cls(  # type: ignore
  File "C:\INI8_LABS\Datacooks-TDI\data-collection\.meltano\extractors\tap-linkedin-pages\venv\lib\site-packages\singer_sdk\tap_base.py", line 109, in __init__
    self.setup_mapper()
  File "C:\INI8_LABS\Datacooks-TDI\data-collection\.meltano\extractors\tap-linkedin-pages\venv\lib\site-packages\singer_sdk\tap_base.py", line 179, in setup_mapper
    self.mapper.register_raw_streams_from_catalog(self.catalog)
  File "C:\INI8_LABS\Datacooks-TDI\data-collection\.meltano\extractors\tap-linkedin-pages\venv\lib\site-packages\singer_sdk\tap_base.py", line 172, in catalog
    self._catalog = self.input_catalog or self._singer_catalog
  File "C:\INI8_LABS\Datacooks-TDI\data-collection\.meltano\extractors\tap-linkedin-pages\venv\lib\site-packages\singer_sdk\tap_base.py", line 325, in _singer_catalog
    for stream in self.streams.values()
  File "C:\INI8_LABS\Datacooks-TDI\data-collection\.meltano\extractors\tap-linkedin-pages\venv\lib\site-packages\singer_sdk\tap_base.py", line 134, in streams
    for stream in self.load_streams():
  File "C:\INI8_LABS\Datacooks-TDI\data-collection\.meltano\extractors\tap-linkedin-pages\venv\lib\site-packages\singer_sdk\tap_base.py", line 358, in load_streams
    for stream in self.discover_streams():
  File "C:\INI8_LABS\Datacooks-TDI\data-collection\.meltano\extractors\tap-linkedin-pages\venv\lib\site-packages\tap_airbyte\tap.py", line 908, in discover_streams
    for stream in self.airbyte_catalog["streams"]:
  File "C:\INI8_LABS\Datacooks-TDI\data-collection\.meltano\extractors\tap-linkedin-pages\venv\lib\site-packages\tap_airbyte\tap.py", line 735, in airbyte_catalog
    self._process_log_message(message)
  File "C:\INI8_LABS\Datacooks-TDI\data-collection\.meltano\extractors\tap-linkedin-pages\venv\lib\site-packages\tap_airbyte\tap.py", line 657, in _process_log_message
    raise exc
tap_airbyte.tap.AirbyteException: Traceback (most recent call last):
  File "/airbyte/integration_code/main.py", line 4, in <module>
    run()
  File "/airbyte/integration_code/source_declarative_manifest/run.py", line 303, in run
    handle_command(args)
  File "/airbyte/integration_code/source_declarative_manifest/run.py", line 91, in handle_command
    handle_local_manifest_command(args)
  File "/airbyte/integration_code/source_declarative_manifest/run.py", line 129, in handle_local_manifest_command
    launch(
  File "/usr/local/lib/python3.11/site-packages/airbyte_cdk/entrypoint.py", line 377, in launch
    for message in source_entrypoint.run(parsed_args):
  File "/usr/local/lib/python3.11/site-packages/airbyte_cdk/entrypoint.py", line 199, in run
    yield from map(
  File "/usr/local/lib/python3.11/site-packages/airbyte_cdk/entrypoint.py", line 265, in discover
    self.validate_connection(source_spec, config)
  File "/usr/local/lib/python3.11/site-packages/airbyte_cdk/entrypoint.py", line 321, in validate_connection
    check_config_against_spec_or_exit(connector_config, source_spec)
  File "/usr/local/lib/python3.11/site-packages/airbyte_cdk/sources/utils/schema_helpers.py", line 182, in check_config_against_spec_or_exit
    raise AirbyteTracedException(
airbyte_cdk.utils.traced_exception.AirbyteTracedException: **** is not of type 'string'
My config.json looks like this once the credentials are given:
Copy code
{
  "airbyte_config": {
    "credentials": {
      "access_token": "*****",
      "client_id": "*****",
      "client_secret": "*****",
      "refresh_token": "*****"
    },
    "org_id": 123456
  },
  "airbyte_spec": {
    "image": "airbyte/source-linkedin-pages",
    "tag": "latest"
  }
}
Even if I give the org_id in enclosed as string, the config isn't showing. Debugged a bit more and tried giving alphanumeric value and that provides below error:
Copy code
Need help fixing this problem? Visit <http://melta.no/> for troubleshooting steps, or to
join our friendly Slack community.

invalid literal for int() with base 10: 'urn:123456'
I am not sure how to resolve this or if I am missing some other config value.
Any solution on this?