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:

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'".
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:
