:thread: Error with Weaviate as destination
# ask-ai
v
đź§µ Error with Weaviate as destination
k
Based on the knowledge sources provided, there are known issues when configuring Weaviate as a destination in Airbyte, especially when selecting "No External Embedding" or "Default Vectorizer: None." Users have reported errors such as:
Copy code
TypeError: Can't instantiate abstract class NoEmbedder with abstract method embed_documents
This error occurs during the connection check phase and prevents the setup from succeeding. The root cause appears to be that the Airbyte Weaviate destination connector expects an embedding method to be specified, and the "No External Embedding" option is not properly handled in the connector code, leading to an instantiation error for the
NoEmbedder
class. This issue has been reported in multiple GitHub issues and persists in recent connector versions ([0.2.19](https://github.com/airbytehq/airbyte/issues/39596), [0.2.31](https://github.com/airbytehq/airbyte/issues/44167)). If you are trying to use Weaviate's own in-house vectorizer or bring your own embeddings (e.g., from PGVector), this limitation currently blocks the workflow. There is no documented workaround in the knowledge sources, and the issue remains open or unresolved in the referenced GitHub issues. Summary: If you encounter a "Can't instantiate abstract class NoEmbedder" error when configuring Weaviate as a destination with "No External Embedding," it is a known issue with the Airbyte connector. The connector currently does not support this configuration properly, and there is no official fix or workaround documented in the available sources. You may need to monitor the connector's changelog or GitHub issues for updates on this limitation. References: - [GitHub Issue: 'Default Vectorizer' none failure](https://github.com/airbytehq/airbyte/issues/39596) - [GitHub Issue: "No External Embedding"](https://github.com/airbytehq/airbyte/issues/44167)
v
Hi @kapa.ai Getting below error while trying to sync data from mysql to weaviate : 2025-09-03 050931 replication-orchestrator INFO Schema validation was performed to a max of 10 records with errors per stream. 2025-09-03 050931 replication-orchestrator WARN Schema validation errors found for stream homedelivery_db_category. Error messages: [$.modified_on: does not match the date-time pattern must be a valid RFC 3339 date-time, $.top_color_code: null found, string expected, $.parent_id: null found, number expected, $.category_detail_description: null found, string expected, $.large_image: null found, string expected, $.image: null found, string expected, $.created_on: does not match the date-time pattern must be a valid RFC 3339 date-time, $._ab_cdc_deleted_at: null found, string expected, $.top_color_code_v2: null found, string expected, $.shop_front_image: null found, string expected, $.bogo_image: null found, string expected, $._ab_cdc_cursor: null found, number expected, $.description: null found, string expected, $.image_v2: null found, string expected] 2025-09-03 050931 replication-orchestrator INFO readFromSource: done. (source.isFinished:true, fromSource.isClosed:false) 2025-09-03 050931 replication-orchestrator INFO thread status... heartbeat thread: false , replication thread: true 2025-09-03 050935 destination ERROR /usr/local/lib/python3.11/site-packages/weaviate/warnings.py121 DeprecationWarning: Dep005: You are using weaviate-client version 3.25.2. The latest version is 4.16.9. 2025-09-03 050935 destination ERROR Please consider upgrading to the latest version. See https://weaviate.io/developers/weaviate/client-libraries/python for details. 2025-09-03 050935 destination ERROR warnings.warn( 2025-09-03 050935 replication-orchestrator INFO readFromDestination: exception caught 2025-09-03 050935 replication-orchestrator INFO readFromDestination: done. (writeToDestFailed:false, dest.isFinished:false) 2025-09-03 050935 replication-orchestrator WARN Attempted to close a destination which is already closed. 2025-09-03 050935 replication-orchestrator INFO writeToDestination: exception caught 2025-09-03 050935 replication-orchestrator INFO writeToDestination: done. (forDest.isDone:false, isDestRunning:false) 2025-09-03 050936 replication-orchestrator INFO processMessage: done. (fromSource.isDone:true, forDest.isClosed:true) 2025-09-03 050936 replication-orchestrator INFO Closing StateCheckSumCountEventHandler 2025-09-03 050936 replication-orchestrator INFO sync summary: {
k
A message from kapa.ai
The error messages you are seeing during your MySQL to Weaviate sync are related to schema validation issues. Specifically: - Date-time fields (e.g.,
modified_on
,
created_on
) are not matching the required RFC 3339 date-time pattern. This means the values in your MySQL source for these fields are not in the expected format (e.g.,
2023-01-01T12:00:00Z
). - Null values are being found where the schema expects a string or number (e.g.,
top_color_code: null found, string expected
,
parent_id: null found, number expected
). These types of schema validation errors are common when the source data contains nulls or date formats that do not strictly match the destination's schema requirements. Airbyte expects the data to conform exactly to the schema, so if a field is defined as a string or number, it cannot be null unless the schema explicitly allows it. Similarly, date-time fields must be in RFC 3339 format. How to address these issues: 1. Date-time format: Ensure that all date-time fields in your MySQL source are formatted as valid RFC 3339 strings. You may need to update your source data or use a transformation step to convert date formats before syncing. 2. Null values: If your schema expects a string or number but the data can be null, you should update the schema to allow for
null
as a valid type (e.g.,
["string", "null"]
). Alternatively, you can preprocess your data to replace nulls with default values or empty strings/numbers as appropriate. 3. General advice: These schema validation errors are a common cause of sync issues in Airbyte, especially when moving data between systems with different type handling (e.g., MySQL allows more flexible nulls and date formats than Weaviate or other destinations). Adjusting your source data or the Airbyte catalog schema to be more permissive with types can help resolve these errors. This approach is also recommended in other Airbyte troubleshooting discussions for similar issues with schema validation and null handling [see example](https://discuss.airbyte.io/t/1208) and [here](https://discuss.airbyte.io/t/4105). Note: The warning about the Weaviate client version is not critical to the sync but upgrading to the latest client is recommended for compatibility and bug fixes. If you need more specific guidance on how to update your Airbyte catalog or transform your data, please provide details about your current schema configuration. --- If you need further clarification or step-by-step instructions for schema adjustments, let me know!
v
@kapa.ai No the job is failing because of below error : 2025-09-03 050935 destination ERROR /usr/local/lib/python3.11/site-packages/weaviate/warnings.py121 DeprecationWarning: Dep005: You are using weaviate-client version 3.25.2. The latest version is 4.16.9. 2025-09-03 050935 destination ERROR Please consider upgrading to the latest version. See https://weaviate.io/developers/weaviate/client-libraries/python for details. 2025-09-03 050935 destination ERROR warnings.warn(
k
A message from kapa.ai
The error message you provided is a DeprecationWarning indicating that the version of the Weaviate Python client being used (3.25.2) is outdated, and a newer version (4.16.9) is available. This warning itself does not cause the sync job to fail; it is informational and suggests upgrading the client for better compatibility and to avoid deprecated features. Based on the knowledge sources, there is no indication that this warning alone will stop or fail an Airbyte sync job. If your job is failing, the root cause is likely elsewhere—possibly related to the schema validation errors you shared earlier, or another error not shown in the snippet above. Summary: - The DeprecationWarning about the Weaviate client version is not a fatal error and does not cause job failure by itself. - You should look for additional error messages in your logs that indicate a true failure (such as exceptions or stack traces). - Upgrading the Weaviate client is recommended for future compatibility, but it is not required to resolve this specific warning. If you have more detailed error logs or see other error messages, please share them for further troubleshooting. The knowledge sources do not contain information indicating that this warning alone will cause a sync failure.