alexa_steiner
06/30/2023, 8:40 PMad_analytics_by_campaign
and ad_analytics_by_creative
streams. I originally thought it was an issue with the credentials that I created, but I recreated them and am still running into the same issue.
The command I'm trying to run is:
meltano run tap-linkedin-ads target-csv
My meltano.yml file for this tap looks like this:
- name: tap-linkedin-ads
variant: meltanolabs
pip_url: git+<https://github.com/MeltanoLabs/tap-linkedin-ads.git>
select:
- ad_analytics_by_campaign.*
- ad_analytics_by_creative.*
I have all of my credentials and configs stored in a separate environment file.
The error message I'm receiving for both of these streams is:
singer_sdk.exceptions.FatalAPIError: 403 Client Error: Forbidden for path: /rest/adAnalytics cmd_type=elb consumer=False name=tap-linkedin-ads producer=True stdio=stderr string_id=tap-linkedin-ads
When looking through all of the information about the error that is printed out it looks like the error is originating at this line.
INFO | singer_sdk.metrics | METRIC: {"type": "timer", "metric": "http_request_duration", "value": 0.417337, "tags": {"stream": "adanalyticsbycreative_third", "endpoint": "adAnalytics", "http_status_code": 403, "status": "failed"}} cmd_type=elb consumer=False name=tap-linkedin-ads producer=True stdio=stderr string_id=tap-linkedin-ads
I am able to get data from other streams. Has anyone else run into this issue or know of a solution that I could try out? Thanks!