airbyte icon indicating copy to clipboard operation
airbyte copied to clipboard

[source-apple-search-ads] OAuth attempts to use grant type `client_credentials` while being configured for `refresh_token`

Open olagjo opened this issue 4 months ago • 0 comments

Connector Name

source-apple-search-ads

Connector Version

5.7.5

What step the error happened?

Configuring a new connector

Relevant information

When attempting to set up a new connector with the Apple Search Ads source, the "Test source" step (and subsequent connection setups) fails with the error message OauthAuthenticator needs a refresh_token parameter when grant_type is set to refresh_token.

The failure is internal to Airbyte, before it even attempts to talk to Apple, and it is clear from the refresh_token_endpoint, that we attempt to use "client credentials" as grant type.

Simply manually adding "grant_type: client_credentials" to the manifest resolves the problem

Relevant log output

No response

Contribute

  • [X] Yes, I want to contribute

olagjo avatar Oct 14 '24 09:10 olagjo