terraform-provider-airbyte
terraform-provider-airbyte copied to clipboard
Google Analytics Data API not working
I was trying to setup a source using the airbyte_source_google_analytics_data_api, but it doesn't work with Airbyte on version 0.50.30.
It returns me the following error:
{
"type": "https://reference.airbyte.com/reference/errors#unprocessable-entity",
"title": "unprocessable-entity",
"status": 422,
"detail": "The provided configuration does not │ fulfill the specification. Errors: json schema validation failed when comparing the data to the json schema. \nErrors: $.property_ids: is missing but it is required "
}
Wich makes me think maybe this endpoint on the API has changed and the resource on terraform hasn't yet.
In the logs I get the JSON sent in the request and it's like this:
{
"configuration": {
"credentials": {
"credentials_json": ""
},
"date_ranges_start_date": "",
"property_id": "",
"sourceType": "google-analytics-data-api",
"window_in_days": 1
},
"name": "GA4 Property export",
"workspaceId": ""
}
As we can see, it has a property_id
key, which is required by the terraform resource, but the API expects a property_ids
, that should probably be a list.