https://linen.dev logo
#plugins-general
Title
# plugins-general
j

joanna

11/09/2023, 3:18 PM
Hi, I'm Joanna. I am trying to install Meltano for my project, but I'm getting an error: ERROR:
^[[Ajoanna@MiDx00023:~/my-meltano-project$ meltano config tap-rest-api-msdk test
2023-11-09T15:06:58.539354Z [info     ] Environment 'dev' is active
Need help fixing this problem? Visit <http://melta.no/> for troubleshooting steps, or to
join our friendly Slack community.
Plugin configuration is invalid
Catalog discovery failed: command ['/home/joanna/my-meltano-project/.meltano/extractors/tap-rest-api-msdk/venv/bin/tap-rest-api-msdk', '--config', '/home/joanna/my-meltano-project/.meltano/run/tap-rest-api-msdk/tap.f917aa6d-b768-43ac-a243-0fef89ae1a7e.config.json', '--discover'] returned 1 with stderr:
Traceback (most recent call last):
File "/home/joanna/my-meltano-project/.meltano/extractors/tap-rest-api-msdk/venv/bin/tap-rest-api-msdk", line 8, in <module>
sys.exit(TapRestApiMsdk.cli())
File "/home/joanna/my-meltano-project/.meltano/extractors/tap-rest-api-msdk/venv/lib/python3.10/site-packages/click/core.py", line 1157, in __call__
return self.main(*args, **kwargs)
File "/home/joanna/my-meltano-project/.meltano/extractors/tap-rest-api-msdk/venv/lib/python3.10/site-packages/click/core.py", line 1077, in main
with self.make_context(prog_name, args, **extra) as ctx:
File "/home/joanna/my-meltano-project/.meltano/extractors/tap-rest-api-msdk/venv/lib/python3.10/site-packages/click/core.py", line 943, in make_context
self.parse_args(ctx, args)
File "/home/joanna/my-meltano-project/.meltano/extractors/tap-rest-api-msdk/venv/lib/python3.10/site-packages/click/core.py", line 1408, in parse_args
value, args = param.handle_parse_result(ctx, opts, args)
File "/home/joanna/my-meltano-project/.meltano/extractors/tap-rest-api-msdk/venv/lib/python3.10/site-packages/click/core.py", line 2400, in handle_parse_result
value = self.process_value(ctx, value)
File "/home/joanna/my-meltano-project/.meltano/extractors/tap-rest-api-msdk/venv/lib/python3.10/site-packages/click/core.py", line 2362, in process_value
value = self.callback(ctx, self, value)
File "/home/joanna/my-meltano-project/.meltano/extractors/tap-rest-api-msdk/venv/lib/python3.10/site-packages/singer_sdk/tap_base.py", line 528, in cb_discover
tap.run_discovery()
File "/home/joanna/my-meltano-project/.meltano/extractors/tap-rest-api-msdk/venv/lib/python3.10/site-packages/singer_sdk/tap_base.py", line 288, in run_discovery
catalog_text = self.catalog_json_text
File "/home/joanna/my-meltano-project/.meltano/extractors/tap-rest-api-msdk/venv/lib/python3.10/site-packages/singer_sdk/tap_base.py", line 308, in catalog_json_text
return json.dumps(self.catalog_dict, indent=2)
File "/home/joanna/my-meltano-project/.meltano/extractors/tap-rest-api-msdk/venv/lib/python3.10/site-packages/singer_sdk/tap_base.py", line 299, in catalog_dict
return t.cast(dict, self._<http://singer_catalog.to|singer_catalog.to>_dict())
File "/home/joanna/my-meltano-project/.meltano/extractors/tap-rest-api-msdk/venv/lib/python3.10/site-packages/singer_sdk/tap_base.py", line 319, in _singer_catalog
for stream in self.streams.values()
File "/home/joanna/my-meltano-project/.meltano/extractors/tap-rest-api-msdk/venv/lib/python3.10/site-packages/singer_sdk/tap_base.py", line 128, in streams
for stream in self.load_streams():
File "/home/joanna/my-meltano-project/.meltano/extractors/tap-rest-api-msdk/venv/lib/python3.10/site-packages/singer_sdk/tap_base.py", line 352, in load_streams
for stream in self.discover_streams():
File "/home/joanna/my-meltano-project/.meltano/extractors/tap-rest-api-msdk/venv/lib/python3.10/site-packages/tap_rest_api_msdk/tap.py", line 439, in discover_streams
for stream in self.config["streams"]:
KeyError: 'streams'
Here is my yaml file:
version: 1
default_environment: dev
`project_id: 6088714b-cc20-4473-b3c4-4872c9769c8c`…