Hi there! Is there anyone responsible for the sour...
# connector-contributions
t
Hi there! Is there anyone responsible for the source quickbooks here? I've faced this issue. I haven't really figured out how low-code connectors work so for now can't fix this issue myself.
w
This is the snippet that will help folks help you:
Copy code
2024-10-06 17:18:26 source > Encountered an exception while reading stream budgets
Traceback (most recent call last):
  File "/usr/local/lib/python3.10/site-packages/airbyte_cdk/sources/abstract_source.py", line 135, in read
    yield from self._read_stream(
  File "/usr/local/lib/python3.10/site-packages/airbyte_cdk/sources/abstract_source.py", line 230, in _read_stream
    for record_data_or_message in record_iterator:
  File "/usr/local/lib/python3.10/site-packages/airbyte_cdk/sources/streams/core.py", line 169, in read
    for record_data_or_message in records:
  File "/usr/local/lib/python3.10/site-packages/airbyte_cdk/sources/declarative/declarative_stream.py", line 126, in read_records
    yield from self.retriever.read_records(self.get_json_schema(), stream_slice)
  File "/usr/local/lib/python3.10/site-packages/airbyte_cdk/sources/declarative/retrievers/simple_retriever.py", line 339, in read_records
    self.cursor.close_slice(_slice, most_recent_record_from_slice)
  File "/airbyte/integration_code/source_quickbooks/components.py", line 72, in close_slice
    most_recent_record=LastRecordDictProxy(most_recent_record, {self.cursor_field.eval(self.config): "MetaData/LastUpdatedTime"}),
AttributeError: 'str' object has no attribute 'eval'
2024-10-06 17:18:26 source > Marking stream budgets as STOPPED
I don't have a Quickbooks account to easily test this with. Are you getting this error for all streams or just a subset of streams? I'm trying to figure out if its a syntax issue or just an unhandled edge when there are zero rows in a stream