Hi <@U04S8PLJWMT>, Is there official source connec...
# replication-ask-ai
y
Hi @kapa.ai, Is there official source connector for me to connect to REST endpoint? I want to connect to apache superset api as a source.
k
There is no official pre-built source connector specifically for Apache Superset in Airbyte's catalog based on the knowledge sources provided. However, there is also no generic "REST endpoint" source connector — the old HTTP Request connector was archived and is no longer maintained. [HTTP Request connector] What you should do instead: Use Connector Builder Airbyte's Connector Builder is the recommended way to connect to any HTTP/REST API (like the Apache Superset API) that doesn't have an existing connector. It is a no-code/low-code tool built into the Airbyte UI that lets you build a source connector without leaving your workspace. [Connector Builder overview] It works well if: • The API uses HTTP requests (REST, GraphQL) • Responses are in JSON or JSONL format How to get started: 1. In the Airbyte web app, click "Builder" in the left-hand sidebar. 2. Configure your connector using the forms (authentication, streams, pagination, etc.). 3. Publish it to your workspace. 4. Configure a Source based on your new connector and use it in a connection. [Connector Builder overview] > ⚠️ Note: The Connector Builder is for source connectors only — you cannot use it to build destination connectors. If the Connector Builder doesn't meet your needs (e.g., very complex logic), you can also use the Python CDK or other Connector Development Kits for more advanced cases. [custom connectors] 👍 0 button 👎 0 button ℹ️ Tip: Mention @kapa.ai in the thread for follow-ups or DM the app for 1-to-1 help.
y
@kapa.ai, trying to build a custom source, with Authenticator: Bearer token authenticator, and bearer token prvoided, getting an error.
Copy code
Config validation error: 'api_key' is a required property
'api_key' is a required property
k
The error
'api_key' is a required property
occurs because the
BearerAuthenticator
requires a field named
api_token
(not
api_key
) in your YAML configuration. This is a common naming confusion. Here is the correct YAML structure for the `BearerAuthenticator`:
Copy code
authenticator:
  type: "BearerAuthenticator"
  api_token: "{{ config['api_token'] }}"
Key points: • The required property is
api_token
, not
api_key
. [BearerAuthenticator reference] • The
BearerAuthenticator
automatically sets the
Authorization
header as
Bearer
token — you don't need to specify the header name manually. [Authentication YAML] • The token value should reference your connector config (e.g.,
{{ config['api_token'] }}
) so the end user can provide it when setting up the source. Make sure your connector's config schema also defines
api_token
as an input field so the value is available at runtime. 👍 0 button 👎 0 button ℹ️ Tip: Mention @kapa.ai in the thread for follow-ups or DM the app for 1-to-1 help.
y
@kapa.ai,
Copy code
requester:
        type: HttpRequester
        http_method: GET
        url: ....
        authenticator:
          type: BearerAuthenticator
          api_token: value_of_token
This is the current yaml and airbyte is throwing an error.
Copy code
Traceback (most recent call last):
  File "/home/airbyte/.pyenv/versions/3.10.18/lib/python3.10/site-packages/airbyte_cdk/connector_builder/test_reader/reader.py", line 413, in _read_stream
    yield from AirbyteEntrypoint(source).read(
  File "/home/airbyte/.pyenv/versions/3.10.18/lib/python3.10/site-packages/airbyte_cdk/entrypoint.py", line 276, in read
    self.validate_connection(source_spec, config)
  File "/home/airbyte/.pyenv/versions/3.10.18/lib/python3.10/site-packages/airbyte_cdk/entrypoint.py", line 321, in validate_connection
    check_config_against_spec_or_exit(connector_config, source_spec)
  File "/home/airbyte/.pyenv/versions/3.10.18/lib/python3.10/site-packages/airbyte_cdk/sources/utils/schema_helpers.py", line 202, in check_config_against_spec_or_exit
    raise AirbyteTracedException(
airbyte_cdk.utils.traced_exception.AirbyteTracedException: 'api_key' is a required property
k
New message text here