Skip to content

Metadata Error Appearing in Logs #90

@kayamsmith

Description

@kayamsmith

We currently use the Community SFMC Connector for Stitch. We recently have seen this error show intermittently in our logs and are unsure how to handle it:
Screen Shot 2022-12-08 at 9 51 14 AM

2022-12-07 20:56:11,874Z    tap - CRITICAL 'metadata'
2022-12-07 20:56:11,875Z    tap - Traceback (most recent call last):
2022-12-07 20:56:11,875Z    tap -   File "tap-env/bin/tap-exacttarget", line 33, in <module>
2022-12-07 20:56:11,875Z    tap -     sys.exit(load_entry_point('tap-exacttarget==1.7.1', 'console_scripts', 'tap-exacttarget')())
2022-12-07 20:56:11,875Z    tap -   File "/code/orchestrator/tap-env/lib/python3.5/site-packages/singer/utils.py", line 229, in wrapped
2022-12-07 20:56:11,875Z    tap -     return fnc(*args, **kwargs)
2022-12-07 20:56:11,875Z    tap -   File "/code/orchestrator/tap-env/lib/python3.5/site-packages/tap_exacttarget/__init__.py", line 168, in main
2022-12-07 20:56:11,875Z    tap -     do_discover(args)
2022-12-07 20:56:11,875Z    tap -   File "/code/orchestrator/tap-env/lib/python3.5/site-packages/tap_exacttarget/__init__.py", line 70, in do_discover
2022-12-07 20:56:11,875Z    tap -     catalog += stream_accessor.generate_catalog()
2022-12-07 20:56:11,875Z    tap -   File "/code/orchestrator/tap-env/lib/python3.5/site-packages/tap_exacttarget/endpoints/data_extensions.py", line 229, in generate_catalog
2022-12-07 20:56:11,875Z    tap -     extensions_catalog_with_fields = self._get_fields(extensions_catalog)
2022-12-07 20:56:11,875Z    tap -   File "/code/orchestrator/tap-env/lib/python3.5/site-packages/backoff/_sync.py", line 94, in retry
2022-12-07 20:56:11,875Z    tap -     ret = target(*args, **kwargs)
2022-12-07 20:56:11,875Z    tap -   File "/code/orchestrator/tap-env/lib/python3.5/site-packages/tap_exacttarget/dao.py", line 44, in wrapper
2022-12-07 20:56:11,875Z    tap -     return fnc(*args, **kwargs)
2022-12-07 20:56:11,875Z    tap -   File "/code/orchestrator/tap-env/lib/python3.5/site-packages/tap_exacttarget/endpoints/data_extensions.py", line 187, in _get_fields
2022-12-07 20:56:11,875Z    tap -     to_return[extension_id]['metadata'].append({
2022-12-07 20:56:11,876Z    tap - KeyError: 'metadata'
2022-12-07 20:56:12,344Z   main - INFO Tap exited abnormally with status 1
2022-12-07 20:56:12,771Z   main - INFO [smart-services] event successfully sent to kafka: com.stitchdata.extractionJobFinished [46] at offset None
2022-12-07 20:56:12,776Z   main - INFO No tunnel subprocess to tear down
2022-12-07 20:56:12,776Z   main - INFO Exit status is: Discovery failed with code 1 and error message: "'metadata'".

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions