Error Handling in Google Analytics Data API Connector


The user encountered an error related to an incorrect Property ID (268815183) while running the Google Analytics Data API Connector in Airbyte. The check connection job subprocess finished with exit code 1.


Airbyte OSS: 0.59.1
Version Connector: 2.4.2

During handling of the above exception, another exception occurred:

  File "/airbyte/integration_code/", line 8, in <module>
  File "/airbyte/integration_code/source_google_analytics_data_api/", line 18, in run
    launch(source, sys.argv[1:])
  File "/usr/local/lib/python3.9/site-packages/airbyte_cdk/", line 234, in launch
    for message in
  File "/usr/local/lib/python3.9/site-packages/airbyte_cdk/", line 115, in run
    yield from map(AirbyteEntrypoint.airbyte_message_to_string, self.check(source_spec, config))
  File "/usr/local/lib/python3.9/site-packages/airbyte_cdk/", line 139, in check
    check_result = self.source.check(self.logger, config)
  File "/usr/local/lib/python3.9/site-packages/airbyte_cdk/sources/", line 87, in check
    check_succeeded, error = self.check_connection(logger, config)
  File "/airbyte/integration_code/source_google_analytics_data_api/", line 531, in check_connection
    raise wrong_property_id_error
airbyte_cdk.utils.traced_exception.AirbyteTracedException: Incorrect Property ID: 268815183
2024-05-20 13:55:47 platform > Check connection job subprocess finished with exit code 1
2024-05-20 13:55:47 platform > 
2024-05-20 13:55:47 platform > ----- END CHECK -----```
2024-05-20 13:55:47 platform >



This topic has been created from a Slack thread to give it more visibility.
It will be on Read-Only mode here. [Click here]( if you want 
to access the original thread.

[Join the conversation on Slack](

["airbyte-oss", "version-connector-2.4.2", "google-analytics-data-api", "error-handling", "incorrect-property-id"]