You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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
The text was updated successfully, but these errors were encountered:
FredericoCoelhoNunes
changed the title
Default token URL appears to be wrong on class SchemeClientCredentials
Default token_url appears to be wrong on class SchemeClientCredentials
Sep 26, 2024
Description
I was instantiating my connection to the AirbyteAPI in the following way
obtaining an error when performing a request:
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
airbyte-api==0.52.1
(latest available at time of writing)The text was updated successfully, but these errors were encountered: