<@U04SE163WC8> quick book connector is giving erro...
# ask-ai
k
@kapa.ai quick book connector is giving error 'str' object has no attribute 'eval'
u
Yes, there is a known issue with the QuickBooks connector in Airbyte where it throws an error
'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:
Copy code
shell File &quot;/usr/local/lib/python3.10/site-packages/airbyte_cdk/sources/declarative/checks/check_stream.py&quot;, line 42, in check_connection     stream_is_available, reason = availability_strategy.check_availability(stream, logger, source)   File &quot;/usr/local/lib/python3.10/site-packages/airbyte_cdk/sources/streams/http/availability_strategy.py&quot;, line 50, in check_availability     get_first_record_for_slice(stream, stream_slice)   File &quot;/usr/local/lib/python3.10/site-packages/airbyte_cdk/sources/streams/utils/stream_helper.py&quot;, line 40, in get_first_record_for_slice     return next(records_for_slice)   File &quot;/usr/local/lib/python3.10/site-packages/airbyte_cdk/sources/declarative/declarative_stream.py&quot;, line 126, in read_records     yield from self.retriever.read_records(self.get_json_schema(), stream_slice)   File &quot;/usr/local/lib/python3.10/site-packages/airbyte_cdk/sources/declarative/retrievers/simple_retriever.py&quot;, line 339, in read_records     self.cursor.close_slice(_slice, most_recent_record_from_slice)   File &quot;/airbyte/integration_code/source_quickbooks/components.py&quot;, line 72, in close_slice     most_recent_record=LastRecordDictProxy(most_recent_record, {self.cursor_field.eval(self.config): &quot;MetaData/LastUpdatedTime&quot;}), AttributeError: &#x27;str&#x27; object has no attribute &#x27;eval&#x27;
You can follow the progress of this issue on the [GitHub issue page](https://github.com/airbytehq/airbyte/issues/44367).