Hey I'm having some trouble using the api, it's gi...
# replication-troubleshooting
m
Hey I'm having some trouble using the api, it's giving this error: "This deployment of Airbyte is protected by HTTP Basic Authentication" how am I supposed to provide the authentication in the api call?
"Authorization: Basic username:password" doesn't seem to work
s
when you hit cancel, there’s supposed to be a page showing you how to get to the docs
unless you’re talking about something else?
j
"Authorization: Basic username:password"
you'll neead to base64 encode them
if you havent change the configs, this should do it
Copy code
headers = {
    'Accept': "application/json",
    'Authorization': "Basic YWlyYnl0ZTpwYXNzd29yZA=="
    }
👍 1
s
oh you’re talking querying the API?
but its not supposed to need auth?
m
yea am connecting via api to my open source instance. @Julius Faber it was as you said thank you🙂