Aadarsh Mahala
10/11/2025, 8:50 PMin OSS i am using "abctl local credentials" command but while using it the client-id and client-secret in calling <http://localhost:8006/api/public/v1/source> i am getting 401 unauthorized error why is that?Aadarsh Mahala
10/11/2025, 8:52 PMJoaquin Courreges
10/11/2025, 9:00 PMAadarsh Mahala
10/11/2025, 9:05 PMAadarsh Mahala
10/11/2025, 9:06 PMAadarsh Mahala
10/11/2025, 9:07 PMJoaquin Courreges
10/11/2025, 9:08 PMAadarsh Mahala
10/11/2025, 9:11 PMAadarsh Mahala
10/11/2025, 9:11 PMYoanna Kirilova
10/13/2025, 5:09 PMSunny Matharu
10/14/2025, 4:31 PMAadarsh Mahala
10/14/2025, 5:00 PMAadarsh Mahala
10/14/2025, 5:02 PMSunny Matharu
10/14/2025, 8:43 PMSUCCESS Retrieving your credentials from 'airbyte-auth-secrets'
INFO Credentials:
Email: [not set]
Password: myAutoPassword123
Client-Id: abc123
Client-Secret: def456
The [not set] might be the issue, however when trying to set it I get the following:
ERROR Unable to update the email address
ERROR unable to udpate the email address: failed to update organization: unexpected status code: 401
1. the email does get updated
2. there's a spelling mistake in the log message 🙃Aadarsh Mahala
10/14/2025, 8:49 PMAadarsh Mahala
10/14/2025, 8:49 PMSunny Matharu
10/14/2025, 9:20 PM<mailto:sunny@xyz.com|sunny@xyz.com> , which is what I used in the Postman call to the token endpointSunny Matharu
10/14/2025, 9:24 PM/source resource. I was hitting the /token endpoint to get an access token as per this instruction - https://docs.airbyte.com/platform/using-airbyte/configuring-api-accessSunny Matharu
10/14/2025, 9:24 PMSunny Matharu
10/14/2025, 9:25 PMSunny Matharu
10/15/2025, 8:03 AMYoanna Kirilova
10/15/2025, 1:46 PMimport base64
import requests
text = "email:password"
encoded_auth = base64.b64encode(text.encode()).decode()
url = f"<http://localhost:8000/api/public/v1/jobs>"
headers = {
"Authorization": f"Basic {encoded_auth}",
"Content-Type": "application/json"
}
payload = {
"jobType": "sync",
"connectionId": connection_id
}
response = requests.post(url, headers=headers, json=payload)Sunny Matharu
10/15/2025, 2:29 PM