faros-ai / airbyte-connectors

Airbyte connectors (sources & destinations) + Airbyte CDK for JavaScript/TypeScript
Apache License 2.0
107 stars 62 forks source link

API key is not recognized for airbyte #754

Open Rahulborserb opened 1 year ago

Rahulborserb commented 1 year ago

I created customer io source and also generated app api key from customer io account settings. I am able to access customer io apis from postman using that api key but when I am trying to create a new source using the same api key It is not allowing. Please find attached screenshot. Can you please check and let me know what needs be done on this.

image image (1) image3
tovbinm commented 1 year ago

Can you try invoking the source without Airbyte server using the local CLI? e.g.

./airbyte-local.sh \
   --src 'farosai/airbyte-customer-io-source' \
   --src.app_api_key '<token>' \
   --src.cutoff_days 90 \
   --src-only \
   --check-connection

Also, one of your screenshots contains the API token - please rotate it.

Rahulborserb commented 1 year ago

Hi @tovbinm , App api key is used in bearer token while accessing api as per the customerIO api documentation. My question is same api key we need to provide to airbyte correct? or anything I am doing is wrong?

tovbinm commented 1 year ago

Yes, this is the one.

Rahulborserb commented 1 year ago

Hi @tovbinm , I have tried below in local but nothing is happening. I have also updated the airbyte code but still it is not recognizing the app api key.

image

Can someone verify if it is a known issue and why it is not working for airbyte ui.

Rahulborserb commented 1 year ago

Hi @tovbinm any update on above?