Hey Everyone! Is anybody using the LinkedIn Pages ...
# replication-troubleshooting
b
Hey Everyone! Is anybody using the LinkedIn Pages integration? We've generated the required client id, secret and refresh token for the Oauth 2.0 method but are still getting a source config error despite having valid credentials:
Copy code
2023-01-13 12:44:30 INFO i.a.c.i.LineGobbler(voidCall):114 - ----- START CHECK -----
2023-01-13 12:44:30 INFO i.a.c.i.LineGobbler(voidCall):114 - 
2023-01-13 12:44:30 INFO i.a.c.i.LineGobbler(voidCall):114 - Checking if airbyte/source-linkedin-pages:0.1.0 exists...
2023-01-13 12:44:30 INFO i.a.c.i.LineGobbler(voidCall):114 - airbyte/source-linkedin-pages:0.1.0 was found locally.
2023-01-13 12:44:30 INFO i.a.w.p.DockerProcessFactory(create):119 - Creating docker container = source-linkedin-pages-check-1e169675-6112-4891-bbf6-b873fa50b3b5-0-iggim with resources io.airbyte.config.ResourceRequirements@694fc127[cpuRequest=,cpuLimit=,memoryRequest=,memoryLimit=]
2023-01-13 12:44:30 INFO i.a.w.p.DockerProcessFactory(create):163 - Preparing command: docker run --rm --init -i -w /data/1e169675-6112-4891-bbf6-b873fa50b3b5/0 --log-driver none --name source-linkedin-pages-check-1e169675-6112-4891-bbf6-b873fa50b3b5-0-iggim --network host -v airbyte_workspace:/data -v /tmp/airbyte_local:/local -e DEPLOYMENT_MODE=OSS -e USE_STREAM_CAPABLE_STATE=true -e WORKER_ENVIRONMENT=DOCKER -e AIRBYTE_ROLE= -e WORKER_CONNECTOR_IMAGE=airbyte/source-linkedin-pages:0.1.0 -e WORKER_JOB_ATTEMPT=0 -e AIRBYTE_VERSION=0.40.18 -e WORKER_JOB_ID=1e169675-6112-4891-bbf6-b873fa50b3b5 airbyte/source-linkedin-pages:0.1.0 check --config source_config.json
2023-01-13 12:44:30 INFO i.a.w.i.VersionedAirbyteStreamFactory(create):97 - Reading messages from protocol version 0.2.0
2023-01-13 12:44:33 ERROR i.a.w.i.DefaultAirbyteStreamFactory(internalLog):116 - Config validation error: '****' is not of type 'integer'
Traceback (most recent call last):
  File "/airbyte/integration_code/main.py", line 13, in <module>
    launch(source, sys.argv[1:])
  File "/usr/local/lib/python3.9/site-packages/airbyte_cdk/entrypoint.py", line 123, in launch
    for message in source_entrypoint.run(parsed_args):
  File "/usr/local/lib/python3.9/site-packages/airbyte_cdk/entrypoint.py", line 96, in run
    check_config_against_spec_or_exit(connector_config, source_spec)
  File "/usr/local/lib/python3.9/site-packages/airbyte_cdk/sources/utils/schema_helpers.py", line 160, in check_config_against_spec_or_exit
    raise Exception("Config validation error: " + validation_error.message) from None
Exception: Config validation error: '****' is not of type 'integer'
2023-01-13 12:44:33 ERROR i.a.w.g.DefaultCheckConnectionWorker(run):98 - Error checking connection, status: Optional.empty, exit code: 1
2023-01-13 12:44:33 INFO i.a.w.t.TemporalAttemptExecution(get):162 - Stopping cancellation check scheduling...
n
Hey Brian! Looks like there's a type error - something needs to be an integer and is not. Have you tried connecting using the access token?
l
Hi, I have the same issue and I see a git issue Source LinkedIn Pages: fixed failing connection checks #18967 and a way to accelerate it?