<@U04S8PLJWMT> when using Airbyte OSS via abctl, t...
# ask-ai
s
@kapa.ai when using Airbyte OSS via abctl, trying to fetch data from Freshdesk, it always fails at the 60k records mark with this error message
Failures: [ {
"failureOrigin" : "source",
"failureType" : "system_error",
"internalMessage" : "Schema validation failed:\n- FailureType.system_error is not one of [\"system_error\", \"config_error\", \"transient_error\"] (instance_path='')\n",
"externalMessage" : "Something went wrong in the connector. See the logs for more details.",
"metadata" : {
"attemptNumber" : 0,
"jobId" : 17,
"from_trace_message" : true,
"connector_command" : "read"
},
"stacktrace" : "Traceback (most recent call last):\n  File \"/airbyte/integration_code/main.py\", line 4, in <module>\n    run()\n  File \"/airbyte/integration_code/source_declarative_manifest/run.py\", line 307, in run\n    handle_command(args)\n  File \"/airbyte/integration_code/source_declarative_manifest/run.py\", line 91, in handle_command\n    handle_local_manifest_command(args)\n  File \"/airbyte/integration_code/source_declarative_manifest/run.py\", line 129, in handle_local_manifest_command\n    launch(\n  File \"/usr/local/lib/python3.11/site-packages/airbyte_cdk/entrypoint.py\", line 377, in launch\n    for message in source_entrypoint.run(parsed_args):\n  File \"/usr/local/lib/python3.11/site-packages/airbyte_cdk/entrypoint.py\", line 207, in run\n    yield from map(\n  File \"/usr/local/lib/python3.11/site-packages/airbyte_cdk/entrypoint.py\", line 333, in airbyte_message_to_string\n    serialized_message = AirbyteMessageSerializer.dump(airbyte_message)\n                         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n  File \"/usr/local/lib/python3.11/site-packages/serpyco_rs/_main.py\", line 72, in dump\n    return self._encoder.dump(value)\n           ^^^^^^^^^^^^^^^^^^^^^^^^^\nserpyco_rs.SchemaValidationError: Schema validation failed:\n- FailureType.system_error is not one of [\"system_error\", \"config_error\", \"transient_error\"] (instance_path='')\n\n",
"timestamp" : 1762257224954
}, {
"failureOrigin" : "destination",
"failureType" : "transient_error",
"internalMessage" : "Some streams either received an INCOMPLETE stream status, or did not receive a stream status at all: null.tickets\nio.airbyte.commons.exceptions.TransientErrorException: Some streams were unsuccessful due to a source error. See logs for details.",
"externalMessage" : "Some streams were unsuccessful due to a source error. See logs for details.",
"metadata" : {
"attemptNumber" : 0,
"jobId" : 17,
"from_trace_message" : true,
"connector_command" : "write"
},
"stacktrace" : "io.airbyte.commons.exceptions.TransientErrorException: Some streams were unsuccessful due to a source error. See logs for details.\n\tat io.airbyte.cdk.integrations.destination.async.AsyncStreamConsumer.close(AsyncStreamConsumer.kt:215)\n\tat kotlin.jdk7.AutoCloseableKt.closeFinally(AutoCloseableJVM.kt:48)\n\tat io.airbyte.cdk.integrations.base.IntegrationRunner.runInternal(IntegrationRunner.kt:215)\n\tat io.airbyte.cdk.integrations.base.IntegrationRunner.run(IntegrationRunner.kt:119)\n\tat io.airbyte.cdk.integrations.base.IntegrationRunner.run$default(IntegrationRunner.kt:113)\n\tat io.airbyte.integrations.destination.databricks.DatabricksDestinationKt.main(DatabricksDestination.kt:276)\n",
"timestamp" : 1762257233042
}, {
"failureOrigin" : "source",
"internalMessage" : "Source process exited with non-zero exit code 1",
"externalMessage" : "Something went wrong within the source connector",
"metadata" : {
"attemptNumber" : 0,
"jobId" : 17,
"connector_command" : "read"
},
"stacktrace" : "io.airbyte.workers.internal.exception.SourceException: Source process exited with non-zero exit code 1\n\tat io.airbyte.container.orchestrator.worker.SourceReader.run(ReplicationTask.kt:210)\n\tat io.airbyte.container.orchestrator.worker.SourceReader$run$1.invokeSuspend(ReplicationTask.kt)\n\tat kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(ContinuationImpl.kt:33)\n\tat kotlinx.coroutines.DispatchedTask.run(DispatchedTask.kt:100)\n\tat java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1144)\n\tat java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:642)\n\tat java.base/java.lang.Thread.run(Thread.java:1583)\n",
"timestamp" : 1762257233422
k
The error you are encountering during your Freshdesk sync with Airbyte OSS via abctl—specifically, the schema validation error mentioning:
Copy code
Schema validation failed: - FailureType.system_error is not one of ["system_error", "config_error", "transient_error"] (instance_path='')
indicates a mismatch between the error type being emitted by the connector and what the Airbyte platform expects. The error message suggests that the connector is emitting a value (
FailureType.system_error
) that is not recognized by the schema, even though
"system_error"
is listed as a valid value. This points to a possible serialization or schema definition issue in the connector or the Airbyte platform. ### Key Points from Knowledge Sources - There are known issues with schema validation and error handling in Airbyte connectors, especially when the connector or platform is upgraded and the schema definitions are not aligned. For example, a similar issue was reported with malformed JsonSchema objects after an upgrade, which required updating the connector and Airbyte version to resolve the incompatibility. Upgrading to the latest connector and Airbyte version is recommended in such cases [Upgrade Issue: IllegalArgumentException: malformed JsonSchema object type](https://discuss.airbyte.io/t/1576). - Freshdesk connector users have reported hitting API rate limits and incomplete data syncs, but these typically result in retryable errors or partial data, not schema validation errors. However, if the connector or platform is not up to date, schema mismatches can occur and cause failures at scale [Reaching Limit while fetching conversation](https://github.com/airbytehq/airbyte/issues/33823). - The Freshdesk connector documentation notes that under normal usage, API limits should not cause failures, and issues should be reported if they are not automatically retried [Performance considerations](https://docs.airbyte.com/integrations/sources/freshdesk#performance-considerations). ### Recommended Actions 1. Upgrade Airbyte and the Freshdesk Connector: Ensure you are using the latest version of both Airbyte OSS and the Freshdesk connector. Schema validation issues are often resolved in newer releases where the schema definitions are aligned between the platform and connectors. 2. Check for Custom Modifications: If you have made any custom changes to the connector or its manifest, ensure that the error types and schema definitions match what Airbyte expects. 3. Review Connector Logs: The error message suggests looking at the connector logs for more details. There may be additional context about what triggered the schema validation error. 4. Report the Issue: If upgrading does not resolve the problem, consider opening an issue on the Airbyte GitHub repository with your logs and configuration details, as suggested in the documentation and forum posts. 5. API Rate Limits: If you are consistently failing at the 60k record mark, also check if you are hitting Freshdesk API rate limits. The connector should handle retries, but if not, this could be a contributing factor. If you continue to experience this issue after upgrading, please provide the connector and Airbyte versions you are using, and consider sharing the full logs with the Airbyte team for further diagnosis. Summary: This is most likely a schema or version mismatch issue. Upgrade both Airbyte and the Freshdesk connector to the latest versions, and check your logs for more details. If the problem persists, report it to the Airbyte team with your configuration and logs for further assistance. References: - [Upgrade Issue: IllegalArgumentException: malformed JsonSchema object type](https://discuss.airbyte.io/t/1576) - [Performance considerations](https://docs.airbyte.com/integrations/sources/freshdesk#performance-considerations) - [Reaching Limit while fetching conversation](https://github.com/airbytehq/airbyte/issues/33823)