Berzan Yildiz
11/18/2022, 2:29 PMpreparing tables at destination completed and have no way of knowing wat happeneduser
11/18/2022, 2:50 PMBerzan Yildiz
11/18/2022, 2:58 PMBerzan Yildiz
11/18/2022, 3:00 PMBerzan Yildiz
11/18/2022, 4:33 PM{"type": "LOG", "log": {"level": "INFO", "message": "SourceDataguardPicCrm runtimes:\nSyncing stream companies 0:05:33.914985"}}
{"type": "LOG", "log": {"level": "FATAL", "message": "1 validation error for AirbyteRecordMessage\ndata\n value is not a valid dict (type=type_error.dict)\nTraceback (most recent call last):\n File \"/Users/berzanmikailiyildiz/data-warehouse/airbyte/airbyte-integrations/connectors/source-dataguard-pic-crm/main.py\", line 13, in <module>\n launch(source, sys.argv[1:])\n File \"/opt/homebrew/lib/python3.10/site-packages/airbyte_cdk/entrypoint.py\", line 129, in launch\n for message in source_entrypoint.run(parsed_args):\n File \"/opt/homebrew/lib/python3.10/site-packages/airbyte_cdk/entrypoint.py\", line 120, in run\n for message in generator:\n File \"/opt/homebrew/lib/python3.10/site-packages/airbyte_cdk/sources/abstract_source.py\", line 129, in read\n raise e\n File \"/opt/homebrew/lib/python3.10/site-packages/airbyte_cdk/sources/abstract_source.py\", line 115, in read\n yield from self._read_stream(\n File \"/opt/homebrew/lib/python3.10/site-packages/airbyte_cdk/sources/abstract_source.py\", line 165, in _read_stream\n for record in record_iterator:\n File \"/opt/homebrew/lib/python3.10/site-packages/airbyte_cdk/sources/abstract_source.py\", line 255, in _read_full_refresh\n yield self._as_airbyte_record(configured_stream.stream.name, record)\n File \"/opt/homebrew/lib/python3.10/site-packages/airbyte_cdk/sources/abstract_source.py\", line 288, in _as_airbyte_record\n message = AirbyteRecordMessage(stream=stream_name, data=data, emitted_at=now_millis)\n File \"pydantic/main.py\", line 342, in pydantic.main.BaseModel.__init__\npydantic.error_wrappers.ValidationError: 1 validation error for AirbyteRecordMessage\ndata\n value is not a valid dict (type=type_error.dict)"}}
{"type": "TRACE", "trace": {"type": "ERROR", "emitted_at": 1668789087790.557, "error": {"message": "Something went wrong in the connector. See the logs for more details.", "internal_message": "1 validation error for AirbyteRecordMessage\ndata\n value is not a valid dict (type=type_error.dict)", "stack_trace": "Traceback (most recent call last):\n File \"/Users/berzanmikailiyildiz/data-warehouse/airbyte/airbyte-integrations/connectors/source-dataguard-pic-crm/main.py\", line 13, in <module>\n launch(source, sys.argv[1:])\n File \"/opt/homebrew/lib/python3.10/site-packages/airbyte_cdk/entrypoint.py\", line 129, in launch\n for message in source_entrypoint.run(parsed_args):\n File \"/opt/homebrew/lib/python3.10/site-packages/airbyte_cdk/entrypoint.py\", line 120, in run\n for message in generator:\n File \"/opt/homebrew/lib/python3.10/site-packages/airbyte_cdk/sources/abstract_source.py\", line 129, in read\n raise e\n File \"/opt/homebrew/lib/python3.10/site-packages/airbyte_cdk/sources/abstract_source.py\", line 115, in read\n yield from self._read_stream(\n File \"/opt/homebrew/lib/python3.10/site-packages/airbyte_cdk/sources/abstract_source.py\", line 165, in _read_stream\n for record in record_iterator:\n File \"/opt/homebrew/lib/python3.10/site-packages/airbyte_cdk/sources/abstract_source.py\", line 255, in _read_full_refresh\n yield self._as_airbyte_record(configured_stream.stream.name, record)\n File \"/opt/homebrew/lib/python3.10/site-packages/airbyte_cdk/sources/abstract_source.py\", line 288, in _as_airbyte_record\n message = AirbyteRecordMessage(stream=stream_name, data=data, emitted_at=now_millis)\n File \"pydantic/main.py\", line 342, in pydantic.main.BaseModel.__init__\npydantic.error_wrappers.ValidationError: 1 validation error for AirbyteRecordMessage\ndata\n value is not a valid dict (type=type_error.dict)\n", "failure_type": "system_error"}}}
This is the error that I getBerzan Yildiz
11/18/2022, 4:45 PMuser
11/18/2022, 4:51 PMBerzan Yildiz
11/18/2022, 6:55 PMBerzan Yildiz
11/18/2022, 6:55 PMBerzan Yildiz
11/18/2022, 8:28 PMdocker run --rm --init -i -w /data/132/0 --name source-dataguard-pic-crm-read-132-0-ptvdk --network host -v airbyte_workspace:/data -v /tmp/airbyte_local:/local -e DEPLOYMENT_MODE=OSS -e USE_STREAM_CAPABLE_STATE=true -e AIRBYTE_ROLE= -e WORKER_ENVIRONMENT=DOCKER -e WORKER_CONNECTOR_IMAGE=airbyte/source-dataguard-pic-crm:0.0.16 -e WORKER_JOB_ATTEMPT=0 -e AIRBYTE_VERSION=0.40.18 -e WORKER_JOB_ID=132 airbyte/source-dataguard-pic-crm:0.0.16 read --config source_config.json --catalog source_catalog.json --state input_state.json
It works. In airbyte it doesn't. Not sure why? Is it the postgres destination?Nataly Merezhuk (Airbyte)
11/21/2022, 9:11 PM