Hi could you help me with this error ImportError:...
# help-connector-development
m
Hi could you help me with this error ImportError: cannot import name 'Authenticator' from 'airbyte_cdk.sources.streams.http.auth' (/home/felipe/.local/lib/python3.10/site-packages/airbyte_cdk/sources/streams/http/auth/__init__.py)
k
A message from kapa.ai
Hmm, I don't know enough to give you a confident answer yet. However, I can provide you with some information on authentication classes available in Airbyte CDK. Airbyte CDK supports various authentication classes like
TokenAuthenticator
,
Oauth2Authenticator
,
NoAuth
, and others. You can find examples of how to use these authenticators in the following sources: 1. [TokenAuthenticator and Oauth2Authenticator](https://docs.airbyte.com/connector-development/cdk-python/http-streams) 2. [NoAuth](https://docs.airbyte.com/connector-development/tutorials/cdk-tutorial-python-http/declare-schema) 3. [WebflowTokenAuthenticator](https://airbyte.com/tutorials/extract-data-from-the-webflow-api) 4. [BasicHttpAuthenticator](https://discuss.airbyte.io/t/1761) Please review these sources and make sure you are using the correct authentication class for your use case. If you still face issues, feel free to ask for more help.
m
Hey MF! Have you installed the dependencies for your source? You can follow this reference to know how
m
Have you installed the dependencies for your source? Yes
I think i solved. I replaced Authenticator refereces for AbstractHeaderAuthenticator