Low-Code Connector API Header Issue


The user is facing an issue with a low-code connector where the API requires a header, but the connector is not passing it in. The user provided a snippet of their manifest.yaml file and the debug output showing the headers being sent without the required header.


Hi, I am trying to write a low-code connector and failing at the first hurdle because the API requires a header but the connector does not seem to be passing it in.
My manifest.yaml looks like

    type: RecordSelector
      type: DpathExtractor
      field_path: []
    type: HttpRequester
    url_base: "<https://api.trustcloud.ai/>"
    http_method: "GET"
        x-trustcloud-api-version: 1
      type: BearerAuthenticator
      api_token: "{{ config['api_key'] }}"```
and when I run `python main.py check --config secrets/config.json --debug`
I get
```{"type": "DEBUG", "message": "Making outbound API request", "data": {"headers": "{'User-Agent': 'python-requests/2.31.0', 'Accept-Encoding': 'gzip, deflate', 'Accept': '*/*', 'Connection': 'keep-alive', 'Authorization': 'Bearer REDACTED TOKEN'}", "url": "<https://api.trustcloud.ai/risks>", "request_body": "None"}}```
Which does not contain the request header I am trying to add. I feel I am doing something rather simple here and am missing something in my setup



This topic has been created from a Slack thread to give it more visibility.
It will be on Read-Only mode here. [Click here](https://airbytehq.slack.com/archives/C021JANJ6TY/p1704062052352239) if you want to access the original thread.

[Join the conversation on Slack](https://slack.airbyte.com)

["low-code-connector", "api-header", "manifest.yaml", "http-requester", "bearer-authenticator"]