salesforce activityfieldhistory is failing as you ...
# ask-ai
k
salesforce activityfieldhistory is failing as you can not use systemmodstamp as a filter, how to fix this issue
k
The knowledge sources do not explicitly mention the "ActivityFieldHistory" stream or provide details about filtering it using SystemModstamp in the Salesforce source connector. However, there are several related issues with using SystemModstamp as a cursor or filter in Salesforce streams, especially in incremental syncs. From the available information, some Salesforce objects or streams may not support filtering by SystemModstamp, which can cause sync failures. In similar cases (e.g., AccountHistory), issues have arisen when the cursor field is not supported or is of an unexpected type, leading to errors during normalization or sync. For example, using a field that is cast to an unsupported type (like SUPER in Redshift) or using a field that is not filterable in Salesforce can cause failures during incremental syncs or normalization steps. In such cases, switching to a different cursor field (such as CreatedDate or LastModifiedDate, if supported by the object) or using a full refresh sync mode instead of incremental may resolve the issue. Additionally, some objects in Salesforce are not queryable or do not support certain filters, which is reflected in Airbyte logs as "stream is not queryable and will be ignored" or similar errors [source-salesforce/destination-bigquery: Normalization failed with SyncMode Incremental Deduped+History](https://github.com/airbytehq/airbyte/issues/28264), [Destination Redshift: Incremental dedupe + history mode fails when cursor field is
SUPER
](https://github.com/airbytehq/airbyte/issues/16582). Recommended steps: 1. Check if the ActivityFieldHistory object in Salesforce supports filtering by SystemModstamp. If not, try using another supported field as the cursor/filter. 2. If no suitable cursor field is available, consider running the sync in full refresh mode instead of incremental. 3. Review Airbyte and Salesforce documentation for any object-specific limitations regarding filters and cursors. If you need a precise solution for ActivityFieldHistory, you may need to consult Salesforce's API documentation or test with different cursor fields in your Airbyte connection settings. If the problem persists, consider opening an issue on the Airbyte GitHub repository with detailed logs for further assistance. I'm sorry, but there's no direct information in the knowledge sources about fixing the SystemModstamp filter issue specifically for ActivityFieldHistory.
k
the cursor field is not modifiable as that is defined by source