<@U04S8PLJWMT> when building a new connector withi...
# ask-ai
a
@kapa.ai when building a new connector within the interface i keep getting a An unknown error has occurred.
k
When building a new connector within the Airbyte interface and encountering "An unknown error has occurred," there are several possible causes based on the knowledge sources: 1. Resource Constraints: One common cause for unknown errors (including HTTP 500 or 504 errors) is insufficient resources allocated to your Docker or Kubernetes environment. Users have reported that increasing CPU and memory limits for Docker Desktop (e.g., 8 CPUs and 12 GiB RAM) and then reinstalling Airbyte resolved these errors. Try increasing your resource limits and restarting Airbyte. For abctl users, running
abctl local uninstall
followed by
abctl local install
after adjusting resources has helped resolve similar issues [File connectors HTTP 504 error](https://github.com/airbytehq/airbyte/issues/42135). 2. Version Issues and Workarounds: Some users have experienced persistent errors with certain Airbyte versions. Downgrading to a previous stable version (e.g., Helm chart version 1.6.3) has been reported as a temporary workaround for issues with the connector builder UI in newer releases [403 forbidden error on local deployment](https://github.com/airbytehq/airbyte/issues/61677). 3. Cache or Server Issues: In some cases, restarting the Airbyte server has resolved internal server errors related to connector creation [Internal Server Error: java.io.IOException](https://github.com/airbytehq/airbyte/issues/54058). 4. Manifest or Schema Validation Errors: If you are using the Connector Builder and see errors about invalid connector manifests or schema validation failures, double-check your YAML against the documentation and ensure it matches the required structure [Connector Builder Error: Invalid connector manifest](https://github.com/airbytehq/airbyte/issues/27934). If you continue to see "An unknown error has occurred" after trying these steps, please provide more details (such as error logs or screenshots) to help further diagnose the issue.
a
@kapa.ai maybe you see something wrong in my yaml? version: 6.48.15 type: DeclarativeSource check: type: CheckStream stream_names: - test definitions: streams: test: type: DeclarativeStream name: test retriever: type: SimpleRetriever requester: $ref: "#/definitions/base_requester" path: data-inspector/projects/{{ config['projectid'] }}/audits http_method: GET record_selector: type: RecordSelector extractor: type: DpathExtractor field_path: [] paginator: type: DefaultPaginator page_token_option: type: RequestOption inject_into: request_parameter field_name: page pagination_strategy: type: PageIncrement start_from_page: 1 decoder: type: JsonDecoder schema_loader: type: InlineSchemaLoader schema: $ref: "#/schemas/test" base_requester: type: HttpRequester url_base: https://api.verified-data.com/v2.1/data-inspector/projects/ authenticator: type: BearerAuthenticator api_token: "{{ config[\"api_key\"] }}" streams: - $ref: "#/definitions/streams/test" spec: type: Spec connection_specification: type: object $schema: http://json-schema.org/draft-07/schema# required: - api_key - projectid properties: api_key: type: string title: API Key airbyte_secret: true order: 0 projectid: type: string title: projectid order: 1 additionalProperties: true metadata: autoImportSchema: test: true testedStreams: test: streamHash: null assist: {} schemas: test: type: object $schema: http://json-schema.org/schema# additionalProperties: true properties: current_page: type: - number - "null" data: type: - array - "null" items: type: - object - "null" properties: created_at: type: - string - "null" end_date: type: - string - "null" google_analytics: type: - object - "null" properties: version: type: - string - "null" streams: type: - array - "null" items: type: - object - "null" properties: type: type: - string - "null" id: type: - string - "null" name: type: - string - "null" account_id: type: - string - "null" property_id: type: - string - "null" property_name: type: - string - "null" id: type: - number - "null" project_id: type: - string - "null" risk_score: type: - number - "null" settings: type: - object - "null" properties: noise_thresholds: type: - object - "null" properties: campaign_tracking_tests: type: - number - "null" general_tests: type: - number - "null" google_ads_tests: type: - number - "null" start_date: type: - string - "null" tests: type: - array - "null" items: type: - object - "null" properties: description: type: - string - "null" data_tables: type: - array - "null" items: type: - object - "null" properties: headers: type: - array - "null" items: type: - string - "null" rows: type: - array - "null" items: type: - array - "null" items: type: - string - "null" title: type: - string - "null" id: type: - string - "null" name: type: - string - "null" result: type: - string - "null" section_id: type: - string - "null" user: type: - string - "null" per_page: type: - number - "null" total: type: - number - "null"
k
A message from kapa.ai
Your YAML is mostly well-structured, but there are a few issues and best practices to consider based on the Airbyte documentation and community knowledge: 1. Angle Brackets in URLs and $schema You are using angle brackets (
<...>
) in your
url_base
and
$schema
fields:
Copy code
yaml    url_base: https://api.verified-data.com/v2.1/data-inspector/projects/    $schema: http://json-schema.org/draft-07/schema#
These should not have angle brackets. They should be:
Copy code
yaml    url_base: https://api.verified-data.com/v2.1/data-inspector/projects/    $schema: http://json-schema.org/draft-07/schema#
Angle brackets are not valid YAML or JSON syntax and may cause parsing or validation errors. 2. Field Path in DpathExtractor Your
field_path
is set to an empty list:
Copy code
yaml    field_path: []
This is valid if your API response is a list at the root, but if your records are nested, you need to specify the correct path. Double-check your API response structure. 3. Schema Loader Reference Your schema loader references
"#/schemas/test"
, which is correct if you have a
schemas
section at the root (which you do). 4. General Structure Your YAML follows the general structure described in the documentation:
version
,
definitions
,
streams
,
check
,
spec
, and
schemas
are all present and in the correct order [Configuring the YAML file](https://docs.airbyte.com/platform/connector-development/config-based/low-code-cdk-overview#configuring-the-yaml-file). 5. No Obvious Validation Errors There are no obvious schema or manifest errors based on the provided YAML and the Airbyte schema reference [YAML Reference](https://docs.airbyte.com/platform/connector-development/config-based/understanding-the-yaml-file/reference). Summary of what to fix: - Remove angle brackets from all URLs and schema references. - Double-check the
field_path
in your
DpathExtractor
to ensure it matches your API response. If you still encounter "An unknown error has occurred" after these changes, the issue may be environmental (e.g., resource limits, Airbyte version, or a backend bug), as discussed in previous issues [Connector Builder Error: Invalid connector manifest](https://github.com/airbytehq/airbyte/issues/27934). If you need further help, please provide the exact error message or logs from the Airbyte UI or server.
a
@kapa.ai i noticed this error in the console while creating the connector: trackError() failed because RUM is not initialized. Error: HttpError: errors.http.notFound wx http://34.118.30.200/assets/core-ebigvdmw88.js:49 ru http://34.118.30.200/assets/core-ebigvdmw88.js:49 Rme http://34.118.30.200/assets/core-ebigvdmw88.js:56 Context: Object { i18nKey: "errors.http.notFound", i18nParams: {…}, name: "HttpError", requestId: "r5ffqiqeBFcxs18JVA2Gxt", request: {…}, status: 404, response: "<cannot load response body>", fullStory: undefined } fullStory: undefined i18nKey: "errors.http.notFound" i18nParams: Object { status: 404 } name: "HttpError" request: Object { url: "/api/v1/connector_builder/manifest/resolve", method: "POST", headers: {…}, … } requestId: "r5ffqiqeBFcxs18JVA2Gxt" response: "<cannot load response body>" status: 404
k
A message from kapa.ai
The error message you are seeing in the console:
Copy code
HttpError: errors.http.notFound ... request: { url: "/api/v1/connector_builder/manifest/resolve", method: "POST", ... } status: 404
indicates that the Airbyte UI is trying to POST to the
/api/v1/connector_builder/manifest/resolve
endpoint, but the server is responding with a 404 Not Found error. Based on the knowledge sources, this type of error can occur if: - The backend service responsible for the Connector Builder API is not running or is misconfigured. - There is a version mismatch or a bug in the Airbyte deployment that causes the endpoint to be unavailable. - The deployment is missing required services or the API routes have changed between versions. This specific 404 error for the
/api/v1/connector_builder/manifest/resolve
endpoint has been reported by other users, especially in recent Airbyte versions. A common workaround is to downgrade to a previous stable version (such as 1.6.3), which restores the functionality of the Connector Builder UI. Users have confirmed that downgrading resolves the issue, at least temporarily, while a permanent fix is being worked on by the Airbyte team. However, some users have reported that after downgrading, other features (like editing connections) may result in 500 errors, so this is not a perfect solution [403 forbidden error on local deployment](https://github.com/airbytehq/airbyte/issues/61677). Summary: The 404 error on
/api/v1/connector_builder/manifest/resolve
is likely due to a missing or misconfigured backend service or a version-related bug. Downgrading Airbyte to version 1.6.3 has been reported as a temporary workaround. If you continue to experience issues, you may need to wait for an official fix or check for updates from the Airbyte team. If you need to keep working, try downgrading your Airbyte installation as described in the linked issue. If you are running Airbyte via
abctl
, you can do this with:
Copy code
bash abctl local install --chart-version 1.6.3
If you need more detailed troubleshooting, please provide information about your Airbyte version and deployment method.