mathieu_hinderyckx
12/09/2022, 8:24 AM2022-12-09T08:19:52.623064Z [info ] Environment 'staging' is active
2022-12-09T08:19:54.770821Z [warning ] No state was found, complete import.
2022-12-09T08:19:55.123172Z [info ] INFO >>> Running tap-postmark v0.1.0 cmd_type=elb consumer=False name=tap-postmark producer=True stdio=stderr string_id=tap-postmark
2022-12-09T08:19:55.137587Z [info ] INFO Sync cmd_type=elb consumer=False name=tap-postmark producer=True stdio=stderr string_id=tap-postmark
2022-12-09T08:19:55.138077Z [info ] INFO Syncing stream: messages_opens cmd_type=elb consumer=False name=tap-postmark producer=True stdio=stderr string_id=tap-postmark
2022-12-09T08:19:55.138472Z [info ] CRITICAL tap_postmark.postmark.Postmark.messages_opens() argument after ** must be a mapping, not NoneType cmd_type=elb consumer=False name=tap-postmark producer=True stdio=stderr string_id=tap-postmark
2022-12-09T08:19:55.138685Z [info ] Traceback (most recent call last): cmd_type=elb consumer=False name=tap-postmark producer=True stdio=stderr string_id=tap-postmark
2022-12-09T08:19:55.138858Z [info ] File "/Users/mathieu/repositories/otainsight/elt-meltano/otainsight/.meltano/extractors/tap-postmark/venv/bin/tap-postmark", line 8, in <module> cmd_type=elb consumer=False name=tap-postmark producer=True stdio=stderr string_id=tap-postmark
2022-12-09T08:19:55.139029Z [info ] sys.exit(main()) cmd_type=elb consumer=False name=tap-postmark producer=True stdio=stderr string_id=tap-postmark
2022-12-09T08:19:55.139184Z [info ] File "/Users/mathieu/repositories/otainsight/elt-meltano/otainsight/.meltano/extractors/tap-postmark/venv/lib/python3.9/site-packages/singer/utils.py", line 235, in wrapped cmd_type=elb consumer=False name=tap-postmark producer=True stdio=stderr string_id=tap-postmark
2022-12-09T08:19:55.139355Z [info ] return fnc(*args, **kwargs) cmd_type=elb consumer=False name=tap-postmark producer=True stdio=stderr string_id=tap-postmark
2022-12-09T08:19:55.139511Z [info ] File "/Users/mathieu/repositories/otainsight/elt-meltano/otainsight/.meltano/extractors/tap-postmark/venv/lib/python3.9/site-packages/tap_postmark/tap.py", line 49, in main cmd_type=elb consumer=False name=tap-postmark producer=True stdio=stderr string_id=tap-postmark
2022-12-09T08:19:55.139667Z [info ] sync(postmark, args.state, catalog, args.config['start_date']) cmd_type=elb consumer=False name=tap-postmark producer=True stdio=stderr string_id=tap-postmark
2022-12-09T08:19:55.139827Z [info ] File "/Users/mathieu/repositories/otainsight/elt-meltano/otainsight/.meltano/extractors/tap-postmark/venv/lib/python3.9/site-packages/tap_postmark/sync.py", line 67, in sync cmd_type=elb consumer=False name=tap-postmark producer=True stdio=stderr string_id=tap-postmark
2022-12-09T08:19:55.140037Z [info ] for row in tap_data(**stream_state): cmd_type=elb consumer=False name=tap-postmark producer=True stdio=stderr string_id=tap-postmark
2022-12-09T08:19:55.140201Z [info ] TypeError: tap_postmark.postmark.Postmark.messages_opens() argument after ** must be a mapping, not NoneType cmd_type=elb consumer=False name=tap-postmark producer=True stdio=stderr string_id=tap-postmark
2022-12-09T08:19:55.306491Z [error ] Extractor failed
Sven Balnojan
12/09/2022, 8:59 AMmathieu_hinderyckx
12/09/2022, 9:06 AMversion: 1
default_environment: staging
project_id: 54ca0770-16c2-441f-a848-9aee0de6b5bc
environments:
- name: dev
- name: staging
- name: prod
plugins:
extractors:
- name: tap-postmark
variant: yoast
pip_url: git+<https://github.com/Yoast/singer-tap-postmark.git>
config:
start_date: '2022-11-01'
loaders:
- name: target-jsonl
variant: andyh1203
pip_url: target-jsonl
The start date is filled in and the server token is configured in the .env file (via the interactive config wizard from the meltano cli)Sven Balnojan
12/09/2022, 10:08 AMmathieu_hinderyckx
12/09/2022, 10:35 AMSven Balnojan
12/09/2022, 10:43 AMmathieu_hinderyckx
12/09/2022, 12:40 PMSven Balnojan
12/09/2022, 12:59 PMSven Balnojan
12/09/2022, 12:59 PMmathieu_hinderyckx
12/09/2022, 1:00 PMpat_nadolny
12/09/2022, 2:27 PMgit+<https://github.com/pnadolny13/singer-tap-postmark.git>
and running meltano install extractor tap-postmark --clean
.pat_nadolny
12/09/2022, 2:27 PMraise HTTPStatusError(message, request=request, response=self)
httpx.HTTPStatusError: Client error '401 Unauthorized' for url '<https://api.postmarkapp.com/messages/outbound/opens?count=500&fromdate=2022-12-01&todate=2022-12-01&offset=0>'
paulo_rijnberg
12/13/2022, 12:53 PMpat_nadolny
12/13/2022, 3:20 PMpaulo_rijnberg
12/15/2022, 8:31 AMmathieu_hinderyckx
12/27/2022, 12:06 PMmathieu_hinderyckx
01/13/2023, 2:10 PM