Discovering schema failed in Webflow alpha connect...
# replication-troubleshooting
t
Discovering schema failed in Webflow alpha connector I get an error when trying to connect my webflow source to a destination. Logs in thread. Any idea as to why that is? 🙂 Thanks!
Copy code
2023-02-21 13:20:42 INFO i.a.w.t.TemporalAttemptExecution(get):136 - Docker volume job log path: /tmp/workspace/80f6c7c5-a791-4195-a705-341852729dcb/0/logs.log
2023-02-21 13:20:42 INFO i.a.w.t.TemporalAttemptExecution(get):141 - Executing worker wrapper. Airbyte version: 0.40.32
2023-02-21 13:20:42 INFO i.a.a.c.AirbyteApiClient(retryWithJitter):172 - Attempt 0 to save workflow id for cancellation
2023-02-21 13:20:42 INFO i.a.c.i.LineGobbler(voidCall):114 - Checking if airbyte/source-webflow:0.1.2 exists...
2023-02-21 13:20:42 INFO i.a.c.i.LineGobbler(voidCall):114 - airbyte/source-webflow:0.1.2 was found locally.
2023-02-21 13:20:42 INFO i.a.w.p.DockerProcessFactory(create):125 - Creating docker container = source-webflow-discover-80f6c7c5-a791-4195-a705-341852729dcb-0-yulcc with resources io.airbyte.config.ResourceRequirements@c215ed8[cpuRequest=,cpuLimit=,memoryRequest=,memoryLimit=] and allowedHosts null
2023-02-21 13:20:42 INFO i.a.w.p.DockerProcessFactory(create):170 - Preparing command: docker run --rm --init -i -w /data/80f6c7c5-a791-4195-a705-341852729dcb/0 --log-driver none --name source-webflow-discover-80f6c7c5-a791-4195-a705-341852729dcb-0-yulcc --network host -v airbyte_workspace:/data -v /tmp/airbyte_local:/local -e DEPLOYMENT_MODE=OSS -e USE_STREAM_CAPABLE_STATE=true -e FIELD_SELECTION_WORKSPACES= -e AIRBYTE_ROLE= -e WORKER_ENVIRONMENT=DOCKER -e APPLY_FIELD_SELECTION=false -e WORKER_JOB_ATTEMPT=0 -e WORKER_CONNECTOR_IMAGE=airbyte/source-webflow:0.1.2 -e AUTO_DETECT_SCHEMA=true -e AIRBYTE_VERSION=0.40.32 -e WORKER_JOB_ID=80f6c7c5-a791-4195-a705-341852729dcb airbyte/source-webflow:0.1.2 discover --config source_config.json
2023-02-21 13:20:42 INFO i.a.w.i.VersionedAirbyteStreamFactory(create):107 - Reading messages from protocol version 0.2.0, messages will be upgraded to protocol version 1.0.0
2023-02-21 13:20:45 ERROR i.a.w.i.DefaultAirbyteStreamFactory(internalLog):163 - Encountered an exception parsing schema for Webflow type: Set.
Is "Set" defined in the mapping between Webflow and json schma ?
Traceback (most recent call last):
  File "/airbyte/integration_code/source_webflow/source.py", line 100, in parse_response
    field_schema = {field_name: WebflowToAirbyteMapping.webflow_to_airbyte_mapping[field_type]}
KeyError: 'Set'
2023-02-21 13:20:45 ERROR i.a.w.i.DefaultAirbyteStreamFactory(internalLog):163 - 'Set'
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 116, in launch
    for message in source_entrypoint.run(parsed_args):
  File "/usr/local/lib/python3.9/site-packages/airbyte_cdk/entrypoint.py", line 101, in run
On version
0.40.32
a
It looks like your Webflow source has a field that is defined as a “Set” type, which has not been explicitly defined in the code which maps Webflow datatypes to Airbyte datatypes.
t
🙌 should have catched that myself. Thanks Alex