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

(Do Not Merge) Source-Google-Ads: GAQL TypeError on Check #55804

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

agarctfi
Copy link
Contributor

What

Debugging this: https://github.com/airbytehq/oncall/issues/7310 via Dev Image.

How

Getting this error on check:
Traceback (most recent call last):
File "/airbyte/integration_code/main.py", line 8, in
run()
File "/airbyte/integration_code/source_google_ads/run.py", line 16, in run
launch(source, sys.argv[1:])
File "/usr/local/lib/python3.10/site-packages/airbyte_cdk/entrypoint.py", line 263, in launch
for message in source_entrypoint.run(parsed_args):
File "/usr/local/lib/python3.10/site-packages/airbyte_cdk/entrypoint.py", line 126, in run
yield from map(AirbyteEntrypoint.airbyte_message_to_string, self.check(source_spec, config))
File "/usr/local/lib/python3.10/site-packages/airbyte_cdk/entrypoint.py", line 155, in check
check_result = self.source.check(self.logger, config)
File "/usr/local/lib/python3.10/site-packages/airbyte_cdk/sources/abstract_source.py", line 81, in check
check_succeeded, error = self.check_connection(logger, config)
File "/airbyte/integration_code/source_google_ads/source.py", line 185, in check_connection
table_name = query["table_name"]
TypeError: 'GAQL' object is not subscriptable

I suspect something is off with their config, but it is hard to check since this is during source creation. Will ask the user to see if they can also provide more details.

Also, not sure if we need to parse the table_name as well here?

I think once we have these debug logs we should be able to know for sure.

Review guide

User Impact

Can this PR be safely reverted and rolled back?

  • YES 💚
  • NO ❌

Sorry, something went wrong.

Copy link

vercel bot commented Mar 17, 2025

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
airbyte-docs ✅ Ready (Inspect) Visit Preview 💬 Add feedback Mar 17, 2025 8:17pm

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants