airbytehq / airbytehq/airbyte

Initiate Oauth error with GA4 connector

Aperta
#70,909 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub
autoteam community needs-triage team/use
Lingua principale
Python
Stelle
22.1k
Fork
5.3k
Metriche di merge delle PR
Metriche PR in attesa

Descrizione

### Topic

Error create GA4 connector by "initiateOauth" flow to create source

### Relevant information

1. Follow initiate Oauth flow to create GA4 connector sources (https://reference.airbyte.com/reference/initiateoauth)
2. Calling create_connection API to set up connection -> receive 500 error
**Source detail (NOT WORK)**
```
{
"sourceId": "c62493e8-a527-4e1a-9b43-6b39e15292de",
"name": "vu test 12_04_5",
"sourceType": "google-analytics-data-api",
"definitionId": "3cc2eafd-84aa-4dca-93af-322d9dfeec1a",
"workspaceId": "a824c111-b75f-4e30-abb4-1115af0d3fea",
"configuration": {
"credentials": {
"client_id": "******",
"access_token": "**********",
"client_secret": "**********",
"refresh_token": "**********"
},
"property_ids": [
"479263069"
],
"custom_reports_array": [],
"date_ranges_start_date": "2024-12-10"
},
"createdAt": 1765399563
}
```

3. Using test & Save feature in airbyte UI for the same source.
4. Source detail after this step
```
{
"sourceId": "c62493e8-a527-4e1a-9b43-6b39e15292de",
"name": "vu test 12_04_5",
"sourceType": "google-analytics-data-api",
"definitionId": "3cc2eafd-84aa-4dca-93af-322d9dfeec1a",
"workspaceId": "a824c111-b75f-4e30-abb4-1115af0d3fea",
"configuration": {
"credentials": {
"auth_type": "Client",
"client_id": "******",
"access_token": "**********",
"client_secret": "**********",
"refresh_token": "**********"
},
"property_ids": [
"479263069"
],
"custom_reports_array": [],
"date_ranges_start_date": "2024-12-10"
},
"createdAt": 1765399563
}
```
5. Calling create connection now be successful

The issue is that auth_type:client is required for ga4 connector but doesn't get pass to the credential configuration properly during create source via oauth process. It's a blocking issue for my application.

Guida per i contributori

Apri la guida per i contributori

Valutazione

Questa issue non è ancora stata valutata.

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.