[source-zoho-crm] No way to ignore missing 'Modified_Time' from source schema #53218
Labels
area/connectors
Connector related issues
autoteam
community
connectors/source/zoho-crm
team/community-devs
Community Engineers working on low-code sources
team/use
type/bug
Something isn't working
Connector Name
source-zohocrm
Connector Version
0.1.3
What step the error happened?
During the sync
Relevant information
Issue
I have set up a connection from the ZohoCRM to a Postgres database. My syncs are failing for two of the streams due to not finding the 'Modified_Time' key, which is automatically set as the cursor.
Possible Cause
It seems like the ZohoCRM API is returning 'Modified_Time' from the settings endpoint for the two failing modules, so the schema expects it to be there, but then doesn't seem to return the field when the records are retrieved from the API. Setting the sync mode of the streams to 'Full refresh | Overwrite' and manually deselecting the 'Modified_Time' fields in theory should work as it would not attempt to sync those fields, but it has the same failure, as the connector code explicitly sets the
cursor_field
to "Modified_Time" and then breaks in theread_records
method when it can't find the key in the records (this happens instream.py
).Possible Solution
Perhaps there is a way to not explicitly rely on the 'Modified_Time' field being present in the records if it is deselected from the schema, or maybe it can just be set to a default value if the key is not found?
zohocrm___postgres_logs_27995180_txt.txt
Relevant log output
Contribute
The text was updated successfully, but these errors were encountered: