airbyte-api-python-sdk
airbyte-api-python-sdk copied to clipboard
Default token_url appears to be wrong on class SchemeClientCredentials
Description
I was instantiating my connection to the AirbyteAPI in the following way
s = airbyte_api.AirbyteAPI(
security=models.Security(
client_credentials=models.SchemeClientCredentials(
client_id='...',
client_secret='...'
),
)
)
obtaining an error when performing a request:
Exception: Unexpected status code 404 from token endpoint
The default value for the token_url
parameter on SchemeClientCredentials is /applications/token
.
When I set the parameter token_url="/v1/applications/token"
(note the added /v1
) everything works fine and I am able to perform the request.
Additional Information
- version:
airbyte-api==0.52.1
(latest available at time of writing) - Airbyte Cloud user