Closed
Description
Enviroment
- Airbyte version: 0.30.16-alpha
- OS Version / Instance: GCP COS
- Deployment: Docker
- Source Connector and version: Google Analytics V4
0.1.7
- Destination Connector and version: Snowflake
0.3.14
- Severity: Medium
- Step where error happened: Sync job
Current Behavior
Probably related to PR #6414
We're using a service account to communicate with Google Analytics and we've setup the newly GA v4 connector about 2 weeks ago and when upgrading from GA v4 0.1.6 to 0.1.7 (latest) we cannot sync anymore since the configuration with a service account seems to be missing a required key (see logs)
Expected Behavior
A migration of the configuration should probably have been done if the key wasn't there before.
Logs
2021-10-12 12:32:18 ERROR () LineGobbler(voidCall):65 - Traceback (most recent call last):
2021-10-12 12:32:18 ERROR () LineGobbler(voidCall):65 - File "/airbyte/integration_code/main.py", line 13, in <module>
2021-10-12 12:32:18 ERROR () LineGobbler(voidCall):65 - launch(source, sys.argv[1:])
2021-10-12 12:32:18 ERROR () LineGobbler(voidCall):65 - File "/usr/local/lib/python3.7/site-packages/airbyte_cdk/entrypoint.py", line 105, in launch
2021-10-12 12:32:18 ERROR () LineGobbler(voidCall):65 - for message in source_entrypoint.run(parsed_args):
2021-10-12 12:32:18 ERROR () LineGobbler(voidCall):65 - File "/usr/local/lib/python3.7/site-packages/airbyte_cdk/entrypoint.py", line 76, in run
2021-10-12 12:32:18 ERROR () LineGobbler(voidCall):65 - check_config_against_spec_or_exit(config, source_spec, logger)
2021-10-12 12:32:18 ERROR () LineGobbler(voidCall):65 - File "/usr/local/lib/python3.7/site-packages/airbyte_cdk/sources/utils/schema_helpers.py", line 121, in check_config_against_spec_or_exit
2021-10-12 12:32:18 ERROR () LineGobbler(voidCall):65 - raise Exception("Config validation error: " + validation_error.message) from None
2021-10-12 12:32:18 ERROR () LineGobbler(voidCall):65 - Exception: Config validation error: 'auth_type' is a required property
Steps to Reproduce
- Setup a GA v4 source using connector 0.1.6
- Setup a Snowflake destination
- Do a sync
- Upgrade GA v4 connector to 0.1.7
- Do a sync (should fail)