Code Monkey home page Code Monkey logo

Comments (4)

visch avatar visch commented on July 20, 2024

Thank you for the issue!

I"ll get some debugging added and have you re-run give me a few

from tap-googleads.

visch avatar visch commented on July 20, 2024

Released https://github.com/AutoIDM/tap-googleads/releases/tag/v0.0.9 for you , can you give that a shot @ivanblagdan that should give us better logging information if we're lucky!

from tap-googleads.

ivanblagdan avatar ivanblagdan commented on July 20, 2024

Hey @visch !
Thanks for the prompt response. I'm getting back proper feedback from the logs now so i was able to work through a bunch of mistakes i made with the config.

Here's what the error looked like:

2022-04-07T15:28:12.472880Z [info     ] singer_sdk.exceptions.FatalAPIError: 403 Client Error: Forbidden for path: /customers/{client_id}/googleAds:search?pageSize=10000&query= cmd_type=extractor job_id=2022-04-07T152802--tap-googleads--target-redshift name=tap-googleads run_id=5b655e9e-6647-4289-aaaf-f7154b017b2c stdio=stderr
2022-04-07T15:28:12.474477Z [info     ] 	        SELECT customer_client.client_customer cmd_type=extractor job_id=2022-04-07T152802--tap-googleads--target-redshift name=tap-googleads run_id=5b655e9e-6647-4289-aaaf-f7154b017b2c stdio=stderr
2022-04-07T15:28:12.476989Z [info     ]                  , customer_client.level cmd_type=extractor job_id=2022-04-07T152802--tap-googleads--target-redshift name=tap-googleads run_id=5b655e9e-6647-4289-aaaf-f7154b017b2c stdio=stderr
2022-04-07T15:28:12.478403Z [info     ]                  , customer_client.manager cmd_type=extractor job_id=2022-04-07T152802--tap-googleads--target-redshift name=tap-googleads run_id=5b655e9e-6647-4289-aaaf-f7154b017b2c stdio=stderr
2022-04-07T15:28:12.479626Z [info     ]                  , customer_client.descriptive_name cmd_type=extractor job_id=2022-04-07T152802--tap-googleads--target-redshift name=tap-googleads run_id=5b655e9e-6647-4289-aaaf-f7154b017b2c stdio=stderr
2022-04-07T15:28:12.481182Z [info     ]                  , customer_client.currency_code cmd_type=extractor job_id=2022-04-07T152802--tap-googleads--target-redshift name=tap-googleads run_id=5b655e9e-6647-4289-aaaf-f7154b017b2c stdio=stderr
2022-04-07T15:28:12.483280Z [info     ]                  , customer_client.time_zone cmd_type=extractor job_id=2022-04-07T152802--tap-googleads--target-redshift name=tap-googleads run_id=5b655e9e-6647-4289-aaaf-f7154b017b2c stdio=stderr
2022-04-07T15:28:12.485052Z [info     ]                  , customer_client.id cmd_type=extractor job_id=2022-04-07T152802--tap-googleads--target-redshift name=tap-googleads run_id=5b655e9e-6647-4289-aaaf-f7154b017b2c stdio=stderr
2022-04-07T15:28:12.486479Z [info     ]             FROM customer_client cmd_type=extractor job_id=2022-04-07T152802--tap-googleads--target-redshift name=tap-googleads run_id=5b655e9e-6647-4289-aaaf-f7154b017b2c stdio=stderr
2022-04-07T15:28:12.488101Z [info     ]             WHERE customer_client.level <= 1 cmd_type=extractor job_id=2022-04-07T152802--tap-googleads--target-redshift name=tap-googleads run_id=5b655e9e-6647-4289-aaaf-f7154b017b2c stdio=stderr
2022-04-07T15:28:12.489447Z [info     ]             .response.json() {'error': {'code': 403, 'message': 'The caller does not have permission', 'status': 'PERMISSION_DENIED', 'details': [{'@type': 'type.googleapis.com/google.ads.googleads.v8.errors.GoogleAdsFailure', 'errors': [{'errorCode': {'authorizationError': 'USER_PERMISSION_DENIED'}, 'message': "User doesn't have permission to access customer. Note: If you're accessing a client customer, the manager's customer id must be set in the 'login-customer-id' header. See https://developers.google.com/google-ads/api/docs/concepts/call-structure#cid"}], 'requestId': 'CnKvhhhbPCp5gye_ZJVDUw'}]}}: cmd_type=extractor job_id=2022-04-07T152802--tap-googleads--target-redshift name=tap-googleads run_id=5b655e9e-6647-4289-aaaf-f7154b017b2c stdio=stderr

from tap-googleads.

visch avatar visch commented on July 20, 2024

Awesome! Well I think the bug of not explaining enough is fixed, I'll go ahead and close this as thats a much better error message to work with!

from tap-googleads.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.