Kamal Tuteja
09/26/2024, 7:03 PMuser
09/26/2024, 7:04 PM'str' object has no attribute 'eval'
. This issue occurs during the setup of the QuickBooks connector and is related to the token refresh mechanism. The Airbyte team is aware of this issue and is actively working on it. Here is the relevant extract from the issue reported on GitHub: shell File "/usr/local/lib/python3.10/site-packages/airbyte_cdk/sources/declarative/checks/check_stream.py", line 42, in check_connection stream_is_available, reason = availability_strategy.check_availability(stream, logger, source) File "/usr/local/lib/python3.10/site-packages/airbyte_cdk/sources/streams/http/availability_strategy.py", line 50, in check_availability get_first_record_for_slice(stream, stream_slice) File "/usr/local/lib/python3.10/site-packages/airbyte_cdk/sources/streams/utils/stream_helper.py", line 40, in get_first_record_for_slice return next(records_for_slice) 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'
You can follow the progress of this issue on the [GitHub issue page](https://github.com/airbytehq/airbyte/issues/44367).