- Is this your first time deploying Airbyte?: Yes
- OS Version / Instance: Linux (Amazon)
- Memory / Disk: you can use something like 16Gb / 8 Gb
- Deployment: Docker
- Airbyte Version: 0.40.10
- Source name/version: Zuora alpha 0.1.3
- Destination name/version: Snowflake
- Step: The issue is happening during sync
- Description:
Hello All. I’m a new Airbyte user. I’m trying to load the notificationhistorycallout
object from Zuora but getting the Source cannot be stopped
error. I tried both full refresh truncate
and full refresh append
but the result didn’t change. I can sync the other objects successfully.
Any idea about this error?
Error:
2022-09-30 21:52:47 e[43mdestinatione[0m > Preparing staging area in destination completed for schema AIRBYTE stream notificationhistorycallout
2022-09-30 21:52:47 e[43mdestinatione[0m > Preparing tmp tables in destination completed.
2022-09-30 21:52:49 e[44msourcee[0m > Cursor 'UpdatedDate' is not available. Switching cursor to 'CreatedDate'
2022-09-30 21:52:49 e[44msourcee[0m > Cursor 'CreatedDate' is not available. Fetching whole object
2022-09-30 21:52:49 e[43mdestinatione[0m > Starting a new buffer for stream notificationhistorycallout (current state: 0 bytes in 0 buffers)
2022-09-30 21:52:51 e[32mINFOe[m i.a.w.g.DefaultReplicationWorker(lambda$getReplicationRunnable$6):352 - Records read: 1000 (16 MB)
2022-09-30 21:52:51 e[32mINFOe[m i.a.w.g.DefaultReplicationWorker(lambda$getReplicationRunnable$6):352 - Records read: 2000 (17 MB)
2022-09-30 21:52:51 e[32mINFOe[m i.a.w.g.DefaultReplicationWorker(lambda$getReplicationRunnable$6):352 - Records read: 3000 (18 MB)
2022-09-30 21:52:52 e[44msourcee[0m > Cursor 'CreatedDate' is not available. Fetching whole object
2022-09-30 21:52:52 e[44msourcee[0m > Encountered an exception while reading stream SourceZuora
Traceback (most recent call last):
File "/usr/local/lib/python3.7/site-packages/airbyte_cdk/sources/abstract_source.py", line 104, in read
internal_config=internal_config,
File "/usr/local/lib/python3.7/site-packages/airbyte_cdk/sources/abstract_source.py", line 134, in _read_stream
for record in record_iterator:
File "/usr/local/lib/python3.7/site-packages/airbyte_cdk/sources/abstract_source.py", line 206, in _read_full_refresh
for record in records:
File "/usr/local/lib/python3.7/site-packages/airbyte_cdk/sources/streams/http/http.py", line 353, in read_records
yield from self.parse_response(response, stream_state=stream_state, stream_slice=stream_slice)
File "/airbyte/integration_code/source_zuora/source.py", line 156, in parse_response
yield from response
File "/airbyte/integration_code/source_zuora/source.py", line 127, in _send_request
yield from self.get_zuora_data(date_slice=request_kwargs, config=self._config)
File "/airbyte/integration_code/source_zuora/source.py", line 119, in get_zuora_data
yield from ZuoraGetJobResult(list(job_data_url)[0]).read_records(sync_mode=None)
File "/usr/local/lib/python3.7/site-packages/airbyte_cdk/sources/streams/http/http.py", line 351, in read_records
response = self._send_request(request, request_kwargs)
File "/airbyte/integration_code/source_zuora/source.py", line 452, in _send_request
raise ZOQLQueryFieldCannotResolveAltCursor
source_zuora.zuora_errors.ZOQLQueryFieldCannotResolveAltCursor: None