hiii Team , requests.exceptions.HTTPError: 401 Cli...
# all-things-deployment
b
hiii Team , requests.exceptions.HTTPError: 401 Client Error: Unauthorized for url: when connecting airflow with datahub i am using below command
Copy code
airflow connections add --conn-type 'datahub_rest' 'datahub_rest_default' --conn-host '<http://domain.com|domain.com>'  --conn-password ''
1
l
This content can't be displayed.
a
@hundreds-photographer-13496 could you take a look here?
h
You need to set up a token to use for authentication in the password field as mentioned here. You can generate personal access token as mentioned here - https://datahubproject.io/docs/authentication/personal-access-tokens/#creating-personal-access-tokens