'Source Cannot Be Stopped' Error

  • 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

Hello there! You are receiving this message because none of your fellow community members has stepped in to respond to your topic post. (If you are a community member and you are reading this response, feel free to jump in if you have the answer!) As a result, the Community Assistance Team has been made aware of this topic and will be investigating and responding as quickly as possible.
Some important considerations that will help your to get your issue solved faster:

  • It is best to use our topic creation template; if you haven’t yet, we recommend posting a followup with the requested information. With that information the team will be able to more quickly search for similar issues with connectors and the platform and troubleshoot more quickly your specific question or problem.
  • Make sure to upload the complete log file; a common investigation roadblock is that sometimes the error for the issue happens well before the problem is surfaced to the user, and so having the tail of the log is less useful than having the whole log to scan through.
  • Be as descriptive and specific as possible; when investigating it is extremely valuable to know what steps were taken to encounter the issue, what version of connector / platform / Java / Python / docker / k8s was used, etc. The more context supplied, the quicker the investigation can start on your topic and the faster we can drive towards an answer.
  • We in the Community Assistance Team are glad you’ve made yourself part of our community, and we’ll do our best to answer your questions and resolve the problems as quickly as possible. Expect to hear from a specific team member as soon as possible.

Thank you for your time and attention.
Best,
The Community Assistance Team

Hi @marcosmarxm ,
Thank you for the answer. But I’m getting the error only for one of the objects. I can sync the other objects successfully. I believe the network is not he issue here.
Best,
Murat

Sorry Murat the replied I gave was to another topic.
I tried to test using integration credentials but wasn’t able to connect to Zuora.

I created the issue: https://github.com/airbytehq/airbyte/issues/17509 to solve the issue!

No worries. Thank you.