Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cannot setup Google Analytics as source #42563

Closed
1 task
okumar-SDG opened this issue Jul 26, 2024 · 4 comments
Closed
1 task

Cannot setup Google Analytics as source #42563

okumar-SDG opened this issue Jul 26, 2024 · 4 comments
Labels

Comments

@okumar-SDG
Copy link

okumar-SDG commented Jul 26, 2024

Connector Name

source-googleAnalytics

Connector Version

2.4.13

What step the error happened?

Configuring a new connector

Relevant information

I got the below error while configuring GA as source, I am using local open source for airbyte setup.

`Learn more
Internal message: [Errno 13] Permission denied: 'source_config.json'
Failure type: system_error

Stacktrace
Traceback (most recent call last):
File "/airbyte/integration_code/main.py", line 8, in
run()
File "/airbyte/integration_code/source_google_analytics_data_api/run.py", line 17, in run
MigrateCustomReportsCohortSpec.migrate(sys.argv[1:], source)
File "/airbyte/integration_code/source_google_analytics_data_api/config_migrations.py", line 235, in migrate
cls._modify_and_save(config_path, source, config),
File "/airbyte/integration_code/source_google_analytics_data_api/config_migrations.py", line 208, in _modify_and_save
source.write_config(migrated_config, config_path)
File "/usr/local/lib/python3.10/site-packages/airbyte_cdk/connector.py", line 71, in write_config
with open(config_path, "w") as fh:
PermissionError: [Errno 13] Permission denied: 'source_config.json'`

Any suggestion

Relevant log output

Learn more
Internal message: [Errno 13] Permission denied: 'source_config.json'
Failure type: system_error

Stacktrace
Traceback (most recent call last):
  File "/airbyte/integration_code/main.py", line 8, in <module>
    run()
  File "/airbyte/integration_code/source_google_analytics_data_api/run.py", line 17, in run
    MigrateCustomReportsCohortSpec.migrate(sys.argv[1:], source)
  File "/airbyte/integration_code/source_google_analytics_data_api/config_migrations.py", line 235, in migrate
    cls._modify_and_save(config_path, source, config),
  File "/airbyte/integration_code/source_google_analytics_data_api/config_migrations.py", line 208, in _modify_and_save
    source.write_config(migrated_config, config_path)
  File "/usr/local/lib/python3.10/site-packages/airbyte_cdk/connector.py", line 71, in write_config
    with open(config_path, "w") as fh:
PermissionError: [Errno 13] Permission denied: 'source_config.json'

Contribute

  • Yes, I want to contribute

image

@marcosmarxm
Copy link
Member

marcosmarxm commented Jul 30, 2024

Are you able to create other sources? And what platform version are you using?

@marcosmarxm
Copy link
Member

Duplicate of #39423

@marcosmarxm marcosmarxm marked this as a duplicate of #39423 Aug 5, 2024
@PipeSabate
Copy link

PipeSabate commented Aug 5, 2024

Hi! I'm having the same problem.

I currently have many connections and they work perfectly, but when I set GA4 as source I get the error "Internal message: [Errno 13] Permission denied: '/config/connectionConfiguration.json'
Failure type: system_error"

image

I am able to connect by downgrading the version of connector Google Analytics GA4 to version (2.0.3).

@marcosmarxm
Copy link
Member

@PipeSabate post in #39423

@airbytehq airbytehq locked and limited conversation to collaborators Aug 5, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

4 participants