Hey there! I'm trying to test a simple EL from mon...
# troubleshooting
u
Hey there! I'm trying to test a simple EL from mongo to a local postgres db.
meltano invoke tap-mongodb > output.json
works properly If i run
meltano run extractor tap-mongodb target-postgres
I get an error: "Error: Block extractor not found" this is my loaders section: loaders: - name: target-postgres variant: meltanolabs pip_url: meltanolabs-target-postgres config: user: sqlmesh database: sqlmesh host: localhost port: 5432 What could be the issue? I can properly connect to my db with dbeaver .
m
You probably want just
meltano run tap-mongodb target-postgres
(with no
extractor
in that command)
🙌 1
u
that works, thanks a lot! If i may ask, what is the extractor, when should i use it? because meltano run alone seemed to run into the same error so maybe its used by default
m
The
meltano run
command (docs) expects a list of plugin names after it, and “extractor” is not a known plugin name to your meltano project. I believe that’s what the error message
"Error: Block extractor not found"
is saying.
😮 1
There are some other meltano CLI commands that use plugin types though (“extractor”, “loader”, etc). The
meltano add
command (docs) needs you to include
extractor
so that it knows which kind of plugin you want to add.
u
I see Matt, thanks a lot. Have a great day!
👍 1