Based on the information in the knowledge sources, encountering "unknown error occurred" when importing or building a low-code custom connector YAML in Airbyte (version 1.4.1) can be due to several reasons, but the sources do not provide a definitive, version-specific root cause for 1.4.1. However, here are some relevant findings and troubleshooting steps: 1.
YAML/Schema Issues: Errors like "unknown error" often stem from issues in the YAML file—such as schema validation errors, missing required fields, or incorrect structure. Even if the YAML works in one instance, subtle differences in environment or configuration can cause issues in another. Double-check your YAML against the [low-code connector YAML structure](
https://docs.airbyte.com/platform/connector-development/config-based/low-code-cdk-overview#configuring-the-yaml-file) and ensure all required fields are present and correctly formatted. 2.
UI/Builder Bugs: There are reports of the Airbyte UI/Connector Builder returning generic errors (e.g., "Unknown error (http.405...)" or "An unknown error has occurred") immediately after saving or editing a custom connector, even when the YAML is valid. These issues have been observed in various versions and sometimes are not accompanied by clear error logs. In some cases, the error is not due to the YAML itself but a bug or limitation in the UI or backend service handling the builder or custom connectors. For example, see [this issue](
https://github.com/airbytehq/airbyte/issues/35770) and [this one](
https://github.com/airbytehq/airbyte/issues/65568). 3.
Environment Differences: Some users have reported that the same YAML works in a local quickstart deployment but fails in a Kubernetes/Helm deployment, suggesting that environment-specific configuration or networking issues (such as service routing or ingress) can also cause these errors. For example, missing or misconfigured services or endpoints can result in 404/503 errors when the builder tries to validate or resolve the connector YAML. 4.
No Clear Logs: Several reports mention that there are no clear error logs related to the issue, making it difficult to diagnose. This is a known pain point in some Airbyte versions.
Troubleshooting Steps: - Validate your YAML against the official schema and ensure it matches the expected structure. - Try importing a minimal, known-good YAML (such as from the official tutorial) to see if the error persists. - If possible, test the connector locally using the CLI to rule out YAML issues. - Check for any environment-specific issues, such as missing services or misconfigured ingress in Kubernetes. - If you have custom connectors defined in the UI, try deleting them and re-importing, as this has resolved similar issues for some users. - If the issue persists and you see no logs, consider upgrading to a newer version if possible, as some bugs are fixed in later releases.
Summary: The knowledge sources confirm that "unknown error occurred" is a common, but often non-specific, error when working with custom connectors and the builder UI. It can be caused by YAML/schema issues, UI bugs, or environment misconfiguration. There is no specific fix documented for version 1.4.1, but the above steps are recommended for troubleshooting. If none of these resolve the issue, you may need to open a GitHub issue with detailed logs and your YAML for further assistance. References: - [Configuring the YAML file](
https://docs.airbyte.com/platform/connector-development/config-based/low-code-cdk-overview#configuring-the-yaml-file) - [Editing custom connector results in error](
https://github.com/airbytehq/airbyte/issues/35770) - [Cannot create or edit custom connector due to invalid yaml](
https://github.com/airbytehq/airbyte/issues/65568)